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);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.GraphUtil.pas Vcl.GraphUtil.hpp |
Vcl.GraphUtil | Vcl.GraphUtil |
Description
Met à l'échelle un bitmap.
ScaleImage met un bitmap à l'échelle avec le facteur d'échelle ScaleAmount.
SourceBitmap représente le bitmap source.
ResizedBitmap représente le bitmap redimensionné.
ScaleAmount représente le facteur d'échelle.
Remarque : ResizedBitmap est donné par référence. Dès la fin de l'exécution de la routine, le résultat est présent dans la variable.