[cairo] Clipping and cairo_new_sub_path

Krzysztof Kosiński tweenk.pl at gmail.com
Fri Jun 25 17:32:15 PDT 2010


Hello

I'm using Cairo 1.8.10.
When I call cairo_new_sub_path after drawing some (closed) path:
- calling cairo_fill will draw a shape,
- calling cairo_clip and then cairo_paint won't draw anything.

When I refrain from calling cairo_new_sub_path, the operations will
produce the same results. Is that the expected behavior?

Regards, Krzysztof Kosiński


More information about the cairo mailing list