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


CMY2RGB

Converts a CMY color to its equivalent RGB color.

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


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996