[Lazarus] Smooth scrolling label (marquee)
mschnell at lumino.de
Wed Nov 11 10:41:57 CET 2015
On 11/11/2015 10:08 AM, Mark Morgan Lloyd wrote:
> Michael Schnell wrote:
>> On 11/10/2015 12:30 PM, Luca Olivetti wrote:
>>> - it is very cpu intensive (I have to put it over a picture, so the
>>> invalidate will also force the repainting of the bitmap I guess)
>> The only cure for this is using the graphic processor: only once
>> create a wide pixel array from the text and then use Direct X (Open
>> GL or similar API) to display part of the text "behind" in a rectangle.
> Using OpenGL etc. risks breaking the program for anybody accessing it
> over remote X (including SSH) or VNC etc.
But scrolling text via VNC will not work decently, anyway.
More information about the Lazarus