Hi group,
I`m struggling a bit with the pyx API, and could use some help..

I`m trying to lau out some text boxes but I`m having trouble getting
my head around lengths and the different units in pyx. I can place a
box containing text like this:

tbox = pyx.text.text(x, y, "some text")
tpath = tbox.path()
canvas_instance.draw(tpath, [pyx.deco.stroked()])
canvas_instance.insert(tbox)

How can I set the box length? If I want to draw another box starting
where the first ends, how can I do this?

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to