Loading...
Logo
Processing Forum
On here it says that I can write continuously to a pdf file, and I've got that to work OK. I have two questions:
 
- can I split the output at all into smaller chunks? I'm getting a ginormous output pdf and it would be nice to be able to split it
 
- the command for getting the renderer is
PGraphicsPDF pdf = (PGraphicsPDF) g;  // Get the renderer
What is the "g" for?
 
Thanks

 

Replies(2)

What do you mean by "split the output into smaller chunks"? Do you want PDFs with smaller dimensions, or multiple PDFs or what?
Split the output: close the current PDF, open a new one...
g is just the name of the PGraphics used by the sketch.