Re: fast drawing in delphi
- From: "Bjørge" <bjorge@xxxxxxxxxxxxxxx>
- Date: Mon, 19 Dec 2005 09:36:28 +0100
Maldona8 wrote:
> Looking for algorithms, source codes for fast drawing routines in
> Delphi I have a hexagonal grid of 100x100 hexagons, each hexagon
> having its own color.
> 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.
--
Bjørge
bjorge@xxxxxxxxxxxx
.
- Follow-Ups:
- Re: fast drawing in delphi
- From: Maldona8
- Re: fast drawing in delphi
- From: Hans-Peter Diettrich
- Re: fast drawing in delphi
- References:
- fast drawing in delphi
- From: Maldona8
- fast drawing in delphi
- Prev by Date: Re: Button list control
- Next by Date: Re: Shellexecute question
- Previous by thread: Re: fast drawing in delphi
- Next by thread: Re: fast drawing in delphi
- Index(es):