[whatwg] SVG extensions to <canvas>

Timothy Hatcher timothy at apple.com
Sat Oct 27 09:19:40 PDT 2007


Raster images have an intrinsic size, the number of pixels. When  
scaling SVG, you scale based on the explicit size the document states.  
So 50% is half of the explicit document size. They wouldn't be called  
scalable vector graphics if you couldn't scale them externally. ;)

On Oct 26, 2007, at 9:41 PM, Devi Web Development wrote:

> While you could say a raster image has an intrinsic size (I have no
> idea what the formal definition of this phrase is), SVGs *explicitly*
> state their size. To change the size, you would actually be violating
> the content of the image file itself. I think the best way to
> understand this would be to look over what an SVG is. The vectors are
> given a scale within the file, not externally.

— Timothy Hatcher


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20071027/c2feeb9b/attachment-0001.htm>


More information about the whatwg mailing list