Important: The information in this document is obsolete and should not be used for new development.
CMConvertXYZToFixedXYZ
Converts colors specified in the XYZ color space whose components are expressed as XYZ 16-bit unsigned values of typeCMXYZColor
to equivalent colors expressed as 32-bit signed values of typeCMFixedXYZColor
.
pascal CMError CMConvertXYZToFixedXYZ ( const CMXYZColor *src, CMFixedXYZColor *dst, unsigned long count);
src
- A pointer to an array containing the list of XYZ colors to convert to Fixed XYZ colors.
dst
- A pointer to an array containing the list of colors resulting from the conversion in which the colors are specified as Fixed XYZ colors.
count
- The number of colors to convert.
- function result
- A result code of type CMError. See "Result Codes" (page 3-174) for a list of ColorSync-specific result codes.
DISCUSSION
The CMConvertXYZToFixedXYZ function converts one or more colors whose components are defined as XYZ colors to equivalent colors whose components are defined as Fixed XYZ colors. Fixed XYZ colors allow for 32-bit precision. The XYZ color space is device independent.SEE ALSO
For information about the color conversion routines in previous versions of ColorSync, see "Converting Between Color Spaces" (page 3-143).