[cairo] Clipping and filling

Kalle Vahlman kalle.vahlman at gmail.com
Fri Nov 30 06:07:08 PST 2007


2007/11/30, Donn <donn.ingle at gmail.com>:
> Hello again all,
>  I don't know if this is possible, but:
>  I have a function that performs clipping and it relies on code being run that
> does not perform a stroke ( ) or a fill ( ) (like code B example below). I am
> wondering if it's possible to turn a block of code that *includes* a fill ( )
> *into* a result that is as if no fill ( ) were performed?

Not sure if I understood correctly, but sounds like you are looking
for fill_preserve() which does not clear the current path. If you need
to consider different sources, it might get hairy though...

-- 
Kalle Vahlman, zuh at iki.fi
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi


More information about the cairo mailing list