Method
CoglColorpremultiply
Declaration [src]
void
cogl_color_premultiply (
CoglColor* color
)
Description [src]
Converts a non-premultiplied color to a pre-multiplied color. For example, semi-transparent red is (1.0, 0, 0, 0.5) when non-premultiplied and (0.5, 0, 0, 0.5) when premultiplied.