Vcl.GraphUtil.ScaleImage
Delphi
procedure ScaleImage(const SourceBitmap, ResizedBitmap: TBitmap; const ScaleAmount: Double);
C++
extern DELPHI_PACKAGE void __fastcall ScaleImage(Vcl::Graphics::TBitmap* const SourceBitmap, Vcl::Graphics::TBitmap* const ResizedBitmap, const double ScaleAmount);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.GraphUtil.pas Vcl.GraphUtil.hpp |
Vcl.GraphUtil | Vcl.GraphUtil |
Description
Scales a bitmap.
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.