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 Component Values

Three components combine to express a color value defined by the CMXYZColor type definition in the XYZ color space. Each color component is described by a numeric value defined by theCMXYZComponent type definition. A component value of type CMXYZComponent is expressed as a 16-bit value. This is formatted as an unsigned value with 1 bit of integer portion and 15 bits of fractional portion.

typedef unsigned short CMXYZComponent;/* expresses value in XYZ color space; 1 bit
                                 for integer part, 15 bits for fraction */

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996