[Snippets/statShape] Pass glyphset to StatisticPen
Such that components can be resolved.
This commit is contained in:
parent
c7e3348904
commit
cb2f4c1a61
@ -35,7 +35,7 @@ with cairo.SVGSurface(
|
|||||||
glyph.draw(pen)
|
glyph.draw(pen)
|
||||||
context.fill()
|
context.fill()
|
||||||
|
|
||||||
stats = StatisticsPen()
|
stats = StatisticsPen(glyphset)
|
||||||
glyph.draw(stats)
|
glyph.draw(stats)
|
||||||
|
|
||||||
# https://cookierobotics.com/007/
|
# https://cookierobotics.com/007/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user