gdkDrawableCopyToImage {RGtk2}R Documentation

gdkDrawableCopyToImage

Description

Copies a portion of drawable into the client side image structure image. If image is NULL, creates a new image of size width x height and copies into that. See gdkDrawableGetImage for further details.

Usage

gdkDrawableCopyToImage(object, image = NULL, src.x, src.y, dest.x, dest.y, width, height)

Arguments

object [GdkDrawable] a GdkDrawable
image [GdkImage] a GdkDrawable, or NULL if a new image should be created.
src.x [integer] x coordinate on drawable
src.y [integer] y coordinate on drawable
dest.x [integer] x coordinate within image. Must be 0 if image is NULL
dest.y [integer] y coordinate within image. Must be 0 if image is NULL
width [integer] width of region to get
height [integer] height or region to get

Details

Since 2.4

Value

[GdkImage] image, or a new a GdkImage containing the contents of drawable

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]