Package: gdk-pixbuf

Function gdk-pixbuf:pixbuf-copy-area

Lambda List

gdk-pixbuf:pixbuf-copy-area (src xsrc ysrc width height dest xdest ydest)

Arguments

src -- a gdk-pixbuf:pixbuf object
xsrc -- an integer for the source x coordinate within src
ysrc -- an integer for the source y coordinate within src
width -- an integer for the width of the area to copy
height -- an integer for the height of the area to copy
dest -- a gdk-pixbuf:pixbuf destination object
xdest -- an integer for the x coordinate within dest
ydest -- an integer for the y coordinate within dest

Details

Copies a rectangular area from src to dest. 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.
 

See also

#2025-09-26