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
srcX | Source X coordinate within src_pixbuf. |
srcY | Source Y coordinate within src_pixbuf. |
width | Width of the area to copy. |
height | Height of the area to copy. |
destPixbuf | Destination pixbuf. |
destX | X coordinate within dest_pixbuf. |
destY | Y coordinate within dest_pixbuf. |