Re: fast drawing in delphi



Obi,
how to proceed to install FastLib in Delphi5?
Ronald

"Paul Dunn" <paul.dunn4@xxxxxxxxxxxx> a écrit dans le message de news:
P20qf.17466$b4.8313@xxxxxxxxxxxxxxxxxxxxxxx
> 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.
>
>


.


Quantcast