gdkPixbufGetFromImage         package:RGtk2         R Documentation

_g_d_k_P_i_x_b_u_f_G_e_t_F_r_o_m_I_m_a_g_e

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

     Same as 'gdkPixbufGetFromDrawable' but gets the pixbuf from an
     image.

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

     gdkPixbufGetFromImage(src, cmap, src.x, src.y, dest.x, dest.y, width, height)

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

   'src': ['GdkImage']  Source 'GdkImage'.

  'cmap': ['GdkColormap']  A colormap, or 'NULL' to use the one for
          'src'

 'src.x': [integer]  Source X coordinate within drawable.

 'src.y': [integer]  Source Y coordinate within drawable.

'dest.x': [integer]  Destination X coordinate in pixbuf, or 0 if 'dest'
          is NULL.

'dest.y': [integer]  Destination Y coordinate in pixbuf, or 0 if 'dest'
          is NULL.

 'width': [integer]  Width in pixels of region to get.

'height': [integer]  Height in pixels of region to get.

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

     A list containing the following elements: 

  retval: ['GdkPixbuf'] 'dest', newly-created pixbuf if 'dest' was
          'NULL', 'NULL' on error

  'dest': ['GdkPixbuf']  Destination pixbuf, or 'NULL' if a new pixbuf
          should be created.

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

     Derived by RGtkGen from GTK+ documentation

