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 3 - ColorSync Manager Reference for Applications and Device Drivers / Constants and Data Types
Color Values


XYZ Color Value

Three color component values defined by the CMXYZComponent type definition combine to form a color value specified in the XYZ color space. The color value is defined by the CMXYZColor type definition.

Your application uses the CMXYZColor data structure to specify a color value in the CMColor union to use in low-level color matching, color checking, or color conversion. You also use the CMXYZColor data structure to specify the XYZ white point reference used in the conversion of colors to or from the XYZ color space.

struct CMXYZColor {
   CMXYZComponentX;/* X component of color in XYZ color space */
   CMXYZComponentY;/* Y component of color in XYZ color space */
   CMXYZComponentZ;/* Z component of color in XYZ color space */
};

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996