Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Advanced Color Imaging Reference /
Chapter 2 - Color Picker Manager Reference /
Color Picker Manager Functions / Converting Colors Among Color Models


RGB2CMY

Converts an RGB color to a CMY color.

pascal void RGB2CMY (const RGBColor *rColor, 
CMYColor *cColor);
rColor
A pointer to a Color QuickDraw RGBColor structure specifying the RGB color to be converted.
cColor
A pointer to a CMYColor structure (page 2-34). On output, the converted color.
DISCUSSION
The RGB2CMY function converts the RGB color specified in the rColor parameter to the CMY color pointed to in the cColor parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996