Skip to content

Commit

Permalink
fix issue-198; circles parsing to non-closed paths
Browse files Browse the repository at this point in the history
  • Loading branch information
mathandy committed Apr 1, 2023
1 parent c4d98af commit 4f5d8f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion svgpathtools/svg_to_paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def ellipse2pathd(ellipse):
d += 'a' + str(rx) + ',' + str(ry) + ' 0 1,0 ' + str(2 * rx) + ',0'
d += 'a' + str(rx) + ',' + str(ry) + ' 0 1,0 ' + str(-2 * rx) + ',0'

return d
return d + 'z'


def polyline2pathd(polyline, is_polygon=False):
Expand Down

0 comments on commit 4f5d8f3

Please sign in to comment.