enable warnings and fix issues reported by that
[PyX.git] / test / functional / test_fill.py
blob1eeee9e0e3d317926c325927996e7d7c8598a179
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)