fix issue-198; circles parsing to non-closed paths

pull/199/head
Andrew Port 2023-04-01 15:30:04 -04:00
parent c4d98afc68
commit 4f5d8f3bf2
1 changed files with 1 additions and 1 deletions

View File

@ -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'
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): def polyline2pathd(polyline, is_polygon=False):