Hi Michael: A pathvector is like a vector of paths, you need to loop it and check path->closed() in each path.
Cheers, Jabier.
On Sat, 2017-06-24 at 19:43 +0200, Michael Soegtrop via Inkscape-devel wrote:
Dear Inkscape Team,
I did a merge request for an updated bool LPE. See the merge request comments.
What I still need is a method to check if a PathVector is closed or open. I want to issue an error message if the operands are not as expected, but I couldn't find a way to do this. Jabier wrote that there is some isClosed() function, but I couldn't find anything around a PathVector. Any help with this is appreciated.
Best regards,
Michael
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel