[cairo] render in grayscale

Per Hermansson hermansson.per at bredband.net
Tue Sep 22 00:01:47 PDT 2009


I'm using cairo to render a GTK+ widget (using gdk_cairo_create). The 
rendering is partially done using an external library routine (which I 
can't change).
Sometimes I want the widget to be rendered in grayscale.
Is it possible to modifiy cairo before or after the library has done the 
rendering so that the output appears in gray scale?


More information about the cairo mailing list