HTML and CSS Reference
In-Depth Information
Diving into Drawing Properties with a Large Image
In this section, we will examine some methods used to draw a large image on the canvas. The
imagewearegoingtouseisfromarecentvacationtoCentralCalifornia.Itisalarge .jpg file,
measuring 3648×2736. Obviously, this is far too large to view in a single canvas, so we will
build some examples that will allow us to use and manipulate the drawing properties for an
image larger than the size of the canvas.
Figure 4-11 is a scaled-down version of this image.
Figure 4-11. A scaled-down version of the image we will zoom and pan
Search WWH ::




Custom Search