fix cross-device link error
[PyX.git] / examples / hello.py
blobd1565e904772e72da15fbe0c12ee0efcddd97371
1 from pyx import *
3 c = canvas.canvas()
4 c.text(0, 0, "Hello, world!")
5 c.stroke(path.line(0, 0, 2, 0))
6 c.writeEPSfile()
7 c.writePDFfile()
8 c.writeSVGfile()