[cairo] How can I find out the current color when I call cairo_fill?

ying lcs yinglcs at gmail.com
Fri Jan 4 00:14:39 PST 2008


Hi,

Can you please tell me if there is any function in cairo which allow me to find
out what is the color (rbg), when i call
cairo_rectangle(...);
cairo_fill(...);

I see there is a method cairo_set_source_rgb(), but I don't see a corresponding
getter?

Thank you for any pointers.


More information about the cairo mailing list