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);
cr |
a Cairo context |
color |
a Color |