qtPen: use native quads impl
This commit is contained in:
parent
539a5010e5
commit
1126e6edda
@ -24,5 +24,8 @@ class QtPen(BasePen):
|
|||||||
def _curveToOne(self, p1, p2, p3):
|
def _curveToOne(self, p1, p2, p3):
|
||||||
self.path.cubicTo(*p1+p2+p3)
|
self.path.cubicTo(*p1+p2+p3)
|
||||||
|
|
||||||
|
def _qCurveToOne(self, p1, p2):
|
||||||
|
self.path.quadTo(*p1+p2)
|
||||||
|
|
||||||
def _closePath(self):
|
def _closePath(self):
|
||||||
self.path.closeSubpath()
|
self.path.closeSubpath()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user