gdkPixbufCopyArea: gdkPixbufCopyArea

Description Usage Arguments Details Author(s)

View source: R/gdkFuncs.R

Description

Copies a rectangular area from src.pixbuf to dest.pixbuf. Conversion of pixbuf formats is done automatically.

Usage

1
2
gdkPixbufCopyArea(object, src.x, src.y, width, height, dest.pixbuf, 
    dest.x, dest.y)

Arguments

object

Source pixbuf.

src.x

Source X coordinate within src.pixbuf.

src.y

Source Y coordinate within src.pixbuf.

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.

Details

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.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.