1 import sys
; sys
.path
.insert(0, "../..")
6 p
= path
.rect(0, 0, 3, 3) + path
.rect(1, 1, 1, 1)
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)