[cairo] PNG and transparent background
hsx at mail.ru
Sat Jan 29 11:54:29 PST 2011
I have a very simple problem. I'm using cairo to draw some text and save it to png format file,using cairo_surface_write_to_png. But, I can't make background transparent. I think, I simply don't get an idea of doing that.
I've tried two ways to do that:
(Don't work obviously, because simply draws a transparent rectangle)
And other, that don't work either:
In all cases, all I've got is a white opaque background. What can be used to perform this trick?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cairo