CMY Color Structure
TheCMYColorstructure contains cyan, magenta, and yellow colors. Your application can use aCMYColorstructure to specify a color in aPMColorstructure (page 2-15). For example, your application supplies aPMColorstructure in a color picker parameter block (page 2-20) that it passes to thePickColorfunction (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
SmallFractvalue (page 2-33) for the cyan component.magenta- The
SmallFractvalue for the magenta component.yellow- The
SmallFractvalue for the yellow component.