Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Quartz 2D is the
primary two-dimensional graphics rendering API for Mac OS X, part of the
Core Graphics framework. Quartz 2D expands the drawing functions
associated with QuickDraw. The most notable difference is that Quartz 2D
eliminates output device and resolution specificity. The drawing model
utilized by Quartz 2D is based on PDF specification 1.4. Drawing takes
place using a Cartesian coordinate system, where text, vectors, or
bitmap images are placed on a grid. However, drawing output is not sent
directly to the output device. Quartz 2D uses graphics contexts,
environments in which drawing takes place. Each graphics context defines
how the drawing should be presented: in a window, sent to a printer, an
OpenGL layer, or off-screen.