Re: fast drawing in delphi
- From: "Paul Dunn" <paul.dunn4@xxxxxxxxxxxx>
- Date: Tue, 20 Dec 2005 23:01:03 GMT
Maldona8 wrote:
> no no, for sure, no direct image.canvas drawing at all, now
> I am trying now to see how to make the
> drawing in memory, and then to play the memory
> drawing image into screen using bitblt ()...
> for the moment just big headache...
Use the supplied TFastIMG for windowed mode.
Then draw to an in-memory surface, say BackDIB, then..
BackDIB.Draw(FastIMG1.Bmp.hDc, 0, 0)
Which wraps the BitBlt() API. If you're using DirectDraw then look at the
fumes example - it simply sets up a DDraw surface and then throws the
surface away, replacing it with a FastIMG's "bits" property. You draw to the
FastDIB, and by doing so you draw to the screen.
Buffer chaining is a different kettle of bananas, though.
D.
.
- 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: Hans-Peter Diettrich
- Re: fast drawing in delphi
- From: Maldona8
- Re: fast drawing in delphi
- From: Paul Dunn
- Re: fast drawing in delphi
- From: Maarten Wiltink
- Re: fast drawing in delphi
- From: Paul Dunn
- Re: fast drawing in delphi
- From: Maldona8
- fast drawing in delphi
- Prev by Date: Re: fast drawing in delphi
- 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):