-
Notifications
You must be signed in to change notification settings - Fork 65
Closed
Description
One would expect the cross to be drawn exactly in the center of the middle H it is instead a bit off to the left and down
import vcs
x=vcs.init()
t = vcs.createtext()
t.x=[.8]
t.y=[.8]
t.string = "HHHHH"
t.valign = "half"
t.halign="center"
x.plot(t)
l=vcs.createline()
l.color=["red"]
l.x=[.1,.9]
l.y=[t.y,t.y]
x.plot(l)
l=vcs.createline()
l.color=["blue"]
l.y=[.1,.9]
l.x=[t.x,t.x]
x.plot(l)
x.png("blah")
raw_input("Blah")