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

  1.  
  2.  
  3.  
  4. XcmsCreateCCC(3X11)      XLIB FUNCTIONS      XcmsCreateCCC(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XcmsCreateCCC, XcmsFreeCCC - creating and destroying CCCs
  9.  
  10. SSYYNNTTAAXX
  11.        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,
  12.        _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,
  13.                _c_o_m_p_r_e_s_s_i_o_n___c_l_i_e_n_t___d_a_t_a,
  14.        _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)
  15.          Display *_d_i_s_p_l_a_y;
  16.          int _s_c_r_e_e_n___n_u_m_b_e_r;
  17.          Visual *_v_i_s_u_a_l;
  18.          XcmsColor *_c_l_i_e_n_t___w_h_i_t_e___p_o_i_n_t;
  19.          XcmsCompressionProc _c_o_m_p_r_e_s_s_i_o_n___p_r_o_c;
  20.          XPointer _c_o_m_p_r_e_s_s_i_o_n___c_l_i_e_n_t___d_a_t_a;
  21.          XcmsWhiteAdjustProc _w_h_i_t_e___a_d_j_u_s_t___p_r_o_c;
  22.          XPointer _w_h_i_t_e___a_d_j_u_s_t___c_l_i_e_n_t___d_a_t_a;
  23.  
  24.        void XcmsFreeCCC(_c_c_c)
  25.          XcmsCCC _c_c_c;
  26.  
  27. AARRGGUUMMEENNTTSS
  28.        _d_i_s_p_l_a_y     Specifies the connection to the X server.
  29.  
  30.        _c_c_c     Specifies the CCC.
  31.  
  32.        _c_l_i_e_n_t___w_h_i_t_e___p_o_i_n_t
  33.          Specifies the Client White Point.  If NULL is
  34.          specified, the Client White Point is to be
  35.          assumed to be the same as the Screen White
  36.          Point.     Note that the pixel member is ignored.
  37.  
  38.        _c_o_m_p_r_e_s_s_i_o_n___c_l_i_e_n_t___d_a_t_a
  39.          Specifies client data for use by the gamut com-
  40.          pression procedure or NULL.
  41.  
  42.        _c_o_m_p_r_e_s_s_i_o_n___p_r_o_c
  43.          Specifies the gamut compression procedure that
  44.          is to be applied when a color lies outside the
  45.          screen's color gamut.    If NULL is specified and
  46.          a function using this CCC must convert a color
  47.          specification to a device-dependent format and
  48.          encounters a color that lies outside the
  49.          screen's color gamut, that function will return
  50.          _X_c_m_s_F_a_i_l_u_r_e.
  51.  
  52.        _s_c_r_e_e_n___n_u_m_b_e_r
  53.          Specifies the appropriate screen number on the
  54.          host server.
  55.  
  56.        _v_i_s_u_a_l     Specifies the visual type.
  57.  
  58.        _w_h_i_t_e___a_d_j_u_s_t___c_l_i_e_n_t___d_a_t_a
  59.          Specifies client data for use with the white
  60.          point adjustment procedure or NULL.
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XcmsCreateCCC(3X11)      XLIB FUNCTIONS      XcmsCreateCCC(3X11)
  71.  
  72.  
  73.        _w_h_i_t_e___a_d_j_u_s_t___p_r_o_c
  74.          Specifies the white adjustment procedure that is
  75.          to be applied when the Client White Point dif-
  76.          fers from the Screen White Point.  NULL indi-
  77.          cates that no white point adjustment is desired.
  78.  
  79. DDEESSCCRRIIPPTTIIOONN
  80.        The _X_c_m_s_C_r_e_a_t_e_C_C_C function creates a CCC for the specified
  81.        display, screen, and visual.
  82.  
  83.        The _X_c_m_s_F_r_e_e_C_C_C function frees the memory used for the
  84.        specified CCC.  Note that default CCCs and those currently
  85.        associated with colormaps are ignored.
  86.  
  87. SSEEEE AALLSSOO
  88.        DisplayOfCCC(3X11), XcmsCCCOfColormap(3X11), XcmsConvert-
  89.        Colors(3X11), XcmsDefaultCCC(3X11), XcmsSetWhite-
  90.        Point(3X11)
  91.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. X Version 11           Release 6.1                2
  131.  
  132.  
  133.