Vcl.GraphUtil.ScaleImage

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

procedure ScaleImage(const SourceBitmap, ResizedBitmap: TBitmap;
const ScaleAmount: Double; PixelFormat: TPixelFormat = pf24bit);

C++

extern DELPHI_PACKAGE void __fastcall ScaleImage(Vcl::Graphics::TBitmap* const SourceBitmap, Vcl::Graphics::TBitmap* const ResizedBitmap, const double ScaleAmount, Vcl::Graphics::TPixelFormat PixelFormat = (Vcl::Graphics::TPixelFormat)(0x6));

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
procedure
function
public
Vcl.GraphUtil.pas
Vcl.GraphUtil.hpp
Vcl.GraphUtil Vcl.GraphUtil


Beschreibung

Skaliert ein Bitmap. ScaleImage unterstützt 24-bpp- und 32-bpp-Bitmaps.

ScaleImage skaliert ein Bitmap um die 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.

Hinweis: <spanResizedBitmap wird per Referenz angegeben. Nach Beendigung der Routine ist das Ergebnis in der Variable enthalten.

Siehe auch