gdkDrawDrawable            package:RGtk2            R Documentation

_g_d_k_D_r_a_w_D_r_a_w_a_b_l_e

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

     Copies the 'width' x 'height' region of 'src' at coordinates
     ('xsrc', 'ysrc') to coordinates ('xdest', 'ydest') in 'drawable'.
     'width' and/or 'height' may be given as -1, in which case the
     entire 'src' drawable will be copied.

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

     gdkDrawDrawable(object, gc, src, xsrc, ysrc, xdest, ydest, width, height)

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

'object': ['GdkDrawable']  a 'GdkDrawable'

    'gc': ['GdkGC']  a 'GdkGC' sharing the drawable's visual and
          colormap

   'src': ['GdkDrawable']  the source 'GdkDrawable', which may be the
          same as 'drawable'

  'xsrc': [integer]  X position in 'src' of rectangle to draw

  'ysrc': [integer]  Y position in 'src' of rectangle to draw

 'xdest': [integer]  X position in 'drawable' where the rectangle
          should be drawn

 'ydest': [integer]  Y position in 'drawable' where the rectangle
          should be drawn

 'width': [integer]  width of rectangle to draw, or -1 for entire 'src'
          width

'height': [integer]  height of rectangle to draw, or -1 for entire
          'src' height

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

     Most fields in 'gc' are not used for this operation, but notably
     the clip mask or clip region will be honored.

     The source and destination drawables must have the same visual and
     colormap, or errors will result. (On X11, failure to match
     visual/colormap results in a BadMatch error from the X server.) A
     common cause of this problem is an attempt to draw a bitmap to a
     color drawable. The way to draw a bitmap is to set the bitmap as 
     the stipple on the 'GdkGC', set the fill mode to 'GDK_STIPPLED',
     and  then draw the rectangle.

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

     Derived by RGtkGen from GTK+ documentation

