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);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | FMX.Types |
Description
Converts an array of contiguous pixels from their native format into the 32-bit RGBA color value (physically equivalent of TPixelFormat.BGRA) format.
Input
points to the first pixel in the input array.
Output
points to the first pixel in the output array.
PixelCount
specifies the number of pixels to be converted.
OutputFormat
specifies the TPixelFormat of the Input
pixels.