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 /
Constants and Data Types


CMY Color Structure

The CMYColor structure contains cyan, magenta, and yellow colors. Your application can use a CMYColor structure to specify a color in a PMColor structure (page 2-15). For example, your application supplies a PMColor structure in a color picker parameter block (page 2-20) that it passes to the PickColor function (page 2-35). CMY and RGB colors are complementary.

struct CMYColor {
   SmallFract cyan;  /* cyan component */
   SmallFract magenta;/* magenta component */
   SmallFract yellow;/* yellow component */
};
typedef struct CMYColor CMYColor;
Field Description
cyan
The SmallFract value (page 2-33) for the cyan component.
magenta
The SmallFract value for the magenta component.
yellow
The SmallFract value for the yellow component.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996