Class TFilterTask

Unit

Declaration

type TFilterTask = class(TObject)

Description

Task to apply a filter on an image

Hierarchy

Overview

Fields

Protected FCurrentY: integer;
Protected FDestination: TBGRACustomBitmap;
Protected FSource: TBGRACustomBitmap;
Protected FSourceScanner: IBGRAScanner;

Methods

Public function Execute: TBGRACustomBitmap;
Protected function GetShouldStop(ACurrentY: integer): boolean;
Protected function RequestSourceExpandedScanLine(X,Y,Count: Integer): PExpandedPixel;
Protected function RequestSourceScanLine(X,Y,Count: Integer): PBGRAPixel;
Protected procedure DoExecute; virtual; abstract;
Protected procedure ReleaseSourceExpandedScanLine(P: PExpandedPixel);
Protected procedure ReleaseSourceScanLine(P: PBGRAPixel);
Protected procedure SetSource(AScanner: IBGRAScanner); overload;
Protected procedure SetSource(ABitmap: TBGRACustomBitmap); overload;

Properties

Public property CheckShouldStop: TCheckShouldStopFunc read FCheckShouldStop write FCheckShouldStop;
Public property CurrentY: integer read FCurrentY;
Public property Destination: TBGRACustomBitmap read FDestination write SetDestination;
Public property Inplace: boolean read GetInplace write SetInplace;
Public property ScanOffset: TPoint read FScanOffset write FScanOffset;

Description

Fields

Protected FCurrentY: integer;

This item has no description.

Protected FDestination: TBGRACustomBitmap;

This item has no description.

Protected FSource: TBGRACustomBitmap;

This item has no description.

Protected FSourceScanner: IBGRAScanner;

This item has no description.

Methods

Public function Execute: TBGRACustomBitmap;

This item has no description.

Protected function GetShouldStop(ACurrentY: integer): boolean;

This item has no description.

Protected function RequestSourceExpandedScanLine(X,Y,Count: Integer): PExpandedPixel;

This item has no description.

Protected function RequestSourceScanLine(X,Y,Count: Integer): PBGRAPixel;

This item has no description.

Protected procedure DoExecute; virtual; abstract;

This item has no description.

Protected procedure ReleaseSourceExpandedScanLine(P: PExpandedPixel);

This item has no description.

Protected procedure ReleaseSourceScanLine(P: PBGRAPixel);

This item has no description.

Protected procedure SetSource(AScanner: IBGRAScanner); overload;

This item has no description.

Protected procedure SetSource(ABitmap: TBGRACustomBitmap); overload;

This item has no description.

Properties

Public property CheckShouldStop: TCheckShouldStopFunc read FCheckShouldStop write FCheckShouldStop;

This item has no description.

Public property CurrentY: integer read FCurrentY;

This item has no description.

Public property Destination: TBGRACustomBitmap read FDestination write SetDestination;

This item has no description.

Public property Inplace: boolean read GetInplace write SetInplace;

This item has no description.

Public property ScanOffset: TPoint read FScanOffset write FScanOffset;

This item has no description.