[lazarus] Canvas.Stretchdraw

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Aug 26 03:14:35 EDT 2003


On Mon, 25 Aug 2003 17:56:14 -0500
Tony Maro <tony at maro.net> wrote:

> Did something change to make Canvas.Stretchdraw run extremely slow?
> 
> I hadn't updated Lazarus in a while, but now that I have, my call to 
> Canvas.Stretchdraw requires about 8-10 seconds to complete for a large 
> image.  Previously it only took about 3.  I'm drawing my graphs at 2x 
> size and the stretching them down to display - effectively giving simple 
> antialiasing.
> 
> Or, is there a better way to effectively get antialiasing on my graph 
> controls?  When I researched it online, everyone suggested doing exactly 
> what I'm doing, but that was in Delphi.

There were some changes for clipping and TBitmap streaming, but that should
not be relevant.
Can you send me an example?


Mattias






More information about the Lazarus mailing list