pyx-project / pyx

Repository of PyX, a Python package for the creation of PostScript, PDF, and SVG files.
https://pyx-project.org/
GNU General Public License v2.0
109 stars 18 forks source link

Example for Page and Document #40

Open inkyusa opened 2 years ago

inkyusa commented 2 years ago

Hi, Thank you for contributing/maintaining a nice package. I'm just wondering that if I want to set a canvas with width = 1000mm and height = 800mm with 20mm margin for all surrounding sides (i.e., top, left, right, and bottom have 20mm white space), is there any similar example to do this? I found Page APIs from https://pyx-project.org/manual/document.html but it is a bit difficult to follow for a new pyx user. Thanks again!. Best regards