composite_color_simple
Description:
public Pixbuf? composite_color_simple (int dest_width, int dest_height, InterpType interp_type, int overall_alpha, int check_size, uint32 color1, uint32 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:
this |
a Pixbuf |
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 |