Quote:
Originally Posted by DaleDe
SVG is a different kettle of fish than raster images. SVG builds a canvas to place the image on. The canvas defines the screen space used and is a scale factor for the image. The image is defined on the canvas. So in effect the image takes exactly the amount of space referenced to the canvas but the canvas itself is scaled to the screen. Hence height and width are defined to 100% of the screen and the canvas is the viewBox which defines the pixel size that represents 100% and then the image fits on the canvas. The image, even tho it is raster is being displayed on a SVG generated canvas.
Dale
|
Another day, another revelation! Thank you.