Files
processing4/java/test/resources/sizethis.pde

15 lines
222 B
Plaintext

import processing.pdf.*;
void setup() {
this.size(400, 400, PDF, "filename.pdf");
}
void draw() {
// Draw something good here
line(0, 0, width/2, height);
// Exit the program
println("Finished.");
exit();
}