Learn R Programming

RGtk2 (version 2.8.8)

gdkDrawableCopyToImage: 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

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

Value

Details

Since 2.4