otherlab / geode

A computational geometry library for C++ and Python
Other
86 stars 22 forks source link

nanosvg treats cubic bezier - line - shorthand bezier incorrectly #39

Open girving opened 11 years ago

girving commented 11 years ago

The shorthand Bezier will reuse one of the control points of the cubic Bezier, even though there is a line in between. For details, see http://www.w3.org/TR/SVG/paths.html#PathDataCubicBezierCommands.

girving commented 11 years ago

The same goes for quadratic Bezier followed by cubic Bezier, etc.