Method GTK2.GdkPixbuf()->composite_color()
- Method composite_color
GTK2.GdkPixbuf
composite_color(GTK2.GdkPixbuf
dest
,int
dest_x
,int
dest_y
,int
dest_width
,int
dest_height
,float
offset_x
,float
offset_y
,float
scale_x
,float
scale_y
,int
type
,int
overall_alpha
,int
check_x
,int
check_y
,int
check_size
,int
color1
,int
color2
)- Description
Creates a transformation of the source image 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 destinagion image.
See composite_color_simple() for a simpler variant of this function suitable for many tasks.