Record TGSBAPixelBasicHelper
Unit
Declaration
type TGSBAPixelBasicHelper = record helper for TGSBAPixel
Description
Helper for basic conversion of TGSBAPixel
Overview
Methods
![]() |
function ToBGRAPixel: TBGRAPixel; |
![]() |
function ToColor: TColor; |
![]() |
function ToExpanded: TExpandedPixel; |
![]() |
function ToFPColor(AGammaCompression: boolean=true): TFPColor; |
![]() |
function ToHSLAPixel: THSLAPixel; |
![]() |
procedure FromBGRAPixel(AValue: TBGRAPixel); |
![]() |
procedure FromColor(const AValue: TColor); |
![]() |
procedure FromExpanded(AValue: TExpandedPixel); |
![]() |
procedure FromFPColor(AValue: TFPColor; AGammaExpansion: boolean=true); |
![]() |
procedure FromHSLAPixel(AValue: THSLAPixel); |
Description
Methods
![]() |
function ToBGRAPixel: TBGRAPixel; |
Converts to |
![]() |
function ToColor: TColor; |
Converts to TColor (non linear 8-bit channel, without alpha) |
![]() |
function ToExpanded: TExpandedPixel; |
Converts to TExpandedPixel |
![]() |
function ToFPColor(AGammaCompression: boolean=true): TFPColor; |
Converts to TFPColor (by default non linear) |
![]() |
function ToHSLAPixel: THSLAPixel; |
Converts to THSLAPixel (regular hue and standard lightness) |
![]() |
procedure FromBGRAPixel(AValue: TBGRAPixel); |
Converts from ToBGRAPixel (non linear 8-bit channel) |
![]() |
procedure FromColor(const AValue: TColor); |
Converts from TColor (non linear 8-bit channel, without alpha) |
![]() |
procedure FromExpanded(AValue: TExpandedPixel); |
Converts from TExpandedPixel |
![]() |
procedure FromFPColor(AValue: TFPColor; AGammaExpansion: boolean=true); |
Converts from TFPColor (by default non linear) |
![]() |
procedure FromHSLAPixel(AValue: THSLAPixel); |
Converts from THSLAPixel (regular hue and standard lightness) |