Class TDitheringTask
Unit
Declaration
type TDitheringTask = class(TFilterTask)
Description
Abstract dithering task
Hierarchy
- TObject
- TFilterTask
- TDitheringTask
Overview
Fields
FBounds: TRect; |
|
FCurrentOutputScanline: PBGRAPixel; |
|
FCurrentOutputY: Int32or64; |
|
FDrawMode: TDrawMode; |
|
FIgnoreAlpha: boolean; |
|
FOutputPixel: TOutputPixelProc; |
|
FPalette: TBGRACustomApproxPalette; |
Methods
constructor Create(ASource: IBGRAScanner; APalette: TBGRACustomApproxPalette; ADestination: TBGRACustomBitmap; AIgnoreAlpha: boolean; ABounds: TRect); overload; |
|
constructor Create(bmp: TBGRACustomBitmap; APalette: TBGRACustomApproxPalette; AInPlace: boolean; AIgnoreAlpha: boolean; ABounds: TRect); overload; |
|
constructor Create(bmp: TBGRACustomBitmap; APalette: TBGRACustomApproxPalette; AInPlace: boolean; AIgnoreAlpha: boolean); overload; |
|
procedure ApproximateColor(const AColor: TBGRAPixel; out AApproxColor: TBGRAPixel; out AIndex: integer); |
|
procedure OutputPixel(X,Y: Int32or64; AColorIndex: Int32or64; AColor: TBGRAPixel); virtual; |
|
procedure OutputPixelDraw(X,Y: Int32or64; AColorIndex: Int32or64; AColor: TBGRAPixel); virtual; |
|
procedure OutputPixelLinearBlend(X,Y: Int32or64; AColorIndex: Int32or64; AColor: TBGRAPixel); virtual; |
|
procedure OutputPixelSet(X,Y: Int32or64; AColorIndex: Int32or64; AColor: TBGRAPixel); virtual; |
|
procedure OutputPixelSetExceptTransparent(X,Y: Int32or64; AColorIndex: Int32or64; AColor: TBGRAPixel); virtual; |
|
procedure OutputPixelXor(X,Y: Int32or64; AColorIndex: Int32or64; AColor: TBGRAPixel); virtual; |
|
procedure SetDrawMode(AValue: TDrawMode); |
|
procedure UpdateCurrentLine(Y: Int32or64); inline; |
|
procedure UpdateOutputPixel; |
Properties
property DrawMode: TDrawMode read FDrawMode write SetDrawMode; |
|
property OnOutputPixel: TOutputPixelProc read FOutputPixel write FOutputPixel; |
Description
Fields
FBounds: TRect; |
|
This item has no description. |
FCurrentOutputScanline: PBGRAPixel; |
|
This item has no description. |
FCurrentOutputY: Int32or64; |
|
This item has no description. |
FDrawMode: TDrawMode; |
|
This item has no description. |
FIgnoreAlpha: boolean; |
|
This item has no description. |
FOutputPixel: TOutputPixelProc; |
|
This item has no description. |
FPalette: TBGRACustomApproxPalette; |
|
This item has no description. |
Methods
constructor Create(ASource: IBGRAScanner; APalette: TBGRACustomApproxPalette; ADestination: TBGRACustomBitmap; AIgnoreAlpha: boolean; ABounds: TRect); overload; |
|
This item has no description. |
constructor Create(bmp: TBGRACustomBitmap; APalette: TBGRACustomApproxPalette; AInPlace: boolean; AIgnoreAlpha: boolean; ABounds: TRect); overload; |
|
This item has no description. |
constructor Create(bmp: TBGRACustomBitmap; APalette: TBGRACustomApproxPalette; AInPlace: boolean; AIgnoreAlpha: boolean); overload; |
|
This item has no description. |
procedure ApproximateColor(const AColor: TBGRAPixel; out AApproxColor: TBGRAPixel; out AIndex: integer); |
|
This item has no description. |
procedure OutputPixel(X,Y: Int32or64; AColorIndex: Int32or64; AColor: TBGRAPixel); virtual; |
|
This item has no description. |
procedure OutputPixelDraw(X,Y: Int32or64; AColorIndex: Int32or64; AColor: TBGRAPixel); virtual; |
|
This item has no description. |
procedure OutputPixelLinearBlend(X,Y: Int32or64; AColorIndex: Int32or64; AColor: TBGRAPixel); virtual; |
|
This item has no description. |
procedure OutputPixelSet(X,Y: Int32or64; AColorIndex: Int32or64; AColor: TBGRAPixel); virtual; |
|
This item has no description. |
procedure OutputPixelSetExceptTransparent(X,Y: Int32or64; AColorIndex: Int32or64; AColor: TBGRAPixel); virtual; |
|
This item has no description. |
procedure OutputPixelXor(X,Y: Int32or64; AColorIndex: Int32or64; AColor: TBGRAPixel); virtual; |
|
This item has no description. |
procedure SetDrawMode(AValue: TDrawMode); |
|
This item has no description. |
procedure UpdateCurrentLine(Y: Int32or64); inline; |
|
This item has no description. |
procedure UpdateOutputPixel; |
|
This item has no description. |
Properties
property DrawMode: TDrawMode read FDrawMode write SetDrawMode; |
|
This item has no description. |
property OnOutputPixel: TOutputPixelProc read FOutputPixel write FOutputPixel; |
|
This item has no description. |