PyX - Example: misc/pattern.py

0.2 KB
5.1 KB
3.7 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")