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
andkRGB_White
are also defined and equalkRGB_Gray15
andkRGB_Gray0
, respectively.The constant
kRGB_16GrayIncrement
equals the difference between two gray tones. For example, the following expression evaluates totrue
:
kRGB_Gray3 = (3 *
kRGB_16GrayIncrement)
+ kRGB_Black;
![]()
![]()
![]()
![]()
© Apple Computer, Inc.
26 APR 1997Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help