XcmsSetWhitePoint(3X11) SDK X11 R4.11MU05 XcmsSetWhitePoint(3X11)
NAME
XcmsSetWhitePoint, XcmsSetWhiteAdjustProc - modifying CCC attributes
SYNTAX
Status XcmsSetWhitePoint(ccc, color)
XcmsCCC ccc;
XcmsColor *color;
XcmsWhiteAdjustProc XcmsSetWhiteAdjustProc(ccc, whiteadjustproc,
clientdata)
XcmsCCC ccc;
XcmsWhiteAdjustProc whiteadjustproc;
XPointer clientdata;
ARGUMENTS
ccc Specifies the CCC.
clientdata
Specifies client data for the white point adjustment
procedure or NULL.
color Specifies the new Client White Point.
whiteadjustproc
Specifies 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,
XcmsCIExyYFormat, or XcmsUndefinedFormat. If color 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.
The 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.
SEE ALSO
DisplayOfCCC(3X11), XcmsCCCofColormap(3X11), XcmsConvertColors(3X11),
XcmsCreateCCC(3X11), XcmsDefaultCCC(3X11)
Xlib - C Language X Interface
Licensed material--property of copyright holder(s)