mathandy / svgpathtools

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

Provide Bezier degree reduction #159

Open runxel opened 3 years ago

runxel commented 3 years ago

Sometimes you get delivered (e.g. from freetype) beziers that have 5, 6, or even more control points = being a higher degree bezier. It would be great to have a multi-degree reduction function so we can actually use either QuadraticBezier() or CubicBezier().