Class TBGRACustomLayeredBitmap
Unit
Declaration
type TBGRACustomLayeredBitmap = class(TGraphic)
Description
Abstract class for storing a layered bitmap
Hierarchy
- TGraphic
- TBGRACustomLayeredBitmap
Overview
Methods
constructor Create; override; |
|
destructor Destroy; override; |
|
function ComputeFlatImage(firstLayer, lastLayer: integer; ASeparateXorMask: boolean = false): TBGRABitmap; overload; |
|
function ComputeFlatImage(ARect: TRect; ASeparateXorMask: boolean = false): TBGRABitmap; overload; |
|
function ComputeFlatImage(ARect: TRect; firstLayer, lastLayer: integer; ASeparateXorMask: boolean = false): TBGRABitmap; overload; |
|
function ComputeFlatImage(ASeparateXorMask: boolean = false): TBGRABitmap; overload; |
|
function DrawLayer(Dest: TBGRABitmap; X,Y: Integer; AIndex: integer; ASeparateXorMask: boolean = false; ADestinationEmpty: boolean = false): boolean; |
|
function GetLayerBitmapCopy(layer: integer): TBGRABitmap; virtual; abstract; |
|
function GetLayerBitmapDirectly(layer: integer): TBGRABitmap; virtual; |
|
function ToString: ansistring; override; |
|
function ContainsFrozenRange(first,last: integer): boolean; |
|
function GetBlendOperation(Layer: integer): TBlendOperation; virtual; abstract; |
|
function GetEmpty: boolean; override; |
|
function GetLayerDrawMode(AIndex: integer): TDrawMode; |
|
function GetLayerFrozen(layer: integer): boolean; virtual; |
|
function GetLayerFrozenRange(layer: integer): integer; |
|
function GetLayerName(layer: integer): string; virtual; |
|
function GetLayerOffset(layer: integer): TPoint; virtual; |
|
function GetLayerOpacity(layer: integer): byte; virtual; abstract; |
|
function GetLayerOriginal(layer: integer): TBGRALayerCustomOriginal; virtual; |
|
function GetLayerOriginalGuid(layer: integer): TGuid; virtual; |
|
function GetLayerOriginalKnown(layer: integer): boolean; virtual; |
|
function GetLayerOriginalMatrix(layer: integer): TAffineMatrix; virtual; |
|
function GetLayerOriginalRenderStatus(layer: integer): TOriginalRenderStatus; virtual; |
|
function GetLayerUniqueId(layer: integer): integer; virtual; |
|
function GetLayerVisible(layer: integer): boolean; virtual; abstract; |
|
function GetMemDirectory: TMemDirectory; |
|
function GetNbLayers: integer; virtual; abstract; |
|
function GetOriginalByIndex(AIndex: integer): TBGRALayerCustomOriginal; virtual; |
|
function GetOriginalByIndexClass(AIndex: integer): TBGRALayerOriginalAny; virtual; |
|
function GetOriginalByIndexKnown(AIndex: integer): boolean; virtual; |
|
function GetOriginalByIndexLoaded(AIndex: integer): boolean; virtual; |
|
function GetOriginalCount: integer; virtual; |
|
function GetTransparent: Boolean; override; |
|
function IndexOfOriginal(AOriginal: TBGRALayerCustomOriginal): integer; overload; virtual; |
|
function IndexOfOriginal(const AGuid: TGuid): integer; overload; virtual; |
|
function RangeIntersect(first1,last1,first2,last2: integer): boolean; |
|
procedure DiscardSelection; |
|
procedure Draw(Canvas: TCanvas; x,y: integer); overload; |
|
procedure Draw(Dest: TBGRABitmap; x,y: integer; ASeparateXorMask: boolean; ADestinationEmpty: boolean = false); overload; |
|
procedure Draw(Dest: TBGRABitmap; AX,AY: integer; firstLayer, lastLayer: integer; ASeparateXorMask: boolean = false; ADestinationEmpty: boolean = false); overload; |
|
procedure Draw(Canvas: TCanvas; x,y: integer; firstLayer, lastLayer: integer); overload; |
|
procedure Draw(Dest: TBGRABitmap; x,y: integer); overload; |
|
procedure Draw(ACanvas: TCanvas; const Rect: TRect); override; overload; |
|
procedure Freeze; overload; |
|
procedure Freeze(firstLayer, lastLayer: integer); overload; |
|
procedure FreezeExceptOneLayer(layer: integer); overload; |
|
procedure NotifyLoaded; virtual; |
|
procedure NotifySaving; virtual; |
|
procedure SaveToFile(const filenameUTF8: string); override; |
|
procedure SaveToStream(Stream: TStream); override; |
|
procedure SaveToStreamAs(Stream: TStream; AExtension: string); |
|
procedure Unfreeze(firstLayer, lastLayer: integer); overload; |
|
procedure Unfreeze(layer: integer); overload; |
|
procedure Unfreeze; overload; |
|
procedure RemoveFrozenRange(index: integer); |
|
procedure SetHeight(Value: Integer); override; |
|
procedure SetLayerFrozen(layer: integer; AValue: boolean); virtual; |
|
procedure SetMemDirectory(AValue: TMemDirectory); |
|
procedure SetTransparent(Value: Boolean); override; |
|
procedure SetWidth(Value: Integer); override; |
Properties
property BlendOperation[layer: integer]: TBlendOperation read GetBlendOperation; |
|
property DefaultBlendingOperation: TBlendOperation read GetDefaultBlendingOperation; |
|
property HasMemFiles: boolean read GetHasMemFiles; |
|
property LayerFrozen[layer: integer]: boolean read GetLayerFrozen; |
|
property LayerName[layer: integer]: string read GetLayerName; |
|
property LayerOffset[layer: integer]: TPoint read GetLayerOffset; |
|
property LayerOpacity[layer: integer]: byte read GetLayerOpacity; |
|
property LayerOriginal[layer: integer]: TBGRALayerCustomOriginal read GetLayerOriginal; |
|
property LayerOriginalGuid[layer: integer]: TGuid read GetLayerOriginalGuid; |
|
property LayerOriginalKnown[layer: integer]: boolean read GetLayerOriginalKnown; |
|
property LayerOriginalMatrix[layer: integer]: TAffineMatrix read GetLayerOriginalMatrix; |
|
property LayerOriginalRenderStatus[layer: integer]: TOriginalRenderStatus read GetLayerOriginalRenderStatus; |
|
property LayerUniqueId[layer: integer]: integer read GetLayerUniqueId; |
|
property LayerVisible[layer: integer]: boolean read GetLayerVisible; |
|
property LinearBlend: boolean read GetLinearBlend write SetLinearBlend; |
|
property MemDirectory: TMemDirectory read GetMemDirectory write SetMemDirectory; |
|
property MemDirectoryOwned: boolean read FMemDirectoryOwned write FMemDirectoryOwned; |
|
property NbLayers: integer read GetNbLayers; |
|
property SelectionDrawMode: TDrawMode read FSelectionDrawMode write FSelectionDrawMode; |
|
property SelectionLayerIndex: integer read FSelectionLayerIndex write FSelectionLayerIndex; |
|
property SelectionRect: TRect read FSelectionRect write FSelectionRect; |
|
property SelectionScanner: IBGRAScanner read FSelectionScanner write FSelectionScanner; |
|
property SelectionScannerOffset: TPoint read FSelectionScannerOffset write FSelectionScannerOffset; |
|
property SelectionVisible: boolean read GetSelectionVisible; |
Description
Methods
constructor Create; override; |
|
This item has no description. Showing description inherited from TGraphic.Create.
|
destructor Destroy; override; |
|
This item has no description. |
function ComputeFlatImage(firstLayer, lastLayer: integer; ASeparateXorMask: boolean = false): TBGRABitmap; overload; |
|
This item has no description. |
function ComputeFlatImage(ARect: TRect; ASeparateXorMask: boolean = false): TBGRABitmap; overload; |
|
This item has no description. |
function ComputeFlatImage(ARect: TRect; firstLayer, lastLayer: integer; ASeparateXorMask: boolean = false): TBGRABitmap; overload; |
|
This item has no description. |
function ComputeFlatImage(ASeparateXorMask: boolean = false): TBGRABitmap; overload; |
|
This item has no description. |
function DrawLayer(Dest: TBGRABitmap; X,Y: Integer; AIndex: integer; ASeparateXorMask: boolean = false; ADestinationEmpty: boolean = false): boolean; |
|
This item has no description. |
function GetLayerBitmapCopy(layer: integer): TBGRABitmap; virtual; abstract; |
|
This item has no description. |
function GetLayerBitmapDirectly(layer: integer): TBGRABitmap; virtual; |
|
This item has no description. |
function ToString: ansistring; override; |
|
This item has no description. |
function ContainsFrozenRange(first,last: integer): boolean; |
|
This item has no description. |
function GetBlendOperation(Layer: integer): TBlendOperation; virtual; abstract; |
|
This item has no description. |
function GetEmpty: boolean; override; |
|
This item has no description. Showing description inherited from TGraphic.GetEmpty. Check whether it is empty |
function GetLayerDrawMode(AIndex: integer): TDrawMode; |
|
This item has no description. |
function GetLayerFrozen(layer: integer): boolean; virtual; |
|
This item has no description. |
function GetLayerFrozenRange(layer: integer): integer; |
|
This item has no description. |
function GetLayerName(layer: integer): string; virtual; |
|
This item has no description. |
function GetLayerOffset(layer: integer): TPoint; virtual; |
|
This item has no description. |
function GetLayerOpacity(layer: integer): byte; virtual; abstract; |
|
This item has no description. |
function GetLayerOriginal(layer: integer): TBGRALayerCustomOriginal; virtual; |
|
This item has no description. |
function GetLayerOriginalGuid(layer: integer): TGuid; virtual; |
|
This item has no description. |
function GetLayerOriginalKnown(layer: integer): boolean; virtual; |
|
This item has no description. |
function GetLayerOriginalMatrix(layer: integer): TAffineMatrix; virtual; |
|
This item has no description. |
function GetLayerOriginalRenderStatus(layer: integer): TOriginalRenderStatus; virtual; |
|
This item has no description. |
function GetLayerUniqueId(layer: integer): integer; virtual; |
|
This item has no description. |
function GetLayerVisible(layer: integer): boolean; virtual; abstract; |
|
This item has no description. |
function GetMemDirectory: TMemDirectory; |
|
This item has no description. |
function GetNbLayers: integer; virtual; abstract; |
|
This item has no description. |
function GetOriginalByIndex(AIndex: integer): TBGRALayerCustomOriginal; virtual; |
|
This item has no description. |
function GetOriginalByIndexClass(AIndex: integer): TBGRALayerOriginalAny; virtual; |
|
This item has no description. |
function GetOriginalByIndexKnown(AIndex: integer): boolean; virtual; |
|
This item has no description. |
function GetOriginalByIndexLoaded(AIndex: integer): boolean; virtual; |
|
This item has no description. |
function GetOriginalCount: integer; virtual; |
|
This item has no description. |
function GetTransparent: Boolean; override; |
|
This item has no description. Showing description inherited from TGraphic.GetTransparent. Retrieves whether transparent |
function IndexOfOriginal(AOriginal: TBGRALayerCustomOriginal): integer; overload; virtual; |
|
This item has no description. |
function IndexOfOriginal(const AGuid: TGuid): integer; overload; virtual; |
|
This item has no description. |
function RangeIntersect(first1,last1,first2,last2: integer): boolean; |
|
This item has no description. |
procedure DiscardSelection; |
|
This item has no description. |
procedure Draw(Canvas: TCanvas; x,y: integer); overload; |
|
This item has no description. |
procedure Draw(Dest: TBGRABitmap; x,y: integer; ASeparateXorMask: boolean; ADestinationEmpty: boolean = false); overload; |
|
This item has no description. |
procedure Draw(Dest: TBGRABitmap; AX,AY: integer; firstLayer, lastLayer: integer; ASeparateXorMask: boolean = false; ADestinationEmpty: boolean = false); overload; |
|
This item has no description. |
procedure Draw(Canvas: TCanvas; x,y: integer; firstLayer, lastLayer: integer); overload; |
|
This item has no description. |
procedure Draw(Dest: TBGRABitmap; x,y: integer); overload; |
|
This item has no description. |
procedure Draw(ACanvas: TCanvas; const Rect: TRect); override; overload; |
|
This item has no description. Showing description inherited from TGraphic.Draw.
|
procedure Freeze; overload; |
|
This item has no description. |
procedure Freeze(firstLayer, lastLayer: integer); overload; |
|
This item has no description. |
procedure FreezeExceptOneLayer(layer: integer); overload; |
|
This item has no description. |
procedure NotifyLoaded; virtual; |
|
This item has no description. |
procedure NotifySaving; virtual; |
|
This item has no description. |
procedure SaveToFile(const filenameUTF8: string); override; |
|
This item has no description. Showing description inherited from TGraphic.SaveToFile. Saves the content to a file |
procedure SaveToStream(Stream: TStream); override; |
|
This item has no description. Showing description inherited from TGraphic.SaveToStream. Saves the content into a given stream |
procedure SaveToStreamAs(Stream: TStream; AExtension: string); |
|
This item has no description. |
procedure Unfreeze(firstLayer, lastLayer: integer); overload; |
|
This item has no description. |
procedure Unfreeze(layer: integer); overload; |
|
This item has no description. |
procedure Unfreeze; overload; |
|
This item has no description. |
procedure RemoveFrozenRange(index: integer); |
|
This item has no description. |
procedure SetHeight(Value: Integer); override; |
|
This item has no description. Showing description inherited from TGraphic.SetHeight. Sets the height |
procedure SetLayerFrozen(layer: integer; AValue: boolean); virtual; |
|
This item has no description. |
procedure SetMemDirectory(AValue: TMemDirectory); |
|
This item has no description. |
procedure SetTransparent(Value: Boolean); override; |
|
This item has no description. Showing description inherited from TGraphic.SetTransparent. Sets whether to render as transparent |
procedure SetWidth(Value: Integer); override; |
|
This item has no description. Showing description inherited from TGraphic.SetWidth. Sets the widith |
Properties
property BlendOperation[layer: integer]: TBlendOperation read GetBlendOperation; |
|
This item has no description. |
property DefaultBlendingOperation: TBlendOperation read GetDefaultBlendingOperation; |
|
use linear blending unless specified |
property HasMemFiles: boolean read GetHasMemFiles; |
|
This item has no description. |
property LayerFrozen[layer: integer]: boolean read GetLayerFrozen; |
|
This item has no description. |
property LayerName[layer: integer]: string read GetLayerName; |
|
This item has no description. |
property LayerOffset[layer: integer]: TPoint read GetLayerOffset; |
|
This item has no description. |
property LayerOpacity[layer: integer]: byte read GetLayerOpacity; |
|
This item has no description. |
property LayerOriginal[layer: integer]: TBGRALayerCustomOriginal read GetLayerOriginal; |
|
This item has no description. |
property LayerOriginalGuid[layer: integer]: TGuid read GetLayerOriginalGuid; |
|
This item has no description. |
property LayerOriginalKnown[layer: integer]: boolean read GetLayerOriginalKnown; |
|
This item has no description. |
property LayerOriginalMatrix[layer: integer]: TAffineMatrix read GetLayerOriginalMatrix; |
|
This item has no description. |
property LayerOriginalRenderStatus[layer: integer]: TOriginalRenderStatus read GetLayerOriginalRenderStatus; |
|
This item has no description. |
property LayerUniqueId[layer: integer]: integer read GetLayerUniqueId; |
|
This item has no description. |
property LayerVisible[layer: integer]: boolean read GetLayerVisible; |
|
This item has no description. |
property LinearBlend: boolean read GetLinearBlend write SetLinearBlend; |
|
This item has no description. |
property MemDirectory: TMemDirectory read GetMemDirectory write SetMemDirectory; |
|
This item has no description. |
property MemDirectoryOwned: boolean read FMemDirectoryOwned write FMemDirectoryOwned; |
|
This item has no description. |
property NbLayers: integer read GetNbLayers; |
|
This item has no description. |
property SelectionDrawMode: TDrawMode read FSelectionDrawMode write FSelectionDrawMode; |
|
This item has no description. |
property SelectionLayerIndex: integer read FSelectionLayerIndex write FSelectionLayerIndex; |
|
This item has no description. |
property SelectionRect: TRect read FSelectionRect write FSelectionRect; |
|
This item has no description. |
property SelectionScanner: IBGRAScanner read FSelectionScanner write FSelectionScanner; |
|
This item has no description. |
property SelectionScannerOffset: TPoint read FSelectionScannerOffset write FSelectionScannerOffset; |
|
This item has no description. |
property SelectionVisible: boolean read GetSelectionVisible; |
|
This item has no description. |