Help for using cairo_region and clip
Adhir Garg <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <CAAtGbNiRJ_4_QyLdVdXjOuD0BrTqtcTFf8JtamEf2XBy9CxDQw@mail.gmail.com> |
Hello, I am pretty new to Cairo and have a query regarding use of cairo_region_t and clip. What I need is 1. Create a region - created using cairo_region_create_rectangle 2. Create a Path and clip it with region - Here if I use cairo_clip(), then the region is not taken into consideration. Somehow, I couldn't locate correct API for intersection of region with clip. On extended platforms I could get set_clip_region, but could not find the same in Cairo listed APIs. Thanks in advance for your help. Regards, Adhir -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo