PDA

View Full Version : Redraw Line c++ VS


facelaunch
08-06-2007, 10:21 AM
Hi Everyone!

I have draw a line which can have any orientation in 2D. When I have moved it how can I redraw the line without redrawing a large proportion of the screen.

Currently I am using CRect (left top right bottom), by finding the center of the line using differences in x and y, and then from the center point I am using the x and y differences to redraw a large rectangle :sad:.

Also I am trying to stop flickering but haven't found code to do as it says it should.

Any help is much appreciated. Thanks.

CGTalk Moderation
08-06-2007, 10:21 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.