XcmsSetWhitePoint(3X11)XcmsSetWhitePoint(3X11)NAME
XcmsSetWhitePoint, XcmsSetWhiteAdjustProc - modifying CCC attributes
SYNOPSIS
Status XcmsSetWhitePoint(ccc, color)
XcmsCCC ccc;
XcmsColor *color;
XcmsWhiteAdjustProc XcmsSetWhiteAdjustProc(ccc, white_adjust_proc,
client_data)
XcmsCCC ccc;
XcmsWhiteAdjustProc white_adjust_proc;
XPointer client_data;
ARGUMENTS
Specifies the CCC. Specifies client data for the white point adjust‐
ment procedure or NULL. Specifies the new Client White Point. Speci‐
fies the white point adjustment procedure.
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, XcmsCIExyYFor‐
mat, or XcmsUndefinedFormat. If the color argument is NULL, this func‐
tion 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.
The XcmsSetWhiteAdjustProc function first sets the white point adjust‐
ment procedure and client data in the specified CCC with the newly
specified procedure and client data and then returns the old procedure.
SEE ALSODisplayOfCCC(3X11), XcmsCCCOfColormap(3X11), XcmsConvertColors(3X11),
XcmsCreateCCC(3X11), XcmsDefaultCCC(3X11)
Xlib -- C Language X Interface
XcmsSetWhitePoint(3X11)