CIECHROMA

typedef struct _CIECHROMA {

    LDECI4 x;

    LDECI4 y;

    LDECI4 Y;

} CIECHROMA;

The CIECHROMA structure is used to describe the chromaticity coordinates, x and y, and the luminance, Y in CIE color space. This structure is used by the COLORINFO structure to define colors for GDIINFO.

Members

x

Specifies the x coordinate in CIE chromaticity space.

y

Specifies the y coordinate in CIE chromaticity space.

Y

Specifies the luminance.

Comments

The LDECI4 type is used to represent real numbers to four decimal points. For example, (LDECI4) 10000 represents real number 1.0000, and (LDECI4) -12345 represents -1.2345.

Both x and y should be in the range zero to one. The Y member should be in the range 0 to 100.

See Also

COLORINFO, DrvEnablePDEV, GDIINFO