|
Author |
Topic: little problems with triangle and ellipse func (Read 309 times) |
|
Soul_Reaper
|
little problems with triangle and ellipse func
« on: Apr 27th, 2004, 11:14am » |
|
I, I'm from Italy. I'm 20, so I'm not a great programmer. I have some little problems in my program, when I draw a triangle and when I draw an ellipse. I'm doing a sort of little draw editor. during the mouse drag, I clean the screen with a white rect, 'cause I want to refresh the dimension of my figure when I drag the mouse with the botton pressed. With rect, line and ellipse I have no problem, but with the triangle (during the drag) in the center of the figure the old line aren't deleted by the white rect. I can't really understand where's the problem. Another problem is the ellipse, but also during the choose of the dimension: why the function ellipse() accept negative width but not negative height? This is the code of my little program, can someone, help me, and mail me a comment about all of this. If You are interested by my cause, please mail me, and I'll mail you the code. Thanx, sorry for the bad english
|
I love the smell of Napalm in the morning
|
|
|
arielm
|
Re: little problems with triangle and ellipse func
« Reply #1 on: Apr 27th, 2004, 11:22am » |
|
we're interested by many causes, feel free to post your code here so we can go further...
|
Ariel Malka | www.chronotext.org
|
|
|
Soul_Reaper
|
Re: little problems with triangle and ellipse func
« Reply #2 on: May 10th, 2004, 9:55am » |
|
Thanx Arielm for help me. The code was too long to post. Look for your mail, there's a message with my program.
|
I love the smell of Napalm in the morning
|
|
|
|