XcmsCreateCCC(3X11) AIX (XLIB FUNCTIONS) XcmsCreateCCC(3X11) 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. Rev. Release 5 Page 1 XcmsCreateCCC(3X11) AIX (XLIB FUNCTIONS) XcmsCreateCCC(3X11) _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 Rev. Release 5 Page 2