Method GDK2.Pixbuf()->new_subpixbuf()
- Method
new_subpixbuf
GDK2.Pixbufnew_subpixbuf(intsrc_x,intsrc_y,intwidth,intheight)- 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.