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


Yxy Color Value

A color value expressed in the Yxy color space is composed of capY, x, and y component values. Each color component is expressed as a numeric value within the range of 0 to 65535, which maps to 0 to 1. The color value is defined by the CMYxyColor type definition

struct CMYxyColor {
   unsigned shortcapY;/* 0..65535 maps to 0..1 */
   unsigned shortx;  /* 0..65535 maps to 0..1 */
   unsigned shorty;  /* 0..65535 maps to 0..1 */
};

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996