SmoothStretch
 
 
 

All Units  All Classes  Properties, Methods and Events  

SmoothStretch procedure

procedure SmoothStretch(Src, Dst: TBitmap);

Unit
TeCanvas

Description
This method fills the "Dst" bitmap with either a reduced or enlarged view of the "Src" source bitmap.

It's very similar to existing TCanvas Draw method, except it does a better job of smoothing points so the resulting bitmap, if very different in size than the source bitmap, does not loose similarity.

This method uses a modified version of Resample.pas unit by Anders Melander.

Anders Melander Resample.pas
www.melander.dk anders@aztech.dk






Send us Help Feedback. Copyright 1995-2013 © by Steema Software. All Rights Reserved.