> I would not use any graphic control to do fast drawing but instead a
> window based control such as TPanel or create my own with an internal
> canvas, however for making an Osciloscope i would certainly use
> dedicated libraries such as SDL or OpenGL, you may try the GLScene
> components, with this kind of libs you can easily get hundreds of
> frames and they are not so bad to setup, not to mention that you have
> specific drawing funcs for various shapes and all kinds of goodies and
> they are CrossPlatform you can even use a Panel to render using
> OpenGL.
> 
I am not sure if this is not a little overkill for just drawing some lines.
Remember OpenGL is slow in line and point drawing on consumer level hardware, 
OpenGL is slow if running in software (at least at our university we don't have 
computers with 3D cards attached to our measuring equipment, many are running 
dos :) ). And you need a little understanding of how OpenGL works (perhaps 
GLScene takes away this requirement, I never tried it) meaning that with canvas 
drawing you work on pixels (which is quite intuitive for most programmers) 
while OpenGL as a vector graphics API takes an other approach and for someone 
not familiar with the inner workings of OpenGL it might not be as intuitive as 
canvas drawing.
I think standard canvas drawing should be fast enough and since lazarus is 
cross plattform it is cross plattform, too, and really easy to use.
If for any reason canvas drawing is really too slow OpenGL is of course the 
alternative.

just my 2 cent

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to