cairo-cairo-t             package:RGtk2             R Documentation

_c_a_i_r_o__t

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

     The cairo drawing context

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

     'cairoCreate(target)'
      'cairoSave(cr)'
      'cairoRestore(cr)'
      'cairoStatus(cr)'
      'cairoGetTarget(cr)'
      'cairoSetSourceRgb(cr, red, green, blue)'
      'cairoSetSourceRgba(cr, red, green, blue, alpha)'
      'cairoSetSource(cr, source)'
      'cairoSetSourceSurface(cr, surface, x, y)'
      'cairoGetSource(cr)'
      'cairoSetAntialias(cr, antialias)'
      'cairoGetAntialias(cr)'
      'cairoSetDash(cr, dashes, offset)'
      'cairoSetFillRule(cr, fill.rule)'
      'cairoGetFillRule(cr)'
      'cairoSetLineCap(cr, line.cap)'
      'cairoGetLineCap(cr)'
      'cairoSetLineJoin(cr, line.join)'
      'cairoGetLineJoin(cr)'
      'cairoSetLineWidth(cr, width)'
      'cairoGetLineWidth(cr)'
      'cairoSetMiterLimit(cr, limit)'
      'cairoGetMiterLimit(cr)'
      'cairoSetOperator(cr, op)'
      'cairoGetOperator(cr)'
      'cairoSetTolerance(cr, tolerance)'
      'cairoGetTolerance(cr)'
      'cairoClip(cr)'
      'cairoClipPreserve(cr)'
      'cairoResetClip(cr)'
      'cairoFill(cr)'
      'cairoFillPreserve(cr)'
      'cairoFillExtents(cr)'
      'cairoInFill(cr, x, y)'
      'cairoMask(cr, pattern)'
      'cairoMaskSurface(cr, surface, surface.x, surface.y)'
      'cairoPaint(cr)'
      'cairoPaintWithAlpha(cr, alpha)'
      'cairoStroke(cr)'
      'cairoStrokePreserve(cr)'
      'cairoStrokeExtents(cr)'
      'cairoInStroke(cr, x, y)'
      'cairoCopyPage(cr)'
      'cairoShowPage(cr)'
      'cairo(target)'

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

     'Cairo' is the main object used when drawing with cairo. To draw
     with cairo, you create a 'Cairo', set the target surface, and
     drawing options for the 'Cairo', create shapes with functions like
     'cairoMoveTo' and 'cairoLineTo', and then draw shapes with
     'cairoStroke' or 'cairoFill'.

     'Cairo''s can be pushed to a stack via 'cairoSave'. They may then
     safely be changed, without loosing the current state. Use
     'cairoRestore' to restore to the saved state.

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

     '_C_a_i_r_o' A 'Cairo' contains the current state of the rendering
          device, including coordinates of yet to be drawn shapes.  

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

     'cairo' is the equivalent of 'cairoCreate'.

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

     '_C_a_i_r_o_A_n_t_i_a_l_i_a_s' Specifies the type of antialiasing to do when
          rendering text or shapes.  

          '_d_e_f_a_u_l_t' Use the default antialiasing for the subsystem and
               target device

          '_n_o_n_e' Use a bilevel alpha mask

          '_g_r_a_y' Perform single-color antialiasing (using shades of
               gray for black text on a white background, for example).

          '_s_u_b_p_i_x_e_l' Perform antialiasing by taking advantage of the
               order of subpixel elements on devices such as LCD panels


     '_C_a_i_r_o_F_i_l_l_R_u_l_e' 'CairoFillRule' is used to select how paths are
          filled. For both fill rules, whether or not a point is
          included in the fill is determined by taking a ray from that
          point to infinity and looking at intersections with the path.
          The ray can be in any direction, as long as it doesn't pass
          through the end point of a segment or have a tricky
          intersection such as intersecting tangent to the path. (Note
          that filling is not actually implemented in this way. This is
          just a description of the rule that is applied.)  

          '_w_i_n_d_i_n_g' If the path crosses the ray from left-to-right,
               counts +1. If the path crosses the ray from right to
               left, counts -1. (Left and right are determined from the
               perspective of looking along the ray from the starting
               point.) If the total count is non-zero, the point will
               be filled.

          '_e_v_e_n-_o_d_d' Counts the total number of intersections, without
               regard to the orientation of the contour. If the total
               number of intersections is odd, the point will be
               filled.


     '_C_a_i_r_o_L_i_n_e_C_a_p' enumeration for style of line-endings  

          '_b_u_t_t' start(stop) the line exactly at the start(end) point

          '_r_o_u_n_d' use a round ending, the center of the circle is the
               end point

          '_s_q_u_a_r_e' use squared ending, the center of the square is the
               end point


          '_m_i_t_e_r' _undocumented _

          '_r_o_u_n_d' _undocumented _

          '_b_e_v_e_l' _undocumented _


          '_c_l_e_a_r' _undocumented _

          '_s_o_u_r_c_e' _undocumented _

          '_o_v_e_r' _undocumented _

          '_i_n' _undocumented _

          '_o_u_t' _undocumented _

          '_a_t_o_p' _undocumented _

          '_d_e_s_t' _undocumented _

          '_d_e_s_t-_o_v_e_r' _undocumented _

          '_d_e_s_t-_i_n' _undocumented _

          '_d_e_s_t-_o_u_t' _undocumented _

          '_d_e_s_t-_a_t_o_p' _undocumented _

          '_x_o_r' _undocumented _

          '_a_d_d' _undocumented _

          '_s_a_t_u_r_a_t_e' _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-cairo-t.html>

