CMColor
Defines a union that can be used to specify a color value defined by one of the 15 data types supported by the union.
Declaration
typedef union CMColor {
...
} CMColor;Discussion
A color union can contain one of the above fields.
Your application can use a union of type CMColor to specify a color value defined by one of the 15 data types supported by the union. Your application uses an array of color unions to specify a list of colors to match, check, or convert. The array is passed as a parameter to the general purpose color matching, color checking, or color conversion functions. The following functions use a color union:
The function CWMatchColors matches the colors in the color list array to the data color space of the destination profile specified by the color world.
The function CWCheckColors checks the colors in the color list array against the color gamut specified by the color world’s destination profile.
The color conversion functions, described in “Converting Between Color Spaces”, take source and destination array parameters of type
CMColorspecifying lists of colors to convert from one color space to another.
You do not use a union of type CMColor to convert colors expressed in the XYZ color space as values of type CMFixedXYZ because the CMColor union does not support the CMFixedXYZ data type.