[cairo] erasing parts of an imagesurface?

Erik Blankinship erikb at mediamods.com
Mon Feb 14 08:50:22 PST 2011


How do I replace pixels on a cairo ARGB surface with new alpha=0 pixels?

Explanation: I want to "erase" what is painted already, not paint over
pixels with invisible paint (which is what all of my experimentation has
ended up doing).

A pycairo snippet would be much appreciated.  Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20110214/dc1f4368/attachment.htm>


More information about the cairo mailing list