Pixbuf.compositeColorSimple
gdkpixbuf.pixbuf.Pixbuf compositeColorSimple(int destWidth, int destHeight, gdkpixbuf.types.InterpType interpType, int overallAlpha, int checkSize, uint color1, uint color2)Creates a new pixbuf by scaling src to dest_width x dest_height and alpha blending the result with a checkboard of colors color1 and color2.
Parameters
destWidth | the width of destination image |
destHeight | the height of destination image |
interpType | the interpolation type for the transformation. |
overallAlpha | overall alpha for source image (0..255) |
checkSize | 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