Gdk.Pixbuf.CompositeColorSimple Method
Scaling with checkboard rendering

Syntax

public Pixbuf CompositeColorSimple (int dest_width, int dest_height, InterpType interp_type, int overall_alpha, int check_size, uint color1, uint color2)

Parameters

dest_width
The width of destination image
dest_height
The height of destination image
interp_type
The interpolation type for the transformation.
overall_alpha
Overall alpha for source image (0..255)
check_size
The size of checks in the checkboard (must be a power of two)
color1
The color of check at upper left
color2
The color of the other check

Returns

The new Pixbuf, or null if not enough memory could be allocated for it.

Remarks

Creates a new Pixbuf by scaling src to dest_width x dest_height and compositing the result with a checkboard of colors color1 and color2.

The colors must be in RGB format.

Requirements

Namespace: Gdk
Assembly: gdk-sharp (in gdk-sharp.dll)