Formatting Conventions


Throughout the text, the examples strive to use text formatting to enhance the presentation. This section describes some of the formatting used in the text.

The text presents the names of routines, constants, or other code element in a particular font. For example, CGContextRestoreGState is the name of one of the routines in the Quartz 2D drawing API. This same font is also used for any source code listings that appear in the text.

As you progress through the text, you will find sections with special icons in the margins. These sections represent supplemental information related to the topic at hand but may not be essential to your understanding. Table 1.1 describes what kind of supplemental information each icon represents.

Table 1.1. Icons in the Text

Icon

Name

Description

Tip

This symbol appears next to descriptions of interesting information related to the topic at hand but which may not be crucial to understanding the main ideas of the text.

Caution

This icon calls out warnings related to the topic of discussion. Caution icons can help you avoid pitfalls and errors in your code or in the operating system itself.

Performance

The performance icon appears next to information that may help you extract the maximum performance from Quartz 2D or Core Image within your own code.

QuickDraw

This icon identifies information that may help developers with legacy applications move those applications from QuickDraw to Quartz 2D.


Apple provides excellent documentation on Quartz 2D and Core Image. You are encouraged to explore that documentation to help deepen your understanding of Quartz 2D. To that end we occasionally provide URLs that hyperlink to relevant Quartz 2D documentation.




Quartz 2D Graphics for Mac OS X Developers
Quartz 2D Graphics for Mac OS X Developers
ISBN: 0321336631
EAN: 2147483647
Year: 2006
Pages: 100

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net