Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-08

Canvas.Stretchdraw

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Tony Maro

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.

Thanks,

Tony Maro Systems Consultant The Maro Group (256) 337-5759 http://www.maro.net/

Reply by email

Mattias Gaertner
to Tony Maro
Show quoted text 11 lines
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

Reply by email