Re: Path length

Bryce Harrington <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
On Tue, Mar 24, 2015 at 05:09:50PM +0000, Stuart Axon wrote:
> Is the best way to get the length of a cairo path to call cairo_copy_path_flat and sum the lengths of the LINE_TOs contained inside ?
> I've been looking at arc lengths and it seems it can get complex, any chance of cairo providing cairo_path_length in future, or should I be looking at something like 2geom for this sort of thing ?
>  S++

I haven't seen anyone making plans to implement that, so 2geom might be
your best choice right now.  That said, I imagine patches to add that to
cairo would be entertained if the use case for it is strong enough.

Bryce
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.