[transformPen] Minor
This commit is contained in:
parent
69c11928a2
commit
69f38605d1
@ -42,11 +42,8 @@ class TransformPen(AbstractPen):
|
||||
self._outPen.qCurveTo(*points)
|
||||
|
||||
def _transformPoints(self, points):
|
||||
new = []
|
||||
transformPoint = self._transformPoint
|
||||
for pt in points:
|
||||
new.append(transformPoint(pt))
|
||||
return new
|
||||
return [transformPoint(pt) for pt in points]
|
||||
|
||||
def closePath(self):
|
||||
self._outPen.closePath()
|
||||
|
Loading…
x
Reference in New Issue
Block a user