With QT software develop a test the LED screen, one of the function is to achieve as shown in the picture, I draw a straight line for implementation, and then use the timer refresh after changing parameters in the way of rolling effect, the refresh interval to 10 ms to 100 ms, the question now is whether the picture scroll, in black and white border jitter problem, don't know how to avoid this kind of jitter, strives for the great god give directions!!!!!
CodePudding user response:
Suggest drawing under this fast frequency, in addition to open a thread, do not put in the Timer, otherwise may cause caton,
CodePudding user response:
Use double buffer a refresh
CodePudding user response:
With a single thread, if not do,
Qt drawing is double buffer, even if I draw a straight line on the map and then refresh