Pixbuf.copyArea

void copyArea(int srcX, int srcY, int width, int height, gdkpixbuf.pixbuf.Pixbuf destPixbuf, int destX, int destY)

Copies a rectangular area from src_pixbuf to dest_pixbuf.

Conversion of pixbuf formats is done automatically.

If the source rectangle overlaps the destination rectangle on the same pixbuf, it will be overwritten during the copy operation. Therefore, you can not use this function to scroll a pixbuf.

Parameters

srcXSource X coordinate within src_pixbuf.
srcYSource Y coordinate within src_pixbuf.
widthWidth of the area to copy.
heightHeight of the area to copy.
destPixbufDestination pixbuf.
destXX coordinate within dest_pixbuf.
destYY coordinate within dest_pixbuf.