Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

draw a line in 1 sec

Status
Not open for further replies.

mpalmer12345

Programmer
Feb 16, 2004
59
US
Easy question to answer, probably.

I'd like to have a series of lines (using a loop) drawn across the screen in relation to some specific amount of time.

So I would like to draw a line across the screen like this

MoveTo(0, 50);
LineTo(30, 188);

then pause 1000 milliseconds, then another line etc., until a series of these are drawn. I have tried the usual tricks (getTimer(), etc.), but I can't get anything to work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top