Learn R Programming

RGtk2 (version 2.8.7)

gdkPixbufNewSubpixbuf: gdkPixbufNewSubpixbuf

Description

Creates a new pixbuf which represents a sub-region of src.pixbuf. The new pixbuf shares its pixels with the original pixbuf, so writing to one affects both. The new pixbuf holds a reference to src.pixbuf, so src.pixbuf will not be finalized until the new pixbuf is finalized.

Usage

gdkPixbufNewSubpixbuf(object, src.x, src.y, width, height)

Arguments

Value

[GdkPixbuf] a new pixbuf