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

ying lcs yinglcs at gmail.com
Fri Jan 4 00:25:12 PST 2008


Thanks. But somewhere in the application that i am working is set the
color to some other values
i just want to find out what it is being set it. Hence, I am looking
for the corresponding method for cairo_get_source_rgb

Thank you.

On Jan 4, 2008 2:29 AM, Donn <donn.ingle at gmail.com> wrote:
> > I see there is a method cairo_set_source_rgb(), but I don't see a
> > corresponding getter?
> AFAIK, the default colour is black. Why do you want to know the colour?
>
> \d
>


More information about the cairo mailing list