xref: /386bsd/usr/X386/man/man3/XcmsCCCofColormap.3x (revision a2142627)
.\\$1D \\$2 \\$1
.ps \\n(PS
.if \\n(VS>=40 .vs \\n(VSu
.if \\n(VS<=39 .vs \\n(VSp
..

0 .nr BD 0

..

.KS .TA .5i 3i

..
.KE

.. .. .KS

.D

choose appropriate monospace font
the imagen conditional, 480,
may be changed to L if LB is too
heavy for your eyes...

.. .R .. .. .. .TB

\\*(NO .R .. . \" Note End -- doug kraft 3/85

0 .. .ny0

XcmsCCCofColormap 3X11 "Release 5" "X Version 11" "XLIB FUNCTIONS"
NAME
XcmsCCCofColormap, XcmsSetCCCOfColormap - query and modify CCC of a colormap
SYNTAX
XcmsCCC XcmsCCCofColormap\^(\^display, colormap\^)

Display *display\^;

Colormap colormap\^;

XcmsCCC XcmsSetCCCOfColormap\^(\^display, colormap\^, ccc\^)

Display *display\^;

Colormap colormap\^;

XcmsCCC ccc\^;

ARGUMENTS
$Header: display.a,v 1.1 88/02/26 10:26:29 mento Exp $
display 1i
Specifies the connection to the X server.
ccc 1i
Specifies the CCC. $Header: cmap.a,v 1.2 88/05/09 06:39:13 mento Exp $
colormap 1i
Specifies the colormap.
DESCRIPTION
The .ZN 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 .ZN XcmsSetCCCOfColormap , this CCC is used when the specified colormap is used as an argument to color functions.

The .ZN XcmsSetCCCOfColormap function changes the CCC associated with the specified colormap. It returns the CCC previously associated to the colormap. If they are not used again in the application, CCCs should be freed by calling .ZN XcmsFreeCCC .

"SEE ALSO"
DisplayOfCCC(3X11), XcmsConvertColors(3X11), XcmsCreateCCC(3X11), XcmsDefaultCCC(3X11), XcmsSetWhitePoint(3X11)

\*(xL