PyX — Gallery: misc/pattern.py

0.2 KB
15.8 KB
9.2 KB

pattern

pattern.png
from pyx import *

p = pattern.pattern()
p.text(0, 0, r"\PyX")

c = canvas.canvas()
c.text(0, 0, r"\PyX", [trafo.scale(25), p])
c.writeEPSfile("pattern")
c.writePDFfile("pattern")