Method GDK2.Pixbuf()->new_subpixbuf()


Method new_subpixbuf

GDK2.Pixbuf 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.