Re: fast drawing in delphi
- From: Hans-Peter Diettrich <DrDiettrich@xxxxxxxxxxx>
- Date: Mon, 19 Dec 2005 17:31:59 +0100
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 .
- References:
- fast drawing in delphi
- From: Maldona8
- Re: fast drawing in delphi
- From: Bjørge
- fast drawing in delphi
- Prev by Date: Re: Button list control
- Next by Date: Re: How I dramatically sped up DB file updating
- Previous by thread: Re: fast drawing in delphi
- Next by thread: Re: fast drawing in delphi
- Index(es):