copyArea

open fun copyArea(srcX: <Error class: unknown class>, srcY: <Error class: unknown class>, width: <Error class: unknown class>, height: <Error class: unknown class>, destPixbuf: Pixbuf, destX: <Error class: unknown class>, destY: <Error class: unknown class>)

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.