RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
GraphUtil.ScaleImage Function

Scales a bitmap.

Pascal
procedure ScaleImage(const SourceBitmap: TBitmap; const ResizedBitmap: TBitmap; const ScaleAmount: Double);
C++
ScaleImage(const TBitmap SourceBitmap, const TBitmap ResizedBitmap, const Double ScaleAmount);

ScaleImage scales a bitmap by the ScaleAmount extent.  

SourceBitmap represents the source bitmap.  

ResizedBitmap represents the resized bitmap.  

ScaleAmount represents the scale amount.

Note: ResizedBitmap is given by reference. After the routine ends, the result will be present in the variable.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!