MCPcopy Create free account
hub / github.com/PageBot/PageBot / drawGlyphPath

Method drawGlyphPath

Lib/pagebot/contexts/flatcontext/flatcontext.py:1154–1157  ·  view source on GitHub ↗

Converts the cubic commands to a drawable path.

(self, glyph)

Source from the content-addressed store, hash-verified

1152 return self._bezierpath
1153
1154 def drawGlyphPath(self, glyph):
1155 """Converts the cubic commands to a drawable path."""
1156 path = self.getGlyphPath(glyph)
1157 self.drawShapePath()
1158
1159 def drawPath(self, path=None, p=None, sx=1, sy=None):
1160 self.drawShapePath()

Callers 6

buildMethod · 0.45
drawMethod · 0.45
drawMethod · 0.45
drawMethod · 0.45
buildMethod · 0.45
_drawGlyphMarkerMethod · 0.45

Calls 2

getGlyphPathMethod · 0.95
drawShapePathMethod · 0.95

Tested by

no test coverage detected