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


Converts a CMY color to its equivalent RGB color.

pascal void CMY2RGB (const CMYColor *cColor, 
RGBColor *rColor);
A pointer to a CMYColor structure (page 2-34) specifying the CMY color to be converted.
A pointer to a Color QuickDraw RGBColor structure. On output, the converted color.
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