Title Banner

Previous Book Contents Book Index Next

Newton Developer Technical Information: Newton Programmer's Guide: 2.1 OS Addendum /
Chapter 6 - Drawing and Graphics 2.1 / Drawing and Graphics Reference
Constants


Gray Tone Constants

The following gray tone constants are defined:

kRGB_Gray0, kRGB_Gray1, ... , kRGB_Gray15

These values define the 16 supported gray tones shown in Figure 6-5. The constants kRGB_Black and kRGB_White are also defined and equal kRGB_Gray15 and kRGB_Gray0, respectively.

The constant kRGB_16GrayIncrement equals the difference between two gray tones. For example, the following expression evaluates to true:

kRGB_Gray3 = (3 * kRGB_16GrayIncrement) + kRGB_Black;

Previous Book Contents Book Index Next

© Apple Computer, Inc.
26 APR 1997



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help