FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Syntax
(Moderators: fry, REAS)
   draw and transformation problem
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: draw and transformation problem  (Read 269 times)
MrHunt

Email
draw and transformation problem
« on: May 17th, 2004, 12:33pm »

I have a code like the following:
 
loop(){
push();
translationssss;
draw();
pop();
ellipse;
}
this code works: and the draw function is a function of my class.However I have another class and I want to draw it where I draw the ellipse.This draw function has also translation in it all of them are enclosed in push and pops.
When I replace the ellipse line with myClass.Draw()
function I can't see it on the screen.
And I have no idea why the program behaves like that.
Is there anyone who have?
(I hope I could tell what my problem is)
 
JohnG

WWW
Re: draw and transformation problem
« Reply #1 on: May 18th, 2004, 11:38am »

You'll probably need to provide the code, or at least a link to the code for us to be able to help, as that shounds like you may have got some calls in the wrong order or something.
 
Pages: 1 

« Previous topic | Next topic »