gdkDrawPixbuf             package:RGtk2             R Documentation

_g_d_k_D_r_a_w_P_i_x_b_u_f

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

     Renders a rectangular portion of a pixbuf to a drawable.  The
     destination drawable must have a colormap. All windows have a
     colormap, however, pixmaps only have colormap by default if they
     were created with a non-'NULL' window  argument. Otherwise a
     colormap must be set on them with  'gdkDrawableSetColormap'.

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

     gdkDrawPixbuf(object, gc = NULL, pixbuf, src.x, src.y, dest.x, dest.y, width = -1, height = -1, dither = "GDK_RGB_DITHER_NORMAL", x.dither = 0, y.dither = 0)

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

'object': ['GdkDrawable']  Destination drawable.

    'gc': ['GdkGC']  a 'GdkGC', used for clipping, or 'NULL'

'pixbuf': ['GdkPixbuf']  a 'GdkPixbuf'

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

 'src.y': [integer]  Source Y coordinates within pixbuf.

'dest.x': [integer]  Destination X coordinate within drawable.

'dest.y': [integer]  Destination Y coordinate within drawable.

 'width': [integer]  Width of region to render, in pixels, or -1 to use
          pixbuf width.

'height': [integer]  Height of region to render, in pixels, or -1 to
          use pixbuf height.

'dither': ['GdkRgbDither']  Dithering mode for 'GdkRGB'.

'x.dither': [integer]  X offset for dither.

'y.dither': [integer]  Y offset for dither.

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

     On older X servers, rendering pixbufs with an alpha channel
     involves round  trips to the X server, and may be somewhat slow.

     The clip mask of 'gc' is ignored, but clip rectangles and clip
     regions work fine.  

     Since  2.2

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

     Derived by RGtkGen from GTK+ documentation

