AllEdges: Fix for new backend
This commit is contained in:
parent
09b4de82de
commit
043f208213
|
@ -45,12 +45,14 @@ class AllEdges(Boxes):
|
||||||
|
|
||||||
for c in chars:
|
for c in chars:
|
||||||
with self.saved_context():
|
with self.saved_context():
|
||||||
|
self.move(0, 0, "", True)
|
||||||
self.moveTo(x, 0, 90)
|
self.moveTo(x, 0, 90)
|
||||||
self.edge(t+self.edges[c].startwidth())
|
self.edge(t+self.edges[c].startwidth())
|
||||||
self.corner(90)
|
self.corner(90)
|
||||||
self.edges[c](x, h=4*t)
|
self.edges[c](x, h=4*t)
|
||||||
self.corner(90)
|
self.corner(90)
|
||||||
self.edge(t+self.edges[c].endwidth())
|
self.edge(t+self.edges[c].endwidth())
|
||||||
|
self.move(0, 0, "")
|
||||||
|
|
||||||
self.moveTo(0, 3*t + self.edges[c].spacing())
|
self.moveTo(0, 3*t + self.edges[c].spacing())
|
||||||
self.text("%s - %s" % (c, self.edges[c].description))
|
self.text("%s - %s" % (c, self.edges[c].description))
|
||||||
|
|
Loading…
Reference in New Issue