gdkPixbufNewSubpixbuf {RGtk2} | R Documentation |
Creates a new pixbuf which represents a sub-region of
src.pixbuf
. The new pixbuf shares its pixels with the
original pixbuf, so writing to one affects both.
The new pixbuf holds a reference to src.pixbuf
, so
src.pixbuf
will not be finalized until the new pixbuf
is finalized.
gdkPixbufNewSubpixbuf(object, src.x, src.y, width, height)
|
[GdkPixbuf ] a GdkPixbuf |
|
[integer] X coord in src.pixbuf |
|
[integer] Y coord in src.pixbuf |
|
[integer] width of region in src.pixbuf |
|
[integer] height of region in src.pixbuf |
[GdkPixbuf
] a new pixbuf
Derived by RGtkGen from GTK+ documentation