gdkPixbufComposite {RGtk2} | R Documentation |
Creates a transformation of the source image src
by scaling by
scale.x
and scale.y
then translating by offset.x
and offset.y
.
This gives an image in the coordinates of the destination pixbuf.
The rectangle (dest.x
, dest.y
, dest.width
, dest.height
)
is then composited onto the corresponding rectangle of the
original destination image.
gdkPixbufComposite(object, dest, dest.x, dest.y, dest.width, dest.height, offset.x, offset.y, scale.x, scale.y, interp.type, overall.alpha)
|
[GdkPixbuf ] a GdkPixbuf |
|
[GdkPixbuf ] the GdkPixbuf into which to render the results |
|
[integer] the left coordinate for region to render |
|
[integer] the top coordinate for region to render |
|
[integer] the width of the region to render |
|
[integer] the height of the region to render |
|
[numeric] the offset in the X direction (currently rounded to an integer) |
|
[numeric] the offset in the Y direction (currently rounded to an integer) |
|
[numeric] the scale factor in the X direction |
|
[numeric] the scale factor in the Y direction |
|
[GdkInterpType ] the interpolation type for the transformation. |
|
[integer] overall alpha for source image (0..255) |
When the destination rectangle contains parts not in the source image, the data at the edges of the source image is replicated to infinity.
Compositing of pixbufs
Derived by RGtkGen from GTK+ documentation