cairo-Paths              package:RGtk2              R Documentation

_P_a_t_h_s

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

     Creating paths and manipulating path data

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

     'cairoCopyPath(cr)'
      'cairoCopyPathFlat(cr)'
      'cairoAppendPath(cr, path)'
      'cairoHasCurrentPoint(cr)'
      'cairoGetCurrentPoint(cr, x, y)'
      'cairoNewPath(cr)'
      'cairoNewSubPath(cr)'
      'cairoClosePath(cr)'
      'cairoArc(cr, xc, yc, radius, angle1, angle2)'
      'cairoArcNegative(cr, xc, yc, radius, angle1, angle2)'
      'cairoCurveTo(cr, x1, y1, x2, y2, x3, y3)'
      'cairoLineTo(cr, x, y)'
      'cairoMoveTo(cr, x, y)'
      'cairoRectangle(cr, x, y, width, height)'
      'cairoGlyphPath(cr, glyphs)'
      'cairoTextPath(cr, utf8)'
      'cairoRelCurveTo(cr, dx1, dy1, dx2, dy2, dx3, dy3)'
      'cairoRelLineTo(cr, dx, dy)'
      'cairoRelMoveTo(cr, dx, dy)'
      'cairoPathExtents(cr)'

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

     Paths are the most basic drawing tools and are primarily used to
     implicitly generate simple masks.

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


     '_C_a_i_r_o_P_a_t_h' A data structure for holding a path. This data
          structure serves as the return value for 'cairoCopyPath' and
          'cairoCopyPathFlat' as well the input value for
          'cairoAppendPath'.

          See 'CairoPathData' for hints on how to iterate over the
          actual data within the path.

          The num_data member gives the number of elements in the data
          array. This number is larger than the number of independent
          path portions (defined in 'CairoPathDataType'), since the
          data includes both headers and coordinates for each portion. 
           *'CairoPath' is a transparent-type.*

          '_s_t_a_t_u_s' ['CairoStatus']  the current error status

          '_d_a_t_a' ['CairoPathData']  the elements in the path

          '_n_u_m_D_a_t_a' [integer]  the number of elements in the data list


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


     '_C_a_i_r_o_P_a_t_h_D_a_t_a_T_y_p_e' 'CairoPathData' is used to describe the type
          of one portion of a path when represented as a 'CairoPath'.
          See 'CairoPathData' for details.  

          '_m_o_v_e-_t_o' A move-to operation

          '_l_i_n_e-_t_o' A line-to operation

          '_c_u_r_v_e-_t_o' A curve-to operation

          '_c_l_o_s_e-_p_a_t_h' A close-path operation


_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-Paths.html>

