We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexSuggestions & BugsSoftware Bugs › when using text, smooth turns off
Page Index Toggle Pages: 1
when using text, smooth turns off? (Read 1389 times)
when using text, smooth turns off?
May 23rd, 2006, 7:37am
 
i'm on winxp, running v 115

the code that runs is inside a function called textLinePlacedImpl in PGraphics2, and runs smooth() or noSmooth(). This means that i have to run smooth() in front of my all objects.. ie

Code:

for(int i = 0; i < numobjects; i++)
{
smooth();
drawObject(); // has some text-call inside
}


if smooth is outside the loop, only the first object will be drawn smoothed..

http://wliia.org/projects/dock ..
this is the project i ran into the problem with, but it has happened occasionally before as well

-seltar
Re: when using text, smooth turns off?
Reply #1 - Sep 13th, 2006, 4:22am
 
found and fixed, thanks for the pointer.
Page Index Toggle Pages: 1