generated pdf cut off at y=1000
in
Core Library Questions
•
2 years ago
hi!
I generate a pdf with this size:
size(1200, 2000, PDF, "testruns.pdf");
My problem is, that the pdf only contains the content that is smaller that the y coordinate of 1000.
Everything below this is not displayed in the resulting painting.
To illustrate: the final line lines should more or less touch the right bottom of my pdf. Instead it is cut off at the middle because my pdf just ends there.
for (int i = 0; i < p.height; i++) {
if (i%10==0)
p.line(0,0,p.width,i);
}
Where can i alter this 1000 limit?
cheers
1