From 4f5d8f3bf21bb9592e478b8af3daa84d87174589 Mon Sep 17 00:00:00 2001 From: Andrew Port Date: Sat, 1 Apr 2023 15:30:04 -0400 Subject: [PATCH] fix issue-198; circles parsing to non-closed paths --- svgpathtools/svg_to_paths.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svgpathtools/svg_to_paths.py b/svgpathtools/svg_to_paths.py index a8decba..65591af 100644 --- a/svgpathtools/svg_to_paths.py +++ b/svgpathtools/svg_to_paths.py @@ -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):