Important: The information in this document is obsolete and should not be used for new development.
RGB2CMY
Converts an RGB color to a CMY color.
pascal void RGB2CMY (const RGBColor *rColor, CMYColor *cColor);
rColor- A pointer to a Color QuickDraw
RGBColorstructure specifying the RGB color to be converted.cColor- A pointer to a
CMYColorstructure (page 2-34). On output, the converted color.DISCUSSION
TheRGB2CMYfunction converts the RGB color specified in therColorparameter to the CMY color pointed to in thecColorparameter.