Description Usage Arguments Details Author(s)
Creates a transformation of the source image src
by scaling by
scale.x
and scale.y
then translating by offset.x
and offset.y
,
then composites the rectangle (dest.x
,dest.y
, dest.width
,
dest.height
) of the resulting image with a checkboard of the
colors color1
and color2
and renders it onto the destination
image.
1 2 3 | gdkPixbufCompositeColor(object, dest, dest.x, dest.y, dest.width,
dest.height, offset.x, offset.y, scale.x, scale.y, interp.type,
overall.alpha, check.x, check.y, check.size, color1, color2)
|
|
a |
|
the |
|
the left coordinate for region to render |
|
the top coordinate for region to render |
|
the width of the region to render |
|
the height of the region to render |
|
the offset in the X direction (currently rounded to an integer) |
|
the offset in the Y direction (currently rounded to an integer) |
|
the scale factor in the X direction |
|
the scale factor in the Y direction |
|
the interpolation type for the transformation. |
|
overall alpha for source image (0..255) |
|
the X offset for the checkboard (origin of checkboard is at - |
|
the Y offset for the checkboard |
|
the size of checks in the checkboard (must be a power of two) |
|
the color of check at upper left |
|
the color of the other check |
See gdkPixbufCompositeColorSimple
for a simpler variant of this
function suitable for many tasks.
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.