1. NAME▲
XcmsSetWhitePoint, XcmsSetWhiteAdjustProc - modifying CCC attributes
2. SYNTAX ▲
Status XcmsSetWhitePoint(XcmsCCC ccc, XcmsColor *color); XcmsWhiteAdjustProc XcmsSetWhiteAdjustProc(XcmsCCC ccc, XcmsWhiteAdjustProc white_adjust_proc, XPointer client_data);
3. ARGUMENTS ▲
ccc 1i Specifies the CCC.
client_data 1i Specifies client data for \*(Cd or NULL.
color 1i Specifies the \*(Co.
white_adjust_proc 1i Specifies the white point adjustment procedure.
4. DESCRIPTION ▲
The .ZN 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 .ZN XcmsCIEXYZFormat , .ZN XcmsCIEuvYFormat , .ZN XcmsCIExyYFormat , or .ZN XcmsUndefinedFormat . If the color argument is NULL, this function sets the format component of the Client White Point specification to .ZN 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.
The .ZN XcmsSetWhiteAdjustProc function first sets the white point adjustment procedure and client data in the specified CCC with the newly specified procedure and client data and then returns the old procedure.
5. SEE ALSO ▲
DisplayOfCCC(3), XcmsCCCOfColormap(3), XcmsConvertColors(3), XcmsCreateCCC(3), XcmsDefaultCCC(3)
\*(xL