misc -> gallery
[PyX.git] / gallery / misc / pattern.py
blob665b87e1a208203363da56cfa27602e8cbe4cfb1
1 from pyx import *
3 p = pattern.pattern()
4 p.text(0, 0, r"\PyX")
6 c = canvas.canvas()
7 c.text(0, 0, r"\PyX", [trafo.scale(25), p])
8 c.writeEPSfile("pattern")
9 c.writePDFfile("pattern")