


XcmsCCCOfColormap(3X11)	  XLIB FUNCTIONS  XcmsCCCOfColormap(3X11)


NNAAMMEE
       XcmsCCCOfColormap, XcmsSetCCCOfColormap - query and modify
       CCC of a colormap

SSYYNNTTAAXX
       XcmsCCC XcmsCCCOfColormap(_d_i_s_p_l_a_y, _c_o_l_o_r_m_a_p)
	     Display *_d_i_s_p_l_a_y;
	     Colormap _c_o_l_o_r_m_a_p;

       XcmsCCC XcmsSetCCCOfColormap(_d_i_s_p_l_a_y, _c_o_l_o_r_m_a_p, _c_c_c)
	     Display *_d_i_s_p_l_a_y;
	     Colormap _c_o_l_o_r_m_a_p;
	     XcmsCCC _c_c_c;

AARRGGUUMMEENNTTSS
       _d_i_s_p_l_a_y	 Specifies the connection to the X server.

       _c_c_c	 Specifies the CCC.

       _c_o_l_o_r_m_a_p	 Specifies the colormap.

DDEESSCCRRIIPPTTIIOONN
       The _X_c_m_s_C_C_C_O_f_C_o_l_o_r_m_a_p 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
       _X_c_m_s_S_e_t_C_C_C_O_f_C_o_l_o_r_m_a_p, this CCC is used when the specified
       colormap is used as an argument to color functions.

       The _X_c_m_s_S_e_t_C_C_C_O_f_C_o_l_o_r_m_a_p function changes the CCC associ-
       ated with the specified colormap.  It returns the CCC pre-
       viously associated with the colormap.  If they are not
       used again in the application, CCCs should be freed by
       calling _X_c_m_s_F_r_e_e_C_C_C.  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.

SSEEEE AALLSSOO
       DisplayOfCCC(3X11), XcmsConvertColors(3X11), XcmsCreate-
       CCC(3X11), XcmsDefaultCCC(3X11), XcmsSetWhitePoint(3X11)
       _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e















X Version 11		   Release 6.1				1


