gdkDrawableCopyToImage {RGtk2} | R Documentation |
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.
gdkDrawableCopyToImage(object, image = NULL, src.x, src.y, dest.x, dest.y, width, height)
|
[GdkDrawable ] a GdkDrawable |
|
[GdkImage ] a GdkDrawable , or NULL if a new image should be created. |
|
[integer] x coordinate on drawable |
|
[integer] y coordinate on drawable |
|
[integer] x coordinate within image . Must be 0 if image is NULL |
|
[integer] y coordinate within image . Must be 0 if image is NULL |
|
[integer] width of region to get |
|
[integer] height or region to get |
Since 2.4
[GdkImage
] image
, or a new a GdkImage
containing the contents
of drawable
Derived by RGtkGen from GTK+ documentation