Re: fast drawing in delphi



Bjørge schrieb:

I need to draw this map in a very very fast way, the faster possible.
What Delphi technology would you recommend to do this job?
Thanks in advance for your help!


No matter what you do, don't do a large number of point/draw operatrions
onto a visible canvas. Do rather create an invisible ("off-screen") bitmap,
do all painting on this one, and copy the entire image onto the visibla
canvas by BitBlt() WinAPI. This is\t as magic as e.g. DirectX, but it speeds
up painting substantially.

You mean something like an explicit "double buffered" option?
What about extending this approach into multiple buffers, which can be updated independently, and which finally are overlaid into the current view, as appropriate? Something like different layers, from background to foreground, each stored and updated in a distinct buffer...


DoDi
.


Quantcast