Need a tool to calculate SVG path length and area

General discussions about Inkscape.
golubovsky
Posts: 1
Joined: Wed Oct 28, 2009 5:59 am

Need a tool to calculate SVG path length and area

Postby golubovsky » Wed Oct 28, 2009 6:11 am

Hi,

Can anyone recommend a (command-line) program (considering Linux to use it under) or a library to calculate path length and area inside path (assuming it is closed) given a Inkscape-created SVG containing such path? In case of a library, language does not matter much (C++ is not preferred though, C is OK, script languages are OK).

I'm hoping that Inkscape users process their SVG somehow, so somebody can give an answer to my question.

Thanks.

PS Google search does not give much because the terms are so common.

golubovsky

User avatar
prkos
Posts: 1625
Joined: Tue Nov 06, 2007 8:45 am
Location: Croatia

Re: Need a tool to calculate SVG path length and area

Postby prkos » Wed Oct 28, 2009 12:27 pm

just hand over the chocolate and nobody gets hurt

Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download


Return to “General Discussions”