cairo_set_source_color


Description:


[ Version ( since = "1.0" ) ]
public void cairo_set_source_color (Context cr, Color color)

Utility function for setting the source color of cr using a Color.

This function is the equivalent of:

  cairo_set_source_rgba (cr,
color->red / 255.0,
color->green / 255.0,
color->blue / 255.0,
color->alpha / 255.0);

Parameters:

cr

a Cairo context

color

a Color


Namespace: Clutter
Package: clutter-1.0