| gdkPixbufGetFromImage {RGtk2} | R Documentation |
Same as gdkPixbufGetFromDrawable but gets the pixbuf from
an image.
gdkPixbufGetFromImage(src, cmap, src.x, src.y, dest.x, dest.y, width, height)
|
[GdkImage] Source GdkImage. |
|
[GdkColormap] A colormap, or NULL to use the one for src |
|
[integer] Source X coordinate within drawable. |
|
[integer] Source Y coordinate within drawable. |
|
[integer] Destination X coordinate in pixbuf, or 0 if dest is NULL. |
|
[integer] Destination Y coordinate in pixbuf, or 0 if dest is NULL. |
|
[integer] Width in pixels of region to get. |
|
[integer] Height in pixels of region to get. |
A list containing the following elements:
retval |
[GdkPixbuf] dest, newly-created pixbuf if dest was NULL, NULL on error |
|
[GdkPixbuf] Destination pixbuf, or NULL if a new pixbuf should be created. |
Derived by RGtkGen from GTK+ documentation