[cairo] xor fill

Travis Griggs tgriggs at cincom.com
Tue Jan 20 23:02:13 PST 2009


On Jan 20, 2009, at 7:18 PM, Dan McMahill wrote:

> is there a way to do an xor fill with cairo?  I know about  
> cairo_fill()
> and cairo_fill_preserve() but can't seem to figure out how to do an  
> xor
> fill.


No, there is not. Having whined about it myself once upon a time, I  
feel obligated to pass on the news. That said, I've found that Cairo  
has allowed me to do graphical things in place of xor solutions that I  
liked way better anyway. In short, it's a bummer, because if you just  
want to port an older idea of portraying something, you can't, but  
OTOH, it's cool, because Cairo will force you to do it cooler anyway.

It would be interesting to hear what you were hoping to use it for, we  
might suggest something cooler. :)

--
Travis Griggs
Objologist
"An idea, like a ghost, must be spoken to a little before it will  
explain itself." - Charles Dickens



More information about the cairo mailing list