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

Method drawGlyphPath

Lib/pagebot/contexts/basecontext/basecontext.py:1273–1276  ·  view source on GitHub ↗

Converts the cubic commands to a drawable path.

(self, glyph)

Source from the content-addressed store, hash-verified

1271
1272
1273 def drawGlyphPath(self, glyph):
1274 """Converts the cubic commands to a drawable path."""
1275 path = self.getGlyphPath(glyph)
1276 self.drawPath(path)
1277
1278 def getGlyphPath(self, glyph, p=None, path=None):
1279 """PageBot function."""

Callers 1

drawGlyphMethod · 0.95

Calls 2

getGlyphPathMethod · 0.95
drawPathMethod · 0.95

Tested by

no test coverage detected