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);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
procedure function |
public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | FMX.Types |
Description
Convertit un tableau de pixels contigus ayant leur format natif à la valeur de couleur RGBA 32 bits (physiquement équivalente au TPixelFormat.BGRA).
Input
pointe sur le premier pixel dans le tableau d'entrée.
Output
pointe sur le premier pixel dans le tableau de sortie.
PixelCount
spécifie le nombre de pixels à convertir.
OutputFormat
spécifie le TPixelFormat des pixels Input
.