fix cross-device link error
[PyX.git] / test / functional / test_fill.py
blob3fc562a9ad9d5d537f3a928a694dbe5a66d3b80d
1 import sys; sys.path.insert(0, "../..")
2 from pyx import *
4 c = canvas.canvas()
6 p = path.rect(0, 0, 3, 3) + path.rect(1, 1, 1, 1)
8 c.fill(p)
10 c.fill(p, [trafo.translate(4, 0), style.fillrule.even_odd])
12 c.writeEPSfile(page_paperformat=document.paperformat.A4, page_fittosize=1)
13 c.writePDFfile(page_paperformat=document.paperformat.A4, page_fittosize=1)
14 c.writeSVGfile(page_paperformat=document.paperformat.A4, page_fittosize=1)