This manual page is for Mac OS X version 10.6

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



XcmsCCCOfColormap(3)                           XLIB FUNCTIONS                           XcmsCCCOfColormap(3)



NAME
       XcmsCCCOfColormap, XcmsSetCCCOfColormap - query and modify CCC of a colormap

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

       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 associated with the specified colormap.  Once
       obtained, the CCC attributes can be queried or modified.  Unless the CCC associated with the speci-fied specified
       fied colormap is changed with XcmsSetCCCOfColormap, 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 restric-tion; restriction;
       tion; 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), XcmsSetWhite-Point(3X11) XcmsSetWhitePoint(3X11)
       Point(3X11)
       Xlib - C Language X Interface



X Version 11                                    libX11 1.2.1                            XcmsCCCOfColormap(3)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.