Carbon


CMYColor

Header: ColorPicker.h

struct CMYColor {
    SmallFract cyan; 
    SmallFract magenta; 
    SmallFract yellow;
};

Field descriptions

cyan

The SmallFract value for the cyan component.

magenta

The SmallFract value for the magenta component.

yellow

The SmallFract value for the yellow component.

The CMYColor structure contains cyan, magenta, and yellow colors. Your application can use a CMYColor structure to specify a color in a PMColor structure. For example, your application supplies a PMColor structure in a ColorPickerInfo block that it passes to the PickColor function. Note that CMY and RGB colors are complementary.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)