[cairo] Help for using cairo_region and clip
Adhir Garg
adhir.garg at gmail.com
Wed Oct 10 02:12:52 PDT 2012
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
More information about the cairo
mailing list