Re: fast drawing in delphi



Maldona8 wrote:

> how to proceed to install FastLib in Delphi5?

To use a TFastDIB, just add "FastDIB" to your uses clause, and away you go -
assuming that you've set the path to the source correctly in the library
options. You can add other units (FastFX, FastDraw etc) to get at the other
functions available for things like fast antialiased line and circle
drawing, fillrect, gradients etc.

The FastIMG is modified in the version I sent you - the picture property
(which allows you to load bmps to the FastIMG at design time) uses DsgnIntf,
the path to which also needs to be added - should be in
{$DELPHI}\Source\ToolsAPI. This didn't sit well with Delphi 2005 (spit) and
I've not gotten around to re-enabling it since I moved back to Delphi 5. I
don't use the picture property.

I'll dig out a version that has it if you need to be able to load pictures
to it at design time.

To install TFastIMG, just use the Component...Install menu option, and
navigate to FastIMG.pas.

As I say, I just zipped up my install (including all my modifications). If
you want the original version, just let me know.

D.


.


Quantcast