Name
Drawables to Pixbufs -- Getting parts of a drawable's image data into a pixbuf.
Description
The functions in this section allow you to take the image data
from a GDK drawable and dump it into a GdkPixbuf. This can be
used for screenshots and other special effects. Note that these
operations can be expensive, since the image data has to be
transferred from the X server to the client program and converted.
Details
gdk_pixbuf_get_from_drawable ()
GdkPixbuf* gdk_pixbuf_get_from_drawable (GdkPixbuf *dest,
GdkDrawable *src,
GdkColormap *cmap,
int src_x,
int src_y,
int dest_x,
int dest_y,
int width,
int height); |
See Also
gdk_image_get().