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

NAME

6       XcmsCCCOfColormap, XcmsSetCCCOfColormap - query and modify CCC of a
7       colormap
8

SYNTAX

10       XcmsCCC XcmsCCCOfColormap(Display *display, Colormap colormap);
11
12       XcmsCCC XcmsSetCCCOfColormap(Display *display, Colormap colormap, Xcm‐
13              sCCC ccc);
14

ARGUMENTS

16       display   Specifies the connection to the X server.
17
18       ccc       Specifies the CCC.
19
20       colormap  Specifies the colormap.
21

DESCRIPTION

23       The XcmsCCCOfColormap function returns the CCC associated with the
24       specified colormap.  Once obtained, the CCC attributes can be queried
25       or modified.  Unless the CCC associated with the specified colormap is
26       changed with XcmsSetCCCOfColormap, this CCC is used when the specified
27       colormap is used as an argument to color functions.
28
29       The XcmsSetCCCOfColormap function changes the CCC associated with the
30       specified colormap.  It returns the CCC previously associated with the
31       colormap.  If they are not used again in the application, CCCs should
32       be freed by calling XcmsFreeCCC.  Several colormaps may share the same
33       CCC without restriction; this includes the CCCs generated by Xlib with
34       each colormap.  Xlib, however, creates a new CCC with each new col‐
35       ormap.
36

SEE ALSO

38       DisplayOfCCC(3), XcmsConvertColors(3), XcmsCreateCCC(3), XcmsDefault‐
39       CCC(3), XcmsSetWhitePoint(3)
40       Xlib - C Language X Interface
41
42
43
44X Version 11                     libX11 1.3.4             XcmsCCCOfColormap(3)
Impressum