qtPen: use native quads impl

This commit is contained in:
Adrien Tétar 2016-07-25 11:14:13 -07:00
parent 539a5010e5
commit 1126e6edda

View File

@ -24,5 +24,8 @@ class QtPen(BasePen):
def _curveToOne(self, p1, p2, p3):
self.path.cubicTo(*p1+p2+p3)
def _qCurveToOne(self, p1, p2):
self.path.quadTo(*p1+p2)
def _closePath(self):
self.path.closeSubpath()