Record THSLAPixelBasicHelper
Unit
Declaration
type THSLAPixelBasicHelper = record helper for THSLAPixel
Description
Helper for basic conversions of THSLAPixel
Overview
Methods
function ToBGRAPixel: TBGRAPixel; |
|
function ToColor: TColor; |
|
function ToExpanded: TExpandedPixel; |
|
function ToFPColor(AGammaCompression: boolean=true): TFPColor; |
|
function ToGSBAPixel: TGSBAPixel; |
|
procedure FromBGRAPixel(AValue: TBGRAPixel); |
|
procedure FromColor(const AValue: TColor); |
|
procedure FromExpanded(AValue: TExpandedPixel); |
|
procedure FromFPColor(AValue: TFPColor; AGammaExpansion: boolean=true); |
|
procedure FromGSBAPixel(AValue: TGSBAPixel); |
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 ToExpanded: TExpandedPixel; |
|
Converts to TExpandedPixel |
function ToFPColor(AGammaCompression: boolean=true): TFPColor; |
|
Converts to TFPColor (non linear by default) |
function ToGSBAPixel: TGSBAPixel; |
|
Converts to TGSBAPixel (corrected hue and brightness) |
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 FromExpanded(AValue: TExpandedPixel); |
|
Converts from TExpandedPixel |
procedure FromFPColor(AValue: TFPColor; AGammaExpansion: boolean=true); |
|
Converts from TFPColor (non linear by default) |
procedure FromGSBAPixel(AValue: TGSBAPixel); |
|
Converts from TGSBAPixel (corrected hue and brightness) |