[Lazarus] Fastest way to draw

Hans-Peter Diettrich DrDiettrich1 at aol.com
Fri May 21 20:59:01 CEST 2010


Brad Campbell schrieb:

> I'm experimenting with an Oscilloscope at the moment.
> I'm using a TImage on a form, and I'm writing using Image.Canvas.Pen / 
> Image.Canvas.Line.


> Has anyone done anything similar?

I did it on Win32, using the ScrollWindow procedure. Dunno whether other 
platforms/widgetsets offer similar functionality.

You can do it "manually", by blitting the retained part of the image to 
its new position in the bitmap, add the new frame, and display the 
updated bitmap.

DoDi





More information about the Lazarus mailing list