Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GTK2
GTK2.GdkPixbuf

Method GTK2.GdkPixbuf()->new_subpixbuf()


Method new_subpixbuf

GTK2.GdkPixbuf new_subpixbuf(int src_x, int src_y, int width, int height)

Description

Creates a new pixbuf which represents a sub-region of src. The new pixbuf shares its pixels with the original pixbuf, so writing to one affects both. The new pixbuf holds a reference to this one, so this object will not be finalized until the new pixbuf is finalized.