[cairo] Extending Cairo API to support reusable paths

M Joonas Pihlaja jpihlaja at cc.helsinki.fi
Wed Mar 31 08:18:32 PDT 2010


On Wed, 31 Mar 2010, Orhun Birsoy wrote:

> It will be great if containment tests could be performed on these
> retained paths. Similar to ID2D1Geometry::FillContainsPoint and
> ID2D1Geometry::StrokeContainsPoint.

You can do this now by creating a dummy cairo_t to retain your path 
for you and then use cairo_in_fill() or cairo_in_stroke().

Joonas


More information about the cairo mailing list