Drawing continuously in drawing application

Posted by user146780 on Stack Overflow See other posts from Stack Overflow or by user146780
Published on 2010-04-27T20:04:47Z Indexed on 2010/04/27 20:13 UTC
Read the original article Hit count: 654

Filed under:
|

I was wondering how drawing applications draw the entire time the mouse is down without having empty gaps. What I mean is, for example if the program only drew circles at the mouse's X, y coordinate, then if the mouse went too quicly it would seem like a bunch of little circles rather than a nice continuous line. How can this be done without constantly drawing a short straight line between where the mouse was 0.001 seconds ago and where the mouse now is. Thanks

© Stack Overflow or respective owner

Related posts about c++

Related posts about drawing