Rdocumentation
powered by
Learn R Programming
RGtk2 (version 2.12.17)
gdkDrawImage: gdkDrawImage
Description
Draws a
GdkImage
onto a drawable. The depth of the
GdkImage
must match the depth of the
GdkDrawable
.
Usage
gdkDrawImage(object, gc, image, xsrc, ysrc, xdest, ydest, width, height)
Arguments
object
[
GdkDrawable
] a
GdkDrawable
(a
GdkWindow
or a
GdkPixmap
gc
[
GdkGC
] a
GdkGC
.
image
[
GdkImage
] the
GdkImage
to draw.
xsrc
[integer] the left edge of the source rectangle within
image
.
ysrc
[integer] the top of the source rectangle within
image
.
xdest
[integer] the x coordinate of the destination within
drawable
.
ydest
[integer] the y coordinate of the destination within
drawable
.
width
[integer] the width of the area to be copied, or -1 to make the area extend to the right edge of
image
.
height
[integer] the height of the area to be copied, or -1 to make the area extend to the bottom edge of
image
.