Hello,
I want to do a graphic program with the possibility of drawing a straight line segment by clicking on a point that represents the start, dragging the mouse and releasing it at the other end. Then a line is drawn. So far , I can program this, but to make it super user friendly I would like the look and feel to be like stretching a rubber band, in other words there should be a
line from the cursor to the start point that is continuously redrawn as the mouse is moved, and that involves erasing the old
line. All of this needs to be done without flicker. Any suggestions?
It seems that QrubberBand can draw lines, but they have to be horizontal or vertical.
Oh, I am aware that there is a graphics scene demo that provides something like this, but I have been avoiding graphics scenes so far because I am worried that the background scene which has thousands of static objects (it's a map of a town with thousands of buildings) might overload the graphics scene. Is my fear justified?
Thankyou
Henri
Bookmarks