Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
psikomic
psikomic's Profile
2
Posts
0
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
printing PDF with geomerative
[2 Replies]
15-Jan-2012 02:26 PM
Forum:
Contributed Library Questions
Hi, i am not sure what's about this code:
import geomerative.*;
import processing.pdf.*;
RFont font;
boolean saveOneFrame = false;
void setup()
{
size(400, 400);
smooth();
RG.init(this);
font = new RFont( "lucon.ttf", 80, RFont.CENTER);
}
void draw()
{
beginRecord(PDF, "test.pdf");
background(255);
translate(mouseX/2, mouseY/2);
font.draw("Hello?");
if (saveOneFrame == true) {
endRecord();
noLoop();
}
}
void KeyPressed () {
if (key == 'B' || key == 'b') { // When 'B' or 'b' is pressed,
saveOneFrame = true;
}
but i can not print to PDF...
help!!
text and fonts inside a toxi-Tilesaver
[0 Replies]
19-Oct-2011 01:04 PM
Forum:
Contributed Library Questions
Hi
I was sketching about a tilesaver functionallity:
I started here:
http://processing.org/discourse/yabb2/YaBB.pl?num=1248245155/0%29
i fix the error here:
http://forum.processing.org/topic/tilesaver-not-working-with-v-1-0-redux
So, i was trying to insert some text on a particular design using this tilesaver. But i can not to do it... as soon as i try to put in some text, the sketch execution is 0,00000 seg...nothing happens....
It's something about openGL....?? Could i play with some text objects inside a tilesaver just like shows:
http://processing.org/discourse/yabb2/YaBB.pl?num=1248245155/0%29
??
«Prev
Next »
Moderate user : psikomic
Forum