G'day guys,
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.
Each refresh consists of
Image.Canvas.Clear()
Repeat 20 -> Image.Canvas.Line(draw graticule)
Repeat Width -> Image.Canvas.Line(draw CH1 sample)
Repeat Width -> Image.Canvas.Line(draw CH2 sample)
So there are _lots_ of little fiddly bits to draw (about 1200 line segments per
refresh).
There has to be a faster way to get data to the screen in a cross-platform fashion (I'm developing
on Linux but ultimately I'll be compiled for OSX and Win32).
Has anyone done anything similar?
Regards,
Brad
--
Dolphins are so intelligent that within a few weeks they can
train Americans to stand at the edge of the pool and throw them
fish.
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus