gdkPixbufGetFromImage: gdkPixbufGetFromImage

Description Usage Arguments Value Author(s)

View source: R/gdkFuncs.R

Description

Same as gdkPixbufGetFromDrawable but gets the pixbuf from an image.

Usage

1
2
gdkPixbufGetFromImage(src, cmap, src.x, src.y, dest.x, dest.y, 
    width, height)

Arguments

src

Source GdkImage.

cmap

A colormap, or NULL to use the one for src. [ allow-none ]

src.x

Source X coordinate within drawable.

src.y

Source Y coordinate within drawable.

dest.x

Destination X coordinate in pixbuf, or 0 if dest is NULL.

dest.y

Destination Y coordinate in pixbuf, or 0 if dest is NULL.

width

Width in pixels of region to get.

height

Height in pixels of region to get.

Value

A list containing the following elements:

retval

[GdkPixbuf] dest, newly-created pixbuf if dest was NULL, NULL on error

dest

Destination pixbuf, or NULL if a new pixbuf should be created. [ allow-none ]

Author(s)

Derived by RGtkGen from GTK+ documentation


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