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.