add UnicodeEngine (MultiEngineText and axis texters returning MultiEngineText), texte...
[PyX.git] / examples / drawing / strokefill.py
blobfc836fdf168ab98958e26bf604ed002e2db77246
1 from pyx import *
3 c = canvas.canvas()
4 c.stroke(path.rect(0, 0, 1, 1), [style.linewidth.Thick,
5 color.rgb.red,
6 deco.filled([color.rgb.green])])
7 c.writeEPSfile("strokefill")
8 c.writePDFfile("strokefill")
9 c.writeSVGfile("strokefill")