CMConvertFixedXYZToXYZConverts colors specified in XYZ color space whose components are expressed as Fixed XYZ 32-bit signed values of type
CMFixedXYZColorto equivalent colors expressed as XYZ 16-bit unsigned values of type
pascal CMError CMConvertFixedXYZToXYZ ( const CMFixedXYZColor *src, CMXYZColor *dst, unsigned long count);
- A pointer to an array containing the list of Fixed XYZ colors to convert to XYZ colors.
- A pointer to an array containing the list of colors resulting from the conversion specified as XYZ colors.
- 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.
DISCUSSIONThe CMConvertFixedXYZToXYZ function converts one or more colors defined in the Fixed XYZ color space to equivalent colors defined in the XYZ color space. The XYZ color space is device independent.
If your application does not require that you preserve the source color list, you can pass the pointer to the same color list array as the
dstparameters and allow the CMConvertFixedXYZToXYZ function to overwrite the source colors with the resulting converted color specifications.
SEE ALSOFor information about the color conversion routines in previous versions of ColorSync, see "Converting Between Color Spaces" (page 3-143).