gdk.Pixbuf

Undocumented in source.

Public Imports

gdk.c.types
public import gdk.c.types;
Undocumented in source.
gtkc.gdktypes
public import gtkc.gdktypes;
Undocumented in source.
gdkpixbuf.Pixbuf
public import gdkpixbuf.Pixbuf;

Members

Functions

getFromSurface
Pixbuf getFromSurface(Surface surface, int srcX, int srcY, int width, int height)

Transfers image data from a #cairo_surface_t and converts it to an RGB(A) representation inside a #GdkPixbuf. This allows you to efficiently read individual pixels from cairo surfaces. For #GdkWindows, use gdk_pixbuf_get_from_window() instead.

getFromWindow
Pixbuf getFromWindow(Window window, int srcX, int srcY, int width, int height)

Transfers image data from a #GdkWindow and converts it to an RGB(A) representation inside a #GdkPixbuf. In other words, copies image data from a server-side drawable to a client-side RGB(A) buffer. This allows you to efficiently read individual pixels on the client side.

Meta