mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Resolve PDF renderer parse issue in preproc.
Resolve moving the PDF renderer information provided in size into settings as part of preproc. Resolves #66.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import processing.pdf.*;
|
||||
|
||||
void setup() {
|
||||
size(400, 400, PDF, "filename.pdf");
|
||||
}
|
||||
|
||||
void draw() {
|
||||
// Draw something good here
|
||||
line(0, 0, width/2, height);
|
||||
|
||||
// Exit the program
|
||||
println("Finished.");
|
||||
exit();
|
||||
}
|
||||
Reference in New Issue
Block a user