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

  1.  
  2.  
  3.  
  4. XcmsCCCOfColormap(3X11)      XLIB FUNCTIONS  XcmsCCCOfColormap(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XcmsCCCOfColormap, XcmsSetCCCOfColormap - query and modify
  9.        CCC of a colormap
  10.  
  11. SSYYNNTTAAXX
  12.        XcmsCCC XcmsCCCOfColormap(_d_i_s_p_l_a_y, _c_o_l_o_r_m_a_p)
  13.          Display *_d_i_s_p_l_a_y;
  14.          Colormap _c_o_l_o_r_m_a_p;
  15.  
  16.        XcmsCCC XcmsSetCCCOfColormap(_d_i_s_p_l_a_y, _c_o_l_o_r_m_a_p, _c_c_c)
  17.          Display *_d_i_s_p_l_a_y;
  18.          Colormap _c_o_l_o_r_m_a_p;
  19.          XcmsCCC _c_c_c;
  20.  
  21. AARRGGUUMMEENNTTSS
  22.        _d_i_s_p_l_a_y     Specifies the connection to the X server.
  23.  
  24.        _c_c_c     Specifies the CCC.
  25.  
  26.        _c_o_l_o_r_m_a_p     Specifies the colormap.
  27.  
  28. DDEESSCCRRIIPPTTIIOONN
  29.        The _X_c_m_s_C_C_C_O_f_C_o_l_o_r_m_a_p function returns the CCC associated
  30.        with the specified colormap.  Once obtained, the CCC
  31.        attributes can be queried or modified.  Unless the CCC
  32.        associated with the specified colormap is changed with
  33.        _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
  34.        colormap is used as an argument to color functions.
  35.  
  36.        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 associ-
  37.        ated with the specified colormap.  It returns the CCC pre-
  38.        viously associated with the colormap.  If they are not
  39.        used again in the application, CCCs should be freed by
  40.        calling _X_c_m_s_F_r_e_e_C_C_C.  Several colormaps may share the same
  41.        CCC without restriction; this includes the CCCs generated
  42.        by Xlib with each colormap.  Xlib, however, creates a new
  43.        CCC with each new colormap.
  44.  
  45. SSEEEE AALLSSOO
  46.        DisplayOfCCC(3X11), XcmsConvertColors(3X11), XcmsCreate-
  47.        CCC(3X11), XcmsDefaultCCC(3X11), XcmsSetWhitePoint(3X11)
  48.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.