don't use python markup for console output (i.e. use indentation < 4)
[PyX/mjg.git] / examples / drawing / arrow.py
blob9b9e55a6f264871effb9b9f6277d4879ab3f5771
1 from pyx import *
3 c = canvas.canvas()
4 c.stroke(path.curve(0, 0, 0, 3, 2, 3, 3, 2),
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")