gdkDrawableCopyToImage         package:RGtk2         R Documentation

_g_d_k_D_r_a_w_a_b_l_e_C_o_p_y_T_o_I_m_a_g_e

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

     Copies a portion of 'drawable' into the client side image
     structure 'image'. If 'image' is 'NULL', creates a new image of
     size 'width' x 'height' and copies into that. See
     'gdkDrawableGetImage' for further details.

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

     gdkDrawableCopyToImage(object, image = NULL, src.x, src.y, dest.x, dest.y, width, height)

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

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

 'image': ['GdkImage']  a 'GdkDrawable', or 'NULL' if a new 'image'
          should be created.

 'src.x': [integer]  x coordinate on 'drawable'

 'src.y': [integer]  y coordinate on 'drawable'

'dest.x': [integer]  x coordinate within 'image'. Must be 0 if 'image'
          is 'NULL'

'dest.y': [integer]  y coordinate within 'image'. Must be 0 if 'image'
          is 'NULL'

 'width': [integer]  width of region to get

'height': [integer]  height or region to get

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

     Since  2.4

_V_a_l_u_e:

     ['GdkImage'] 'image', or a new a 'GdkImage' containing the
     contents of 'drawable'

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

     Derived by RGtkGen from GTK+ documentation

