aboutsummaryrefslogtreecommitdiffstats
path: root/Lib/defconQt/representationFactories/qPainterPathFactory.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/defconQt/representationFactories/qPainterPathFactory.py')
-rw-r--r--Lib/defconQt/representationFactories/qPainterPathFactory.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/defconQt/representationFactories/qPainterPathFactory.py b/Lib/defconQt/representationFactories/qPainterPathFactory.py
index 0b99b82..7270f5f 100644
--- a/Lib/defconQt/representationFactories/qPainterPathFactory.py
+++ b/Lib/defconQt/representationFactories/qPainterPathFactory.py
@@ -1,6 +1,7 @@
from fontTools.pens.qtPen import QtPen
from PyQt5.QtCore import Qt
+
def QPainterPathFactory(glyph):
pen = QtPen(glyph.layer)
glyph.draw(pen)