[perimeterPen] Update check for cusps
If p1 coincides with p0 or p2, we still can use the lineTo() code.
This commit is contained in:
parent
7915a45ddf
commit
25083502e4
@ -51,7 +51,7 @@ class PerimeterPen(BasePen):
|
||||
return
|
||||
origDist = _dot(n,d0)
|
||||
if origDist == 0.:
|
||||
if _dot(d0,d1) > 0:
|
||||
if _dot(d0,d1) >= 0:
|
||||
self._lineTo(p2)
|
||||
return
|
||||
assert 0 # TODO handle cusps
|
||||
|
Loading…
x
Reference in New Issue
Block a user