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);
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
procedure function |
public | Vcl.GraphUtil.pas Vcl.GraphUtil.hpp |
Vcl.GraphUtil | Vcl.GraphUtil |
Beschreibung
Skaliert ein Bitmap.
ScaleImage skaliert ein Bitmap um Größe von ScaleAmount.
SourceBitmap repräsentiert das Quell-Bitmap.
ResizedBitmap repräsentiert das in der Größe veränderte Bitmap.
ScaleAmount repräsentiert die Skalierungsgröße.
Anmerkung: ResizedBitmap wird per Referenz angegeben. Nach Beendigung der Routine ist das Ergebnis in der Variable enthalten.