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

  1.  
  2.  
  3.  
  4. XcmsConvertColors(3X11)      XLIB FUNCTIONS  XcmsConvertColors(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XcmsConvertColors - convert CCC color specifications
  9.  
  10. SSYYNNTTAAXX
  11.        Status XcmsConvertColors(_c_c_c, _c_o_l_o_r_s___i_n___o_u_t, _n_c_o_l_o_r_s,
  12.        _t_a_r_g_e_t___f_o_r_m_a_t, _c_o_m_p_r_e_s_s_i_o_n___f_l_a_g_s___r_e_t_u_r_n)
  13.          XcmsCCC _c_c_c;
  14.          XcmsColor _c_o_l_o_r_s___i_n___o_u_t[];
  15.          unsigned int _n_c_o_l_o_r_s;
  16.          XcmsColorFormat _t_a_r_g_e_t___f_o_r_m_a_t;
  17.          Bool _c_o_m_p_r_e_s_s_i_o_n___f_l_a_g_s___r_e_t_u_r_n[];
  18.  
  19. AARRGGUUMMEENNTTSS
  20.        _c_c_c     Specifies the CCC.  If Conversion is between
  21.          device-independent color spaces only (for exam-
  22.          ple, TekHVC to CIELuv), the CCC is necessary
  23.          only to specify the Client White Point.
  24.  
  25.        _c_o_l_o_r_s___i_n___o_u_t
  26.          Specifies an array of color specifications.
  27.          Pixel members are ignored and remain unchanged
  28.          upon return.
  29.  
  30.        _c_o_m_p_r_e_s_s_i_o_n___f_l_a_g_s___r_e_t_u_r_n
  31.          Returns an array of Boolean values indicating
  32.          compression status.  If a non-NULL pointer is
  33.          supplied, each element of the array is set to
  34.          _T_r_u_e if the corresponding color was compressed
  35.          and _F_a_l_s_e otherwise.  Pass NULL if the compres-
  36.          sion status is not useful.
  37.  
  38.        _n_c_o_l_o_r_s     Specifies the number of _X_c_m_s_C_o_l_o_r structures in
  39.          the color-specification array.
  40.  
  41.        _t_a_r_g_e_t___f_o_r_m_a_t
  42.          Specifies the target color specification format.
  43.  
  44. DDEESSCCRRIIPPTTIIOONN
  45.        The _X_c_m_s_C_o_n_v_e_r_t_C_o_l_o_r_s function converts the color specifi-
  46.        cations in the specified array of _X_c_m_s_C_o_l_o_r structures
  47.        from their current format to a single target format, using
  48.        the specified CCC.  When the return value is _X_c_m_s_F_a_i_l_u_r_e,
  49.        the contents of the color specification array are left
  50.        unchanged.
  51.  
  52.        The array may contain a mixture of color specification
  53.        formats (for example, 3 CIE XYZ, 2 CIE Luv, and so on).
  54.        When the array contains both device-independent and
  55.        device-dependent color specifications and the tar-
  56.        get_format argument specifies a device-dependent format
  57.        (for example, _X_c_m_s_R_G_B_i_F_o_r_m_a_t, _X_c_m_s_R_G_B_F_o_r_m_a_t), all specifi-
  58.        cations are converted to CIE XYZ format and then to the
  59.        target device-dependent format.
  60.  
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XcmsConvertColors(3X11)      XLIB FUNCTIONS  XcmsConvertColors(3X11)
  71.  
  72.  
  73. SSEEEE AALLSSOO
  74.        DisplayOfCCC(3X11), XcmsCCCOfColormap(3X11), XcmsCreate-
  75.        CCC(3X11), XcmsDefaultCCC(3X11), XcmsSetWhitePoint(3X11)
  76.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  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.