1XcmsSetWhitePoint(3) XLIB FUNCTIONS XcmsSetWhitePoint(3)
2
3
4
6 XcmsSetWhitePoint, XcmsSetWhiteAdjustProc - modifying CCC attributes
7
9 Status XcmsSetWhitePoint(XcmsCCC ccc, XcmsColor *color);
10
11 XcmsWhiteAdjustProc XcmsSetWhiteAdjustProc(XcmsCCC ccc, XcmsWhiteAd‐
12 justProc white_adjust_proc, XPointer client_data);
13
15 ccc Specifies the CCC.
16
17 client_data
18 Specifies client data for the white point adjustment proce‐
19 dure or NULL.
20
21 color Specifies the new Client White Point.
22
23 white_adjust_proc
24 Specifies the white point adjustment procedure.
25
27 The XcmsSetWhitePoint function changes the Client White Point in the
28 specified CCC. Note that the pixel member is ignored and that the
29 color specification is left unchanged upon return. The format for the
30 new white point must be XcmsCIEXYZFormat, XcmsCIEuvYFormat, XcmsCIExyY‐
31 Format, or XcmsUndefinedFormat. If the color argument is NULL, this
32 function sets the format component of the Client White Point specifica‐
33 tion to XcmsUndefinedFormat, indicating that the Client White Point is
34 assumed to be the same as the Screen White Point.
35
36 This function returns nonzero status if the format for the new white
37 point is valid; otherwise, it returns zero.
38
39
40 The XcmsSetWhiteAdjustProc function first sets the white point adjust‐
41 ment procedure and client data in the specified CCC with the newly
42 specified procedure and client data and then returns the old procedure.
43
45 DisplayOfCCC(3), XcmsCCCOfColormap(3), XcmsConvertColors(3), XcmsCre‐
46 ateCCC(3), XcmsDefaultCCC(3)
47 Xlib - C Language X Interface
48
49
50
51X Version 11 libX11 1.3.4 XcmsSetWhitePoint(3)