Hi all,
This is probably obvious to you but I`m new to pyx so please help me out..
>From running the script below I would assume that the line would
divide the rectangle into two parts, but there is an opening close to
the top of the drawing, why is that?

___________________

from pyx import *

c = canvas.canvas()
c.stroke(path.rect(0.5,0.5,20.5,29.2))
c.stroke(path.line(10.5,0.5,10.5,29.2))
page = document.page(c, paperformat=document.paperformat.A4, centered = 1)
#document.paperformat.A4 A4 [210]mm [297]mm"
document = document.document(pages=[page])
document.writeEPSfile(r"C:\test")
document.writePDFfile(r"C:\test")

___________________

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to