Re: creating non-rectangular clips
"Enrico Weigelt, metux IT consult" <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
On 14.01.2016 08:44, Lawrence D'Oliveiro wrote: Hi, > To define such a path, you will need two subpaths: one that covers the > largest possible area into which drawing might happen, and another that > covers just the boundary of the window. Give them opposite directions, > and tne winding-number fill rule will produce the desired result. Or > use the even-odd fill rule, then the subpath directions don’t matter. I know how to create a fill *inside* the window, but not the opposite. Could you give me some example code ? --mtx -- Enrico Weigelt, metux IT consulting +49-151-27565287 -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo