fix directory layout of tagging dir
[PyX.git] / examples / drawing / arrow.py
blob5c3f5e01ffcf982bf88bc72fa2d94c96b92e5098
1 from pyx import *
3 c = canvas.canvas()
4 c.stroke(path.curve(0, 0, 0, 4, 2, 4, 3, 3),
5 [style.linewidth.THICK, style.linestyle.dashed, color.rgb.blue,
6 deco.earrow([deco.stroked([color.rgb.red, style.linejoin.round]),
7 deco.filled([color.rgb.green])], size=1)])
8 c.writeEPSfile("arrow")
9 c.writePDFfile("arrow")