[qu2cu_pen] Respect all_cubic
This commit is contained in:
parent
77d25b332e
commit
336cfc3e8f
@ -63,7 +63,11 @@ class Qu2CuPen(ContourFilterPen):
|
||||
currentPt = None
|
||||
newContour = []
|
||||
for op, args in contour:
|
||||
if op == "qCurveTo" and len(args) > 2 and args[-1] is not None:
|
||||
if (
|
||||
op == "qCurveTo"
|
||||
and (self.all_cubic or len(args) > 2)
|
||||
and args[-1] is not None
|
||||
):
|
||||
quadratics.append((currentPt,) + args)
|
||||
else:
|
||||
if quadratics:
|
||||
|
Loading…
x
Reference in New Issue
Block a user