Fix type hinting issues
This commit is contained in:
parent
856592599e
commit
bbe47fa982
1 changed files with 2 additions and 2 deletions
|
@ -213,10 +213,10 @@ class Path():
|
||||||
cr.rel_curve_to(*args[i:i+6])
|
cr.rel_curve_to(*args[i:i+6])
|
||||||
elif command == 'S' or command == 's':
|
elif command == 'S' or command == 's':
|
||||||
for i in range(0, len(args), 4):
|
for i in range(0, len(args), 4):
|
||||||
x2, y2, x, y = args[i:i+4]
|
x2, y2, x, y = map(float, args[i:i+4])
|
||||||
|
|
||||||
if last[0] == 'C' or last[0] == 'c':
|
if last[0] == 'C' or last[0] == 'c':
|
||||||
x1, y1 = last[1][2:4]
|
x1, y1 = map(float, last[1][2:4])
|
||||||
elif last[0] == 'S' or last[0] == 's':
|
elif last[0] == 'S' or last[0] == 's':
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Reference in a new issue