Pixbuf.compositeColorSimple

Creates a new #GdkPixbuf by scaling @src to @dest_width x @dest_height and alpha blending the result with a checkboard of colors @color1 and @color2.

class Pixbuf
compositeColorSimple

Parameters

destWidth int

the width of destination image

destHeight int

the height of destination image

interpType GdkInterpType

the interpolation type for the transformation.

overallAlpha int

overall alpha for source image (0..255)

checkSize int

the size of checks in the checkboard (must be a power of two)

color1 uint

the color of check at upper left

color2 uint

the color of the other check

Return Value

Type: Pixbuf

the new #GdkPixbuf, or %NULL if not enough memory could be allocated for it.

Meta