An app like MS paint on embedded system.
Unsolved
Mobile and Embedded
-
Hi, guys.
I want to make an app like MS paint on an ARM device. The basic functions include drawing line, rect, circle and other graphs. Take the line for example, click the left button to determine the first point, and when I move the mouse, everytime the mouseMoveEvent response, I need to update the screen, and redraw the line from first point to current point. But the screen flickers badly and the move is not smooth. Is there a better way to optimize the process ? Also , If I have drawn some graphs, I can't just use update, I need to keep the graphs on the screen when I'm drawing new line. Maybe It's an easy question, I'm new to QT, Thanks for giving any advice!