gdkPixbufGetFromImage {RGtk2}R Documentation

gdkPixbufGetFromImage

Description

Same as gdkPixbufGetFromDrawable but gets the pixbuf from an image.

Usage

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

Arguments

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.

Value

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.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]