home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / man / cat3 / xcmssetwhitepoint.0 < prev    next >
Encoding:
Text File  |  1996-10-17  |  2.5 KB  |  67 lines

  1.  
  2.  
  3.  
  4. XcmsSetWhitePoint(3X11)      XLIB FUNCTIONS  XcmsSetWhitePoint(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XcmsSetWhitePoint, XcmsSetWhiteAdjustProc - modifying CCC
  9.        attributes
  10.  
  11. SSYYNNTTAAXX
  12.        Status XcmsSetWhitePoint(_c_c_c, _c_o_l_o_r)
  13.          XcmsCCC _c_c_c;
  14.          XcmsColor *_c_o_l_o_r;
  15.  
  16.        XcmsWhiteAdjustProc XcmsSetWhiteAdjustProc(_c_c_c,
  17.        _w_h_i_t_e___a_d_j_u_s_t___p_r_o_c, _c_l_i_e_n_t___d_a_t_a)
  18.          XcmsCCC _c_c_c;
  19.          XcmsWhiteAdjustProc _w_h_i_t_e___a_d_j_u_s_t___p_r_o_c;
  20.          XPointer _c_l_i_e_n_t___d_a_t_a;
  21.  
  22. AARRGGUUMMEENNTTSS
  23.        _c_c_c     Specifies the CCC.
  24.  
  25.        _c_l_i_e_n_t___d_a_t_a
  26.          Specifies client data for the white point
  27.          adjustment procedure or NULL.
  28.  
  29.        _c_o_l_o_r     Specifies the new Client White Point.
  30.  
  31.        _w_h_i_t_e___a_d_j_u_s_t___p_r_o_c
  32.          Specifies the white point adjustment procedure.
  33.  
  34. DDEESSCCRRIIPPTTIIOONN
  35.        The _X_c_m_s_S_e_t_W_h_i_t_e_P_o_i_n_t function changes the Client White
  36.        Point in the specified CCC.  Note that the pixel member is
  37.        ignored and that the color specification is left unchanged
  38.        upon return.  The format for the new white point must be
  39.        _X_c_m_s_C_I_E_X_Y_Z_F_o_r_m_a_t, _X_c_m_s_C_I_E_u_v_Y_F_o_r_m_a_t, _X_c_m_s_C_I_E_x_y_Y_F_o_r_m_a_t, or
  40.        _X_c_m_s_U_n_d_e_f_i_n_e_d_F_o_r_m_a_t.  If the color argument is NULL, this
  41.        function sets the format component of the Client White
  42.        Point specification to _X_c_m_s_U_n_d_e_f_i_n_e_d_F_o_r_m_a_t, indicating
  43.        that the Client White Point is assumed to be the same as
  44.        the Screen White Point.
  45.  
  46.        This function returns nonzero status if the format for the
  47.        new white point is valid; otherwise, it returns zero.
  48.  
  49.  
  50.        The _X_c_m_s_S_e_t_W_h_i_t_e_A_d_j_u_s_t_P_r_o_c function first sets the white
  51.        point adjustment procedure and client data in the speci-
  52.        fied CCC with the newly specified procedure and client
  53.        data and then returns the old procedure.
  54.  
  55. SSEEEE AALLSSOO
  56.        DisplayOfCCC(3X11), XcmsCCCOfColormap(3X11), XcmsConvert-
  57.        Colors(3X11), XcmsCreateCCC(3X11), XcmsDefaultCCC(3X11)
  58.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  59.  
  60.  
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.