copy_area


Description:

public void copy_area (int src_x, int src_y, int width, int height, Pixbuf dest_pixbuf, int dest_x, int dest_y)

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:

this

Source pixbuf.

src_x

Source X coordinate within this.

src_y

Source Y coordinate within this.

width

Width of the area to copy.

height

Height of the area to copy.

dest_pixbuf

Destination pixbuf.

dest_x

X coordinate within dest_pixbuf.

dest_y

Y coordinate within dest_pixbuf.




2022 vala-language.org