cairoRectangle             package:RGtk2             R Documentation

_c_a_i_r_o_R_e_c_t_a_n_g_l_e

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

     Adds a closed sub-path rectangle of the given size to the current
     path at position ('x', 'y') in user-space coordinates.

_U_s_a_g_e:

     cairoRectangle(cr, x, y, width, height)

_A_r_g_u_m_e_n_t_s:

    'cr': ['Cairo']  a cairo context

     'x': [numeric]  the X coordinate of the top left corner of the
          rectangle

     'y': [numeric]  the Y coordinate to the top left corner of the
          rectangle

 'width': [numeric]  the width of the rectangle

'height': [numeric]  the height of the rectangle

_D_e_t_a_i_l_s:

     This function is logically equivalent to:


     cr$moveTo(x, y)
     cr$relLineTo(width, 0)
     cr$relLineTo(0, height)
     cr$relLineTo(-width, 0)
     cr$closePath()


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

     Derived by RGtkGen from GTK+ documentation

