fix directory layout of tagging dir
[PyX.git] / examples / drawing / path.py
blob5fbf27691615d5cd994070e75d84d759b25d1ea7
1 from pyx import *
3 c = canvas.canvas()
4 c.stroke(path.line(0, 0, 3, 0))
5 c.stroke(path.rect(0, 1, 1, 1))
6 c.fill(path.circle(2.5, 1.5, 0.5))
7 c.writeEPSfile("path")
8 c.writePDFfile("path")