cairo-Image-Surfaces          package:RGtk2          R Documentation

_I_m_a_g_e _S_u_r_f_a_c_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Rendering to memory buffers

_M_e_t_h_o_d_s _a_n_d _F_u_n_c_t_i_o_n_s:

     'cairoFormatStrideForWidth(format, width)'
      'cairoImageSurfaceCreate(format, width, height)'
      'cairoImageSurfaceCreateForData(data, format, width, height,
     stride)'
      'cairoImageSurfaceGetData(surface)'
      'cairoImageSurfaceGetFormat(surface)'
      'cairoImageSurfaceGetWidth(surface)'
      'cairoImageSurfaceGetHeight(surface)'
      'cairoImageSurfaceGetStride(surface)'

_D_e_t_a_i_l_e_d _D_e_s_c_r_i_p_t_i_o_n:

     Image surfaces provide the ability to render to memory buffers
     either allocated by cairo or by the calling code.  The supported
     image formats are those defined in 'CairoFormat'.

_E_n_u_m_s _a_n_d _F_l_a_g_s:


     '_C_a_i_r_o_F_o_r_m_a_t' 'CairoFormat' is used to identify the memory format
          of image data.

          New entries may be added in future versions.  

          '_a_r_g_b_3_2' each pixel is a 32-bit quantity, with alpha in the
               upper 8 bits, then red, then green, then blue. The
               32-bit quantities are stored native-endian.
               Pre-multiplied alpha is used. (That is, 50% transparent
               red is 0x80800000, not 0x80ff0000.)

          '_r_g_b_2_4' each pixel is a 32-bit quantity, with the upper 8
               bits unused. Red, Green, and Blue are stored in the
               remaining 24 bits in that order.

          '_a_8' each pixel is a 8-bit quantity holding an alpha value.

          '_a_1' each pixel is a 1-bit quantity holding an alpha value.
               Pixels are packed together into 32-bit quantities. The
               ordering of the bits matches the endianess of the
               platform. On a big-endian machine, the first pixel is in
               the uppermost bit, on a little-endian machine the first
               pixel is in the least-significant bit.

          '_r_g_b_1_6-_5_6_5' _undocumented _


_A_u_t_h_o_r(_s):

     Derived by RGtkGen from GTK+ documentation

_R_e_f_e_r_e_n_c_e_s:

     <URL:
     http://www.cairographics.org/manual/cairo-Image-Surfaces.html>

