View Single Post
Old 02-03-2015, 12:42 PM   #10
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
Quote:
Originally Posted by DaleDe View Post
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.
Notjohn is offline   Reply With Quote