Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Where is my PDF?

$
0
0
OK, I fully realize I must be doing something extremely stupid and yes, I've looked through this forum for an answer but...

When I copy and run a simple demo program on Windows 7 using the vanilla download of Processing 2.0b7, namely:

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

I get no errors, 'Finished' is printed but there's no pdf. What am I doing wrong?

MTIA,
HH

Viewing all articles
Browse latest Browse all 1768

Trending Articles