fix tiger lip issue

This commit is contained in:
Ryan Oldenburg 2021-01-18 00:48:21 -06:00
parent ce938fa92a
commit 882ae0127c
2 changed files with 4 additions and 1 deletions

View file

@ -503,7 +503,10 @@ proc commandsToPolygons*(commands: seq[PathCommand]): seq[seq[Vec2]] =
of RSCubic:
assert command.numbers.len == 4
ctr = at
if prevCommand in {Cubic, SCubic, RCubic, RSCubic}:
ctr = 2 * at - ctr2
else:
ctr = at
ctr2.x = at.x + command.numbers[0]
ctr2.y = at.y + command.numbers[1]
to.x = at.x + command.numbers[2]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 347 KiB

After

Width:  |  Height:  |  Size: 347 KiB