XcmsSetWhitePoint

Syntax

Status XcmsSetWhitePoint(ccc, color)
      XcmsCCC ccc;
      XcmsColor *color;

Arguments

ccc Specifies the CCC.
color Specifies the new Client White Point.

Description

The XcmsSetWhitePoint() function changes the Client White Point in the specified CCC. Note that the pixel member is ignored and that the color specification is left unchanged upon return. The format for the new white point must be XcmsCIEXYZFormat, XcmsCIEuvYFormat, XcmsCIExyYFormat, or XcmsUndefinedFormat. If the color argument is NULL, this function sets the format component of the Client White Point specification to XcmsUndefinedFormat, indicating that the Client White Point is assumed to be the same as the Screen White Point.

This function returns nonzero status if the format for the new white point is valid; otherwise, it returns zero.

See also

DisplayOfCCC(), XcmsCCCOfColormap(), XcmsConvertColors(), XcmsCreateCCC(), XcmsDefaultCCC(), "Modifying Attributes of a Color Conversion Context".
Christophe Tronche, [email protected]