gdkDrawRectangle            package:RGtk2            R Documentation

_g_d_k_D_r_a_w_R_e_c_t_a_n_g_l_e

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

     Draws a rectangular outline or filled rectangle, using the
     foreground color and other attributes of the 'GdkGC'.

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

     gdkDrawRectangle(object, gc, filled, x, y, width, height)

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

'object': ['GdkDrawable']  a 'GdkDrawable' (a 'GdkWindow' or a
          'GdkPixmap').

    'gc': ['GdkGC']  a 'GdkGC'.

'filled': [logical] 'TRUE' if the rectangle should be filled.

     'x': [integer]  the x coordinate of the left edge of the
          rectangle.

     'y': [integer]  the y coordinate of the top edge of the rectangle.

 'width': [integer]  the width of the rectangle.

'height': [integer]  the height of the rectangle.

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

     A rectangle drawn filled is 1 pixel smaller in both dimensions
     than a  rectangle outlined. Calling  'gdk_draw_rectangle (window,
     gc, TRUE, 0, 0, 20, 20)'  results in a filled rectangle 20 pixels
     wide and 20 pixels high. Calling 'gdk_draw_rectangle (window, gc,
     FALSE, 0, 0, 20, 20)'  results in an outlined rectangle with
     corners at (0, 0), (0, 20), (20, 20), and (20, 0), which makes it
     21 pixels wide and 21 pixels high.

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

     Derived by RGtkGen from GTK+ documentation

