


XcmsCreateCCC(3X11)					  XcmsCreateCCC(3X11)
X11R5									X11R5



NAME
  XcmsCreateCCC, XcmsFreeCCC - creating	and destroying CCCs

SYNTAX
  XcmsCCC XcmsCreateCCC(_d_i_s_p_l_a_y, _s_c_r_e_e_n__n_u_m_b_e_r,	_v_i_s_u_a_l,	_c_l_i_e_n_t__w_h_i_t_e__p_o_i_n_t,
  _c_o_m_p_r_e_s_s_i_o_n__p_r_o_c,
		      _c_o_m_p_r_e_s_s_i_o_n__c_l_i_e_n_t__d_a_t_a, _w_h_i_t_e__a_d_j_u_s_t__p_r_o_c,
  _w_h_i_t_e__a_d_j_u_s_t__c_l_i_e_n_t__d_a_t_a)
	Display	*_d_i_s_p_l_a_y;
	int _s_c_r_e_e_n__n_u_m_b_e_r;
	Visual *_v_i_s_u_a_l;
	XcmsColor *_c_l_i_e_n_t__w_h_i_t_e__p_o_i_n_t;
	XcmsCompressionProc _c_o_m_p_r_e_s_s_i_o_n__p_r_o_c;
	XPointer _c_o_m_p_r_e_s_s_i_o_n__c_l_i_e_n_t__d_a_t_a;
	XcmsWhiteAdjustProc _w_h_i_t_e__a_d_j_u_s_t__p_r_o_c;
	XPointer _w_h_i_t_e__a_d_j_u_s_t__c_l_i_e_n_t__d_a_t_a;

  void XcmsFreeCCC(_c_c_c)
	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_l_i_e_n_t__w_h_i_t_e__p_o_i_n_t
	    Specifies the Client White Point.  If NULL,	the Client White
	    Point is to	be assumed to be the same as the Screen	White Point.
	    Note that the pixel	member is ignored.

  _c_o_m_p_r_e_s_s_i_o_n__c_l_i_e_n_t__d_a_t_a
	    Specifies client data for use by the gamut compression procedure
	    or NULL.

  _c_o_m_p_r_e_s_s_i_o_n__p_r_o_c
	    Specifies the gamut	compression procedure that is to be applied
	    when a color lies outside the screen's color gamut.	 If NULL and
	    when functions using this CCC must convert a color specification
	    to a device-dependent format and encounters	a color	that lies
	    outside the	screen's color gamut, that function will return
	    _X_c_m_s_F_a_i_l_u_r_e.

  _s_c_r_e_e_n__n_u_m_b_e_r
	    Specifies the appropriate screen number on the host	server.

  _v_i_s_u_a_l    Specifies the visual type.

  _w_h_i_t_e__a_d_j_u_s_t__c_l_i_e_n_t__d_a_t_a
	    Specifies client data for use with the white point adjustment
	    procedure or NULL.

  _w_h_i_t_e__a_d_j_u_s_t__p_r_o_c
	    Specifies the white	adjustment procedure that is to	be applied
	    when the Client White Point	differs	from the Screen	White Point.
	    NULL indicates that	no white point adjustment is desired.


DESCRIPTION
  The _X_c_m_s_C_r_e_a_t_e_C_C_C function creates a CCC for the specified display, screen,
  and visual.

  The _X_c_m_s_F_r_e_e_C_C_C function frees the memory used for the specified CCC.	 Note
  that default CCCs and	those currently	associated with	colormaps are
  ignored.

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






















































