1XcmsCreateCCC(3)                XLIB FUNCTIONS                XcmsCreateCCC(3)
2
3
4

NAME

6       XcmsCreateCCC, XcmsFreeCCC - creating and destroying CCCs
7

SYNTAX

9       XcmsCCC XcmsCreateCCC(Display *display, int screen_number, Visual *vis‐
10              ual, XcmsColor *client_white_point, XcmsCompressionProc compres‐
11              sion_proc, XPointer compression_client_data, XcmsWhiteAdjustProc
12              white_adjust_proc, XPointer white_adjust_client_data);
13
14       void XcmsFreeCCC(XcmsCCC ccc);
15

ARGUMENTS

17       display   Specifies the connection to the X server.
18
19       ccc       Specifies the CCC.
20
21       client_white_point
22                 Specifies the Client White Point.  If NULL is specified, the
23                 Client White Point is to be assumed to be the same as the
24                 Screen White Point.  Note that the pixel member is ignored.
25
26       compression_client_data
27                 Specifies client data for use by the gamut compression proce‐
28                 dure or NULL.
29
30       compression_proc
31                 Specifies the gamut compression procedure that is to be
32                 applied when a color lies outside the screen's color gamut.
33                 If NULL is specified and a function using this CCC must con‐
34                 vert a color specification to a device-dependent format and
35                 encounters a color that lies outside the screen's color
36                 gamut, that function will return XcmsFailure.
37
38       screen_number
39                 Specifies the appropriate screen number on the host server.
40
41       visual    Specifies the visual type.
42
43       white_adjust_client_data
44                 Specifies client data for use with the white point adjustment
45                 procedure or NULL.
46
47       white_adjust_proc
48                 Specifies the white adjustment procedure that is to be
49                 applied when the Client White Point differs from the Screen
50                 White Point.  NULL indicates that no white point adjustment
51                 is desired.
52

DESCRIPTION

54       The XcmsCreateCCC function creates a CCC for the specified display,
55       screen, and visual.
56
57       The XcmsFreeCCC function frees the memory used for the specified CCC.
58       Note that default CCCs and those currently associated with colormaps
59       are ignored.
60

SEE ALSO

62       DisplayOfCCC(3), XcmsCCCOfColormap(3), XcmsConvertColors(3), XcmsDe‐
63       faultCCC(3), XcmsSetWhitePoint(3)
64       Xlib - C Language X Interface
65
66
67
68X Version 11                     libX11 1.6.5                 XcmsCreateCCC(3)
Impressum