Re: fast drawing in delphi
- From: Bjorge Sæther <bjorge@xxxxxxxx>
- Date: Wed, 21 Dec 2005 09:34:04 +0100
Maldona8 wrote:
> "Bjørge" <bjorge@xxxxxxxxxxxxxxx> a écrit dans le message de news:
>>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.
OK Bjørge, here is the code I use for a simply 10x10 map Please modify it so it can make use of the off-screen bitmap with BitBlt functions?
Eh...well, something must have happened since my last "fast paint" attempt...maybe something with hardware:
- when I tried to do this opearation on an offscreen bitmap, it turned out to be some 10% slower !
I'll have to go back to my original sources to see if I have missed something - but I'm afraid not.
Bjørge .
- Follow-Ups:
- Re: fast drawing in delphi
- From: Maldona8
- Re: fast drawing in delphi
- References:
- fast drawing in delphi
- From: Maldona8
- Re: fast drawing in delphi
- From: Bjørge
- Re: fast drawing in delphi
- From: Maldona8
- fast drawing in delphi
- Prev by Date: Re: turbo pascal question
- Next by Date: Re: Button list control
- Previous by thread: Re: fast drawing in delphi
- Next by thread: Re: fast drawing in delphi
- Index(es):