FMX.Types.ScanlineToAlphaColor
Delphi
procedure ScanlineToAlphaColor(Input: Pointer; Output: PAlphaColor; PixelCount: Integer; InputFormat: TPixelFormat);
C++
extern DELPHI_PACKAGE void __fastcall ScanlineToAlphaColor(void * Input, System::Uitypes::PAlphaColor Output, int PixelCount, TPixelFormat InputFormat);
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
procedure function |
public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | FMX.Types |
Beschreibung
Konvertiert ein Array mit fortlaufenden Pixeln aus ihrem nativen Format in das 32-Bit-RGBA-Farbformat (physisch gleichwertig zu TPixelFormat.BGRA).
Input
zeigt auf das erste Pixel im Eingabe-Array.
Output
zeigt auf das erste Pixel im Ausgabe-Array.
PixelCount
gibt die Anzahl der umzuwandelnden Pixel an.
OutputFormat
gibt das TPixelFormat der Input
-Pixel an.