I am developing a desktop app and want to display text flowing on a canvas. Currently, I have the x coordinate of the text as a property, and a timer that acts every 30 ms changes the x coordinate by 2 and performs Canvas.Refresh.
When I connected it to a large display of about 50 inches during testing, I noticed that the text on the screen flashed every time I refreshed it. This was not observed when testing with a 27 inch display.
I looked at the Documentation and found a method called Canvas.Scroll, which I tried with a sample app, but I couldn’t see the difference with Refresh in a simple test. Would it be better for me to use Scroll to solve the flashing of flowing text? Or could you tell me if there are any other solutions?
4 posts - 3 participants