XLIB FUNCTIONS XcmsCCCOfColormap(3x11)
NAME
XcmsCCCOfColormap, XcmsSetCCCOfColormap - query and modify
CCC of a colormap SYNTAXcc [ flag... ] file... -lX11 [ library... ]
XcmsCCC XcmsCCCOfColormap(Display *display, Colormap color-
map);XcmsCCC XcmsSetCCCOfColormap(Display *display, Colormap
colormap, XcmsCCC ccc); ARGUMENTS display Specifies the connection to the X server. ccc Specifies the CCC. colormap Specifies the colormap.DESCRIPTION
The XcmsCCCOfColormap function returns the CCC associatedwith the specified colormap. Once obtained, the CCC attri-
butes can be queried or modified. Unless the CCC associated with the specified colormap is changed withXcmsSetCCCOfColormap, this CCC is used when the specified
colormap is used as an argument to color functions.The XcmsSetCCCOfColormap function changes the CCC associated
with the specified colormap. It returns the CCC previously associated with the colormap. If they are not used again in the application, CCCs should be freed by calling XcmsFreeCCC. Several colormaps may share the same CCC without restriction; this includes the CCCs generated by Xlib with each colormap. Xlib, however, creates a new CCC with each new colormap.SEE ALSO
DisplayOfCCC(3x11), XcmsConvertColors(3x11), XcmsCreateCCC(3x11), XcmsDefaultCCC(3x11), XcmsSetWhitePoint(3x11)Xlib - C Language X Interface
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes: X Version 11 Last change: libX11 1.3.5 1 XLIB FUNCTIONS XcmsCCCOfColormap(3x11)____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | x11/library/libx11 ||_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | See XInitThreads(3X11) |
|_____________________________|_____________________________|
X Version 11 Last change: libX11 1.3.5 2