


XcmsCCCofColormap(3X11)				      XcmsCCCofColormap(3X11)
X11R5									X11R5



NAME
  XcmsCCCofColormap, XcmsSetCCCOfColormap - query and modify CCC of a color-
  map

SYNTAX
  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;

ARGUMENTS

  _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.

DESCRIPTION
  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 speci-
  fied colormap.  Once obtained, the CCC attributes can	be queried or modi-
  fied.	 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 associated with the
  specified colormap.  It returns the CCC previously associated	to the color-
  map.	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.

SEE ALSO
  DisplayOfCCC(3X11), XcmsConvertColors(3X11), XcmsCreateCCC(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




















