Record TExpandedPixelBasicHelper
Unit
Declaration
type TExpandedPixelBasicHelper = record helper for TExpandedPixel
Description
Helper for basic conversions of TExpandedPixel
Overview
Methods
![]() |
function ToBGRAPixel: TBGRAPixel; |
![]() |
function ToColor: TColor; |
![]() |
function ToFPColor(AGammaCompression: boolean = true): TFPColor; |
![]() |
function ToGSBAPixel: TGSBAPixel; |
![]() |
function ToHSLAPixel: THSLAPixel; |
![]() |
procedure FromBGRAPixel(AValue: TBGRAPixel); |
![]() |
procedure FromColor(const AValue: TColor); |
![]() |
procedure FromFPColor(const AValue: TFPColor; AGammaExpansion: boolean = true); |
![]() |
procedure FromGSBAPixel(const AValue: THSLAPixel); overload; |
![]() |
procedure FromGSBAPixel(const AValue: TGSBAPixel); overload; |
![]() |
procedure FromHSLAPixel(const AValue: THSLAPixel); |
Description
Methods
![]() |
function ToBGRAPixel: TBGRAPixel; |
Converts to TBGRAPixel (non linear 8-bit) |
![]() |
function ToColor: TColor; |
Converts to TColor (non linear 8-bit, without alpha) |
![]() |
function ToFPColor(AGammaCompression: boolean = true): TFPColor; |
Converts to TFPColor (16-bit per channel, by default non linear) |
![]() |
function ToGSBAPixel: TGSBAPixel; |
Converts to TGSBAPixel |
![]() |
function ToHSLAPixel: THSLAPixel; |
Converts to THSLAPixel |
![]() |
procedure FromBGRAPixel(AValue: TBGRAPixel); |
Converts from TBGRAPixel (non linear 8-bit) |
![]() |
procedure FromColor(const AValue: TColor); |
Converts from TColor (non linear 8-bit ,without alpha) |
![]() |
procedure FromFPColor(const AValue: TFPColor; AGammaExpansion: boolean = true); |
Converts from TFPColor (16-bit per channel, by default non linear) |
![]() |
procedure FromGSBAPixel(const AValue: THSLAPixel); overload; |
Converts from TGSBAPixel assuming the THSLAPixel record contains GSBA colorspace |
![]() |
procedure FromGSBAPixel(const AValue: TGSBAPixel); overload; |
Converts from TGSBAPixel |
![]() |
procedure FromHSLAPixel(const AValue: THSLAPixel); |
Converts from THSLAPixel |