Description Usage Arguments Details Author(s)
Copies the width
x height
region of src
at coordinates (xsrc
,
ysrc
) to coordinates (xdest
, ydest
) in drawable
.
width
and/or height
may be given as -1, in which case the entire
src
drawable will be copied.
1 2 | gdkDrawDrawable(object, gc, src, xsrc, ysrc, xdest, ydest, width,
height)
|
|
a |
|
a |
|
the source |
|
X position in |
|
Y position in |
|
X position in |
|
Y position in |
|
width of rectangle to draw, or -1 for entire |
|
height of rectangle to draw, or -1 for entire |
Most fields in gc
are not used for this operation, but notably the
clip mask or clip region will be honored.
The source and destination drawables must have the same visual and
colormap, or errors will result. (On X11, failure to match
visual/colormap results in a BadMatch error from the X server.)
A common cause of this problem is an attempt to draw a bitmap to
a color drawable. The way to draw a bitmap is to set the bitmap as
the stipple on the GdkGC
, set the fill mode to GDK_STIPPLED
, and
then draw the rectangle.
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.