XcmsCCCOfColormap

Syntax

      XcmsCCC XcmsCCCOfColormap(display, colormap)
      Display *display;
      Colormap colormap;

Arguments

display Specifies the connection to the X server.
colormap Specifies the colormap.

Description

The XcmsCCCOfColormap() function returns the CCC associated with the specified colormap. Once obtained, the CCC attributes can be queried or modified. Unless the CCC associated with the specified colormap is changed with XcmsSetCCCOfColormap(). this CCC is used when the specified colormap is used as an argument to color functions.

See also

DisplayOfCCC(), XcmsConvertColors(), XcmsCreateCCC(), XcmsDefaultCCC(), XcmsSetCCCOfColormap(), XcmsSetWhitePoint(), "Getting and Setting the Color Conversion Context of a Colormap".
Christophe Tronche, ch@tronche.com