mathandy / svgpathtools

A collection of tools for manipulating and analyzing SVG Path objects and Bezier curves.
MIT License
557 stars 142 forks source link

Arc parsing round-off fix #31

Closed andersgb closed 6 years ago

andersgb commented 7 years ago

Add a unittest to demonstrate the issue, and introduce a fix by clamping acos input to [-1, 1] with round()

mathandy commented 6 years ago

Thanks @andersgb