Twinside / Rasterific

A drawing engine in Haskell
BSD 3-Clause "New" or "Revised" License
140 stars 11 forks source link

Render multiple pdf pages #47

Closed jprider63 closed 6 years ago

jprider63 commented 6 years ago

This implements #46. It adds the function renderDrawingsAtDpiToPDF that will render a list of drawings to different pdf pages. I don't really know much about the pdf file format, but this seems to work for me.

Things could probably be refactored so that each page can have different widths and heights. runPdfEnv and its dependencies should probably be removed too.

Twinside commented 6 years ago

Thanks