cairo-cairo-surface-t         package:RGtk2         R Documentation

_c_a_i_r_o__s_u_r_f_a_c_e__t

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

     Base class for surfaces

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

     'cairoSurfaceCreateSimilar(other, content, width, height)'
      'cairoSurfaceDestroy(surface)'
      'cairoSurfaceFinish(surface)'
      'cairoSurfaceFlush(surface)'
      'cairoSurfaceGetFontOptions(surface)'
      'cairoSurfaceSetUserData(surface, key, user.data)'
      'cairoSurfaceGetUserData(surface, key)'
      'cairoSurfaceMarkDirty(surface)'
      'cairoSurfaceMarkDirtyRectangle(surface, x, y, width, height)'
      'cairoSurfaceReference(surface)'
      'cairoSurfaceSetDeviceOffset(surface, x.offset, y.offset)'
      'cairoSurfaceStatus(surface)'
      'cairoSurface(width, height, format, other, content, data,
     stride, filename, con)'

_S_t_r_u_c_t_u_r_e_s:

     '_C_a_i_r_o_S_u_r_f_a_c_e' A 'CairoSurface' represents an image, either as the
          destination of a drawing operation or as source when drawing
          onto another surface. There are different subtypes of
          cairo_surface_t for different drawing backends; for example,
          'cairoImageSurfaceCreate' creates a bitmap image in memory.

          Memory management of 'CairoSurface' is done with
          'cairoSurfaceReference' and 'cairoSurfaceDestroy'.  

_C_o_n_v_e_n_i_e_n_t _C_o_n_s_t_r_u_c_t_i_o_n:

     'cairoSurface' is the result of collapsing the constructors of
     'cairo_surface_t' ('cairoSurfaceCreateSimilar',
     'cairoImageSurfaceCreate', 'cairoImageSurfaceCreateForData',
     'cairoImageSurfaceCreateFromPng',
     'cairoImageSurfaceCreateFromPngStream') and accepts a subset of
     its arguments matching the required arguments of one of its
     delegate constructors.

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

     '_C_a_i_r_o_C_o_n_t_e_n_t' 'cairo.content.t' is used to describe the content
          that a surface will contain, whether color information, alpha
          information (translucence vs. opacity), or both.

          Note: The large values here are designed to keep
          cairo_content_t values distinct from cairo_format_t values so
          that the implementation can detect the error if users confuse
          the two types.  

          '_c_o_l_o_r' The surface will hold color content only.

          '_a_l_p_h_a' The surface will hold alpha content only.

          '_c_o_l_o_r-_a_l_p_h_a' The surface will hold color and alpha content.

_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-cairo-surface-t.html>

