View unanswered posts | View active topics It is currently Tue Sep 23, 2014 12:49 am






Reply to topic  [ 4 posts ] 
Line delete 
Author Message
Rookie

Joined: Mon Jul 14, 2008 2:37 pm
Posts: 2
Post Line delete
When I draw a line with:

Quote:
nxtDrawLine(0,0,50,50);


How can I delete it? But only the line!

Quote:
eraseDisplay();


is not good. Idea?

thanks

_________________
Som@


Mon Jul 14, 2008 2:47 pm
Profile
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post 
hi,
maybe by this ?
Quote:
nxtEraseLine(xPos, yPos, xPosTo, yPosTo);


HTH!

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Mon Jul 14, 2008 4:16 pm
Profile
Rookie

Joined: Mon Jul 14, 2008 2:37 pm
Posts: 2
Post 
Hello,

Quote:
nxtEraseLine(xPos, yPos, xPosTo, yPosTo);


this code doesn't work :(

_________________
Som@


Tue Jul 15, 2008 3:59 am
Profile
Rookie

Joined: Sun Aug 12, 2007 3:18 pm
Posts: 38
Post 
In order to use this feature you need 1.38 BETA version

_________________
Image http://lrobotikas.net English version


Tue Jul 15, 2008 12:40 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.