[Lazarus] StretchDraw and antialiasing in 0.9.28

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Tue May 11 17:32:20 CEST 2010


Felipe Monteiro de Carvalho wrote:

>> I've been looking through the archives without being able to work out the
>> current situation. Is it possible to disable antialiasing when using e.g.
>> TImageList.StretchDraw() in 0.9.28?
> 
> You have to select it in the canvas.
> 
> See TCanvas.AntiAliasingMode (or something similar)

Thanks Felipe, I've already got

aCanvas.AntialiasingMode:= amOff;
Hp495xDisplayForm.SignalBitmaps.StretchDraw(aCanvas, index, aRect);

(where aCanvas refers to a visible DrawGrid) but it's still coming out 
blurred.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list