XcmsSetWhitePoint(3X11) XLIB FUNCTIONS XcmsSetWhitePoint(3X11)
XcmsSetWhitePoint, XcmsSetWhiteAdjustProc - modifying CCC
attributes
Status XcmsSetWhitePoint(XcmsCCC ccc, XcmsColor *color);
XcmsWhiteAdjustProc XcmsSetWhiteAdjustProc(XcmsCCC ccc,
XcmsWhiteAdjustProc white_adjust_proc, XPointer
client_data);
ccc Specifies the CCC.
client_data
Specifies client data for the white point adjust-
ment procedure or NULL.
color Specifies the new Client White Point.
white_adjust_proc
Specifies the white point adjustment procedure.
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.
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.
DisplayOfCCC(3X11), XcmsCCCOfColormap(3X11),
XcmsConvertColors(3X11), XcmsCreateCCC(3X11),
XcmsDefaultCCC(3X11)
Xlib - C Language X Interface
XFree86 Version 4.5.0 1
Generated on 2012-02-20 02:47:02 by $MirOS: src/scripts/roff2htm,v 1.70 2011/12/03 18:21:12 tg Exp $
These manual pages and other documentation are copyrighted by their respective writers;
their source is available at our CVSweb,
AnonCVS, and other mirrors. The rest is Copyright © 2002‒2011 The MirOS Project, Germany.
This product includes material
provided by Thorsten Glaser.
This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.