Class TBGRALayeredBitmap

Unit

Declaration

type TBGRALayeredBitmap = class(TBGRACustomLayeredBitmap)

Description

Base implementation for a layered bitmap

Hierarchy

Overview

Methods

Public constructor Create; overload; override;
Public constructor Create(AWidth, AHeight: integer); overload; virtual;
Public destructor Destroy; override;
Public function AddLayer(AName: string; Source: TBGRABitmap; Position: TPoint; BlendOp: TBlendOperation; Opacity: byte = 255; Shared: boolean = false): integer; overload;
Public function AddLayer(AName: string; Source: TBGRABitmap; Opacity: byte = 255): integer; overload;
Public function AddLayer(AName: string; Source: TBGRABitmap; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload;
Public function AddLayer(AName: string; Source: TBGRABitmap; Position: TPoint; Opacity: byte = 255): integer; overload;
Public function AddLayer(Source: TBGRABitmap; Position: TPoint; BlendOp: TBlendOperation; Opacity: byte = 255; Shared: boolean = false): integer; overload;
Public function AddLayer(Source: TBGRABitmap; Opacity: byte = 255): integer; overload;
Public function AddLayer(Source: TBGRABitmap; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload;
Public function AddLayer(Source: TBGRABitmap; Position: TPoint; Opacity: byte = 255): integer; overload;
Public function AddLayerFromFile(AFileName: string; Position: TPoint; Opacity: byte = 255): integer; overload;
Public function AddLayerFromFile(AFileName: string; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload;
Public function AddLayerFromFile(AFileName: string; Opacity: byte = 255): integer; overload;
Public function AddLayerFromFile(AFileName: string; Position: TPoint; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload;
Public function AddLayerFromOriginal(const AGuid: TGuid; Matrix: TAffineMatrix; Opacity: byte = 255): integer; overload;
Public function AddLayerFromOriginal(const AGuid: TGuid; Matrix: TAffineMatrix; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload;
Public function AddLayerFromOriginal(const AGuid: TGuid; Opacity: byte = 255): integer; overload;
Public function AddLayerFromOriginal(const AGuid: TGuid; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload;
Public function AddLayerFromOwnedOriginal(AOriginal: TBGRALayerCustomOriginal; Matrix: TAffineMatrix; Opacity: byte = 255): integer; overload;
Public function AddLayerFromOwnedOriginal(AOriginal: TBGRALayerCustomOriginal; Matrix: TAffineMatrix; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload;
Public function AddLayerFromOwnedOriginal(AOriginal: TBGRALayerCustomOriginal; Opacity: byte = 255): integer; overload;
Public function AddLayerFromOwnedOriginal(AOriginal: TBGRALayerCustomOriginal; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload;
Public function AddOriginal(AOriginal: TBGRALayerCustomOriginal; AOwned: boolean = true): integer;
Public function AddOriginalFromStorage(AStorage: TBGRAMemOriginalStorage; ALateLoad: boolean = false): integer; overload;
Public function AddOriginalFromStorage(AStorage: TBGRAMemOriginalStorage; const AGuid: TGuid; ALateLoad: boolean = false): integer; overload;
Public function AddOriginalFromStream(AStream: TStream; ALateLoad: boolean = false): integer; overload;
Public function AddOriginalFromStream(AStream: TStream; const AGuid: TGuid; ALateLoad: boolean = false): integer; overload;
Public function AddOwnedLayer(ABitmap: TBGRABitmap; Position: TPoint; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload;
Public function AddOwnedLayer(ABitmap: TBGRABitmap; Opacity: byte = 255): integer; overload;
Public function AddOwnedLayer(ABitmap: TBGRABitmap; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload;
Public function AddOwnedLayer(ABitmap: TBGRABitmap; Position: TPoint; Opacity: byte = 255): integer; overload;
Public function AddSharedLayer(Source: TBGRABitmap; Position: TPoint; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload;
Public function AddSharedLayer(Source: TBGRABitmap; Opacity: byte = 255): integer; overload;
Public function AddSharedLayer(Source: TBGRABitmap; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload;
Public function AddSharedLayer(Source: TBGRABitmap; Position: TPoint; Opacity: byte = 255): integer; overload;
Public function DrawEditor(ADest: TBGRABitmap; ALayerIndex: integer; X, Y: Integer; APointSize: single): TRect; overload;
Public function DrawEditor(ADest: TBGRABitmap; ALayerIndex: integer; AMatrix: TAffineMatrix; APointSize: single): TRect; overload;
Public function Duplicate(ASharedLayerIds: boolean = false): TBGRALayeredBitmap;
Public function GetEditorBounds(ADestRect: TRect; ALayerIndex: integer; X, Y: Integer; APointSize: single): TRect; overload;
Public function GetEditorBounds(ALayerIndex: integer; X, Y: Integer; APointSize: single): TRect; overload;
Public function GetEditorBounds(ADestRect: TRect; ALayerIndex: integer; AMatrix: TAffineMatrix; APointSize: single): TRect; overload;
Public function GetEditorBounds(ALayerIndex: integer; AMatrix: TAffineMatrix; APointSize: single): TRect; overload;
Public function GetGlobalRegistry(ARegistryIdentifier: string): RawByteString;
Public function GetLayerBitmapCopy(layer: integer): TBGRABitmap; override;
Public function GetLayerBitmapDirectly(layer: integer): TBGRABitmap; override;
Public function GetLayerIndexFromId(AIdentifier: integer): integer;
Public function GetLayerRegistry(ALayerIndex: integer; ARegistryIdentifier: string): RawByteString;
Public function IndexOfOriginal(const AGuid: TGuid): integer; overload; override;
Public function IndexOfOriginal(AOriginal: TBGRALayerCustomOriginal): integer; overload; override;
Public class function IsValidRegistryIndentifier(AIdentifier: string): boolean;
Public function MoveLayerDown(index: integer): integer;
Public function MoveLayerUp(index: integer): integer;
Public function ProduceLayerUniqueId: integer;
Public function RemoveOriginal(AOriginal: TBGRALayerCustomOriginal): boolean;
Public function RenderOriginalIfNecessary(const AGuid: TGuid; ADraft: boolean = false): TRect;
Public function RenderOriginalsIfNecessary(ADraft: boolean = false): TRect;
Public function TakeLayerBitmap(layer: integer): TBGRABitmap;
Protected function GetBlendOperation(Layer: integer): TBlendOperation; override;
Protected function GetHeight: integer; override;
Protected function GetLayerDirectory(ALayerIndex: integer; ACanCreate: boolean): TMemDirectory;
Protected function GetLayerFrozen(layer: integer): boolean; override;
Protected function GetLayerName(layer: integer): string; override;
Protected function GetLayerOffset(layer: integer): TPoint; override;
Protected function GetLayerOpacity(layer: integer): byte; override;
Protected function GetLayerOriginal(layer: integer): TBGRALayerCustomOriginal; override;
Protected function GetLayerOriginalGuid(layer: integer): TGuid; override;
Protected function GetLayerOriginalKnown(layer: integer): boolean; override;
Protected function GetLayerOriginalMatrix(layer: integer): TAffineMatrix; override;
Protected function GetLayerOriginalRenderStatus(layer: integer): TOriginalRenderStatus; override;
Protected function GetLayerUniqueId(layer: integer): integer; override;
Protected function GetLayerVisible(layer: integer): boolean; override;
Protected function GetNbLayers: integer; override;
Protected function GetOriginalByIndex(AIndex: integer): TBGRALayerCustomOriginal; override;
Protected function GetOriginalByIndexClass(AIndex: integer): TBGRALayerOriginalAny; override;
Protected function GetOriginalByIndexKnown(AIndex: integer): boolean; override;
Protected function GetOriginalByIndexLoaded(AIndex: integer): boolean; override;
Protected function GetOriginalCount: integer; override;
Protected function GetWidth: integer; override;
Public procedure ApplyLayerOffset(ALayerIndex: integer; APadWithTranparentPixels: boolean);
Public procedure Assign(ASource: TBGRACustomLayeredBitmap; ASharedLayerIds: boolean = false; ACopyAdditionalMemData: boolean = false); overload;
Public procedure Clear; override;
Public procedure ClearEditor;
Public procedure ClearOriginals;
Public procedure DeleteOriginal(AIndex: integer);
Public procedure HorizontalFlip(ALayerIndex: integer); overload;
Public procedure HorizontalFlip; overload;
Public procedure InsertLayer(index: integer; fromIndex: integer);
Public procedure KeyDown(Shift: TShiftState; Key: TSpecialKey; out AHandled: boolean);
Public procedure KeyPress(UTF8Key: string; out AHandled: boolean);
Public procedure KeyUp(Shift: TShiftState; Key: TSpecialKey; out AHandled: boolean);
Public procedure LoadFromFile(const filenameUTF8: string); override;
Public procedure LoadFromResource(AFilename: string);
Public procedure LoadFromStream(stream: TStream); override;
Public procedure LoadLayerRegistryFromStream(ALayerIndex: integer; AStream: TStream);
Public procedure MouseDown(RightButton: boolean; Shift: TShiftState; ImageX, ImageY: Single; out ACursor: TOriginalEditorCursor; out AHandled: boolean);
Public procedure MouseDown(RightButton: boolean; Shift: TShiftState; ImageX, ImageY: Single; out ACursor: TOriginalEditorCursor);
Public procedure MouseMove(Shift: TShiftState; ImageX, ImageY: Single; out ACursor: TOriginalEditorCursor);
Public procedure MouseMove(Shift: TShiftState; ImageX, ImageY: Single; out ACursor: TOriginalEditorCursor; out AHandled: boolean);
Public procedure MouseUp(RightButton: boolean; Shift: TShiftState; ImageX, ImageY: Single; out ACursor: TOriginalEditorCursor; out AHandled: boolean);
Public procedure MouseUp(RightButton: boolean; Shift: TShiftState; ImageX, ImageY: Single; out ACursor: TOriginalEditorCursor);
Public procedure NotifyLoaded; override;
Public procedure NotifySaving; override;
Public procedure RemoveLayer(index: integer);
Public procedure RemoveUnusedOriginals;
Public procedure RenderLayerFromOriginal(layer: integer; ADraft: boolean; ARenderBoundsF: TRectF; AFullSizeLayer: boolean = false); overload;
Public procedure RenderLayerFromOriginal(layer: integer; ADraft: boolean; ARenderBounds: TRect; AFullSizeLayer: boolean = false); overload;
Public procedure RenderLayerFromOriginal(layer: integer; ADraft: boolean = false; AFullSizeLayer: boolean = false); overload;
Public procedure RenderLayerFromOriginalIfNecessary(layer: integer; ADraft: boolean; var ABounds: TRect);
Public procedure Resample(AWidth, AHeight: integer; AResampleMode: TResampleMode; AFineResampleFilter: TResampleFilter = rfLinear);
Public procedure RotateCCW;
Public procedure RotateCW;
Public procedure RotateUD; overload;
Public procedure RotateUD(ALayerIndex: integer); overload;
Public procedure SaveLayerRegistryToStream(ALayerIndex: integer; AStream: TStream);
Public procedure SaveOriginalToStream(AIndex: integer; AStream: TStream); overload;
Public procedure SaveOriginalToStream(const AGuid: TGuid; AStream: TStream); overload;
Public procedure SetGlobalRegistry(ARegistryIdentifier: string; AValue: RawByteString);
Public procedure SetLayerBitmap(layer: integer; ABitmap: TBGRABitmap; AOwned: boolean);
Public procedure SetLayerRegistry(ALayerIndex: integer; ARegistryIdentifier: string; AValue: RawByteString);
Public procedure SetSize(AWidth, AHeight: integer); virtual;
Public procedure UnloadOriginal(AIndex: integer); overload;
Public procedure UnloadOriginal(const AGuid: TGuid); overload;
Public procedure UnloadOriginals;
Public procedure VerticalFlip(ALayerIndex: integer); overload;
Public procedure VerticalFlip; overload;
Protected procedure FindOriginal(AGuid: TGuid; out ADir: TMemDirectory; out AClass: TBGRALayerOriginalAny);
Protected procedure OriginalChange(ASender: TObject; ABounds: PRectF; var ADiff: TBGRAOriginalDiff);
Protected procedure OriginalEditingChange(ASender: TObject);
Protected procedure SetBlendOperation(Layer: integer; op: TBlendOperation);
Protected procedure SetLayerFrozen(layer: integer; AValue: boolean); override;
Protected procedure SetLayerName(layer: integer; AValue: string);
Protected procedure SetLayerOffset(layer: integer; AValue: TPoint);
Protected procedure SetLayerOpacity(layer: integer; AValue: byte);
Protected procedure SetLayerOriginalGuid(layer: integer; const AValue: TGuid);
Protected procedure SetLayerOriginalMatrix(layer: integer; AValue: TAffineMatrix);
Protected procedure SetLayerOriginalRenderStatus(layer: integer; AValue: TOriginalRenderStatus);
Protected procedure SetLayerUniqueId(layer: integer; AValue: integer);
Protected procedure SetLayerVisible(layer: integer; AValue: boolean);
Protected procedure StoreOriginal(AOriginal: TBGRALayerCustomOriginal);
Protected procedure UpdateOriginalEditor(ALayerIndex: integer; AMatrix: TAffineMatrix; APointSize: single);

Properties

Public property BlendOperation[layer: integer]: TBlendOperation read GetBlendOperation write SetBlendOperation;
Public property EditorFocused: boolean read FEditorFocused write SetEditorFocused;
Public property Height: integer read GetHeight;
Public property LayerBitmap[layer: integer]: TBGRABitmap read GetLayerBitmapDirectly;
Public property LayerName[layer: integer]: string read GetLayerName write SetLayerName;
Public property LayerOffset[layer: integer]: TPoint read GetLayerOffset write SetLayerOffset;
Public property LayerOpacity[layer: integer]: byte read GetLayerOpacity write SetLayerOpacity;
Public property LayerOriginal[layer: integer]: TBGRALayerCustomOriginal read GetLayerOriginal;
Public property LayerOriginalClass[layer: integer]: TBGRALayerOriginalAny read GetLayerOriginalClass;
Public property LayerOriginalGuid[layer: integer]: TGuid read GetLayerOriginalGuid write SetLayerOriginalGuid;
Public property LayerOriginalKnown[layer: integer]: boolean read GetLayerOriginalKnown;
Public property LayerOriginalMatrix[layer: integer]: TAffineMatrix read GetLayerOriginalMatrix write SetLayerOriginalMatrix;
Public property LayerOriginalRenderStatus[layer: integer]: TOriginalRenderStatus read GetLayerOriginalRenderStatus write SetLayerOriginalRenderStatus;
Public property LayerUniqueId[layer: integer]: integer read GetLayerUniqueId write SetLayerUniqueId;
Public property LayerVisible[layer: integer]: boolean read GetLayerVisible write SetLayerVisible;
Public property NbLayers: integer read GetNbLayers;
Public property OnActionDone: TNotifyEvent read FOnActionDone write SetOnActionDone;
Public property OnActionProgress: TLayeredActionProgressEvent read FOnActionProgress write SetOnActionProgress;
Public property OnEditorFocusChanged: TNotifyEvent read FOnEditorFocusChanged write FOnEditorFocusChanged;
Public property OnOriginalChange: TEmbeddedOriginalChangeEvent read FOriginalChange write FOriginalChange;
Public property OnOriginalEditingChange: TEmbeddedOriginalEditingChangeEvent read FOriginalEditingChange write FOriginalEditingChange;
Public property OnOriginalLoadError: TEmbeddedOriginalLoadErrorEvent read FOnOriginalLoadError write FOnOriginalLoadError;
Public property Original[AIndex: integer]: TBGRALayerCustomOriginal read GetOriginalByIndex;
Public property OriginalClass[AIndex: integer]: TBGRALayerOriginalAny read GetOriginalByIndexClass;
Public property OriginalCount: integer read GetOriginalCount;
Public property OriginalEditor: TBGRAOriginalEditor read GetOriginalEditor;
Public property OriginalGuid[AIndex: integer]: TGUID read GetOriginalGuid;
Public property OriginalKnown[AIndex: integer]: boolean read GetOriginalByIndexKnown;
Public property Width : integer read GetWidth;

Description

Methods

Public constructor Create; overload; override;

This item has no description. Showing description inherited from TGraphic.Create.

Create an empty instance

Public constructor Create(AWidth, AHeight: integer); overload; virtual;

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public function AddLayer(AName: string; Source: TBGRABitmap; Position: TPoint; BlendOp: TBlendOperation; Opacity: byte = 255; Shared: boolean = false): integer; overload;

This item has no description.

Public function AddLayer(AName: string; Source: TBGRABitmap; Opacity: byte = 255): integer; overload;

This item has no description.

Public function AddLayer(AName: string; Source: TBGRABitmap; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload;

This item has no description.

Public function AddLayer(AName: string; Source: TBGRABitmap; Position: TPoint; Opacity: byte = 255): integer; overload;

This item has no description.

Public function AddLayer(Source: TBGRABitmap; Position: TPoint; BlendOp: TBlendOperation; Opacity: byte = 255; Shared: boolean = false): integer; overload;

This item has no description.

Public function AddLayer(Source: TBGRABitmap; Opacity: byte = 255): integer; overload;

This item has no description.

Public function AddLayer(Source: TBGRABitmap; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload;

This item has no description.

Public function AddLayer(Source: TBGRABitmap; Position: TPoint; Opacity: byte = 255): integer; overload;

This item has no description.

Public function AddLayerFromFile(AFileName: string; Position: TPoint; Opacity: byte = 255): integer; overload;

This item has no description.

Public function AddLayerFromFile(AFileName: string; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload;

This item has no description.

Public function AddLayerFromFile(AFileName: string; Opacity: byte = 255): integer; overload;

This item has no description.

Public function AddLayerFromFile(AFileName: string; Position: TPoint; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload;

This item has no description.

Public function AddLayerFromOriginal(const AGuid: TGuid; Matrix: TAffineMatrix; Opacity: byte = 255): integer; overload;

This item has no description.

Public function AddLayerFromOriginal(const AGuid: TGuid; Matrix: TAffineMatrix; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload;

This item has no description.

Public function AddLayerFromOriginal(const AGuid: TGuid; Opacity: byte = 255): integer; overload;

This item has no description.

Public function AddLayerFromOriginal(const AGuid: TGuid; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload;

This item has no description.

Public function AddLayerFromOwnedOriginal(AOriginal: TBGRALayerCustomOriginal; Matrix: TAffineMatrix; Opacity: byte = 255): integer; overload;

This item has no description.

Public function AddLayerFromOwnedOriginal(AOriginal: TBGRALayerCustomOriginal; Matrix: TAffineMatrix; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload;

This item has no description.

Public function AddLayerFromOwnedOriginal(AOriginal: TBGRALayerCustomOriginal; Opacity: byte = 255): integer; overload;

This item has no description.

Public function AddLayerFromOwnedOriginal(AOriginal: TBGRALayerCustomOriginal; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload;

This item has no description.

Public function AddOriginal(AOriginal: TBGRALayerCustomOriginal; AOwned: boolean = true): integer;

This item has no description.

Public function AddOriginalFromStorage(AStorage: TBGRAMemOriginalStorage; ALateLoad: boolean = false): integer; overload;

This item has no description.

Public function AddOriginalFromStorage(AStorage: TBGRAMemOriginalStorage; const AGuid: TGuid; ALateLoad: boolean = false): integer; overload;

This item has no description.

Public function AddOriginalFromStream(AStream: TStream; ALateLoad: boolean = false): integer; overload;

This item has no description.

Public function AddOriginalFromStream(AStream: TStream; const AGuid: TGuid; ALateLoad: boolean = false): integer; overload;

This item has no description.

Public function AddOwnedLayer(ABitmap: TBGRABitmap; Position: TPoint; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload;

This item has no description.

Public function AddOwnedLayer(ABitmap: TBGRABitmap; Opacity: byte = 255): integer; overload;

This item has no description.

Public function AddOwnedLayer(ABitmap: TBGRABitmap; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload;

This item has no description.

Public function AddOwnedLayer(ABitmap: TBGRABitmap; Position: TPoint; Opacity: byte = 255): integer; overload;

This item has no description.

Public function AddSharedLayer(Source: TBGRABitmap; Position: TPoint; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload;

This item has no description.

Public function AddSharedLayer(Source: TBGRABitmap; Opacity: byte = 255): integer; overload;

This item has no description.

Public function AddSharedLayer(Source: TBGRABitmap; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload;

This item has no description.

Public function AddSharedLayer(Source: TBGRABitmap; Position: TPoint; Opacity: byte = 255): integer; overload;

This item has no description.

Public function DrawEditor(ADest: TBGRABitmap; ALayerIndex: integer; X, Y: Integer; APointSize: single): TRect; overload;

This item has no description.

Public function DrawEditor(ADest: TBGRABitmap; ALayerIndex: integer; AMatrix: TAffineMatrix; APointSize: single): TRect; overload;

This item has no description.

Public function Duplicate(ASharedLayerIds: boolean = false): TBGRALayeredBitmap;

This item has no description.

Public function GetEditorBounds(ADestRect: TRect; ALayerIndex: integer; X, Y: Integer; APointSize: single): TRect; overload;

This item has no description.

Public function GetEditorBounds(ALayerIndex: integer; X, Y: Integer; APointSize: single): TRect; overload;

This item has no description.

Public function GetEditorBounds(ADestRect: TRect; ALayerIndex: integer; AMatrix: TAffineMatrix; APointSize: single): TRect; overload;

This item has no description.

Public function GetEditorBounds(ALayerIndex: integer; AMatrix: TAffineMatrix; APointSize: single): TRect; overload;

This item has no description.

Public function GetGlobalRegistry(ARegistryIdentifier: string): RawByteString;

This item has no description.

Public function GetLayerBitmapCopy(layer: integer): TBGRABitmap; override;

This item has no description.

Public function GetLayerBitmapDirectly(layer: integer): TBGRABitmap; override;

This item has no description.

Public function GetLayerIndexFromId(AIdentifier: integer): integer;

This item has no description.

Public function GetLayerRegistry(ALayerIndex: integer; ARegistryIdentifier: string): RawByteString;

This item has no description.

Public function IndexOfOriginal(const AGuid: TGuid): integer; overload; override;

This item has no description.

Public function IndexOfOriginal(AOriginal: TBGRALayerCustomOriginal): integer; overload; override;

This item has no description.

Public class function IsValidRegistryIndentifier(AIdentifier: string): boolean;

This item has no description.

Public function MoveLayerDown(index: integer): integer;

This item has no description.

Public function MoveLayerUp(index: integer): integer;

This item has no description.

Public function ProduceLayerUniqueId: integer;

This item has no description.

Public function RemoveOriginal(AOriginal: TBGRALayerCustomOriginal): boolean;

This item has no description.

Public function RenderOriginalIfNecessary(const AGuid: TGuid; ADraft: boolean = false): TRect;

This item has no description.

Public function RenderOriginalsIfNecessary(ADraft: boolean = false): TRect;

This item has no description.

Public function TakeLayerBitmap(layer: integer): TBGRABitmap;

This item has no description.

Protected function GetBlendOperation(Layer: integer): TBlendOperation; override;

This item has no description.

Protected function GetHeight: integer; override;

This item has no description. Showing description inherited from TGraphic.GetHeight.

Retrieves height

Protected function GetLayerDirectory(ALayerIndex: integer; ACanCreate: boolean): TMemDirectory;

This item has no description.

Protected function GetLayerFrozen(layer: integer): boolean; override;

This item has no description.

Protected function GetLayerName(layer: integer): string; override;

This item has no description.

Protected function GetLayerOffset(layer: integer): TPoint; override;

This item has no description.

Protected function GetLayerOpacity(layer: integer): byte; override;

This item has no description.

Protected function GetLayerOriginal(layer: integer): TBGRALayerCustomOriginal; override;

This item has no description.

Protected function GetLayerOriginalGuid(layer: integer): TGuid; override;

This item has no description.

Protected function GetLayerOriginalKnown(layer: integer): boolean; override;

This item has no description.

Protected function GetLayerOriginalMatrix(layer: integer): TAffineMatrix; override;

This item has no description.

Protected function GetLayerOriginalRenderStatus(layer: integer): TOriginalRenderStatus; override;

This item has no description.

Protected function GetLayerUniqueId(layer: integer): integer; override;

This item has no description.

Protected function GetLayerVisible(layer: integer): boolean; override;

This item has no description.

Protected function GetNbLayers: integer; override;

This item has no description.

Protected function GetOriginalByIndex(AIndex: integer): TBGRALayerCustomOriginal; override;

This item has no description.

Protected function GetOriginalByIndexClass(AIndex: integer): TBGRALayerOriginalAny; override;

This item has no description.

Protected function GetOriginalByIndexKnown(AIndex: integer): boolean; override;

This item has no description.

Protected function GetOriginalByIndexLoaded(AIndex: integer): boolean; override;

This item has no description.

Protected function GetOriginalCount: integer; override;

This item has no description.

Protected function GetWidth: integer; override;

This item has no description. Showing description inherited from TGraphic.GetWidth.

Retrieves width

Public procedure ApplyLayerOffset(ALayerIndex: integer; APadWithTranparentPixels: boolean);

This item has no description.

Public procedure Assign(ASource: TBGRACustomLayeredBitmap; ASharedLayerIds: boolean = false; ACopyAdditionalMemData: boolean = false); overload;

This item has no description.

Public procedure Clear; override;

This item has no description. Showing description inherited from TGraphic.Clear.

Clears the content

Public procedure ClearEditor;

This item has no description.

Public procedure ClearOriginals;

This item has no description.

Public procedure DeleteOriginal(AIndex: integer);

This item has no description.

Public procedure HorizontalFlip(ALayerIndex: integer); overload;

This item has no description.

Public procedure HorizontalFlip; overload;

This item has no description.

Public procedure InsertLayer(index: integer; fromIndex: integer);

This item has no description.

Public procedure KeyDown(Shift: TShiftState; Key: TSpecialKey; out AHandled: boolean);

This item has no description.

Public procedure KeyPress(UTF8Key: string; out AHandled: boolean);

This item has no description.

Public procedure KeyUp(Shift: TShiftState; Key: TSpecialKey; out AHandled: boolean);

This item has no description.

Public procedure LoadFromFile(const filenameUTF8: string); override;

This item has no description. Showing description inherited from TGraphic.LoadFromFile.

Load the content from a given file

Public procedure LoadFromResource(AFilename: string);

This item has no description.

Public procedure LoadFromStream(stream: TStream); override;

This item has no description. Showing description inherited from TGraphic.LoadFromStream.

Load the content from a given stream

Public procedure LoadLayerRegistryFromStream(ALayerIndex: integer; AStream: TStream);

This item has no description.

Public procedure MouseDown(RightButton: boolean; Shift: TShiftState; ImageX, ImageY: Single; out ACursor: TOriginalEditorCursor; out AHandled: boolean);

This item has no description.

Public procedure MouseDown(RightButton: boolean; Shift: TShiftState; ImageX, ImageY: Single; out ACursor: TOriginalEditorCursor);

This item has no description.

Public procedure MouseMove(Shift: TShiftState; ImageX, ImageY: Single; out ACursor: TOriginalEditorCursor);

This item has no description.

Public procedure MouseMove(Shift: TShiftState; ImageX, ImageY: Single; out ACursor: TOriginalEditorCursor; out AHandled: boolean);

This item has no description.

Public procedure MouseUp(RightButton: boolean; Shift: TShiftState; ImageX, ImageY: Single; out ACursor: TOriginalEditorCursor; out AHandled: boolean);

This item has no description.

Public procedure MouseUp(RightButton: boolean; Shift: TShiftState; ImageX, ImageY: Single; out ACursor: TOriginalEditorCursor);

This item has no description.

Public procedure NotifyLoaded; override;

This item has no description.

Public procedure NotifySaving; override;

This item has no description.

Public procedure RemoveLayer(index: integer);

This item has no description.

Public procedure RemoveUnusedOriginals;

This item has no description.

Public procedure RenderLayerFromOriginal(layer: integer; ADraft: boolean; ARenderBoundsF: TRectF; AFullSizeLayer: boolean = false); overload;

This item has no description.

Public procedure RenderLayerFromOriginal(layer: integer; ADraft: boolean; ARenderBounds: TRect; AFullSizeLayer: boolean = false); overload;

This item has no description.

Public procedure RenderLayerFromOriginal(layer: integer; ADraft: boolean = false; AFullSizeLayer: boolean = false); overload;

This item has no description.

Public procedure RenderLayerFromOriginalIfNecessary(layer: integer; ADraft: boolean; var ABounds: TRect);

This item has no description.

Public procedure Resample(AWidth, AHeight: integer; AResampleMode: TResampleMode; AFineResampleFilter: TResampleFilter = rfLinear);

This item has no description.

Public procedure RotateCCW;

This item has no description.

Public procedure RotateCW;

This item has no description.

Public procedure RotateUD; overload;

This item has no description.

Public procedure RotateUD(ALayerIndex: integer); overload;

This item has no description.

Public procedure SaveLayerRegistryToStream(ALayerIndex: integer; AStream: TStream);

This item has no description.

Public procedure SaveOriginalToStream(AIndex: integer; AStream: TStream); overload;

This item has no description.

Public procedure SaveOriginalToStream(const AGuid: TGuid; AStream: TStream); overload;

This item has no description.

Public procedure SetGlobalRegistry(ARegistryIdentifier: string; AValue: RawByteString);

This item has no description.

Public procedure SetLayerBitmap(layer: integer; ABitmap: TBGRABitmap; AOwned: boolean);

This item has no description.

Public procedure SetLayerRegistry(ALayerIndex: integer; ARegistryIdentifier: string; AValue: RawByteString);

This item has no description.

Public procedure SetSize(AWidth, AHeight: integer); virtual;

This item has no description.

Public procedure UnloadOriginal(AIndex: integer); overload;

This item has no description.

Public procedure UnloadOriginal(const AGuid: TGuid); overload;

This item has no description.

Public procedure UnloadOriginals;

This item has no description.

Public procedure VerticalFlip(ALayerIndex: integer); overload;

This item has no description.

Public procedure VerticalFlip; overload;

This item has no description.

Protected procedure FindOriginal(AGuid: TGuid; out ADir: TMemDirectory; out AClass: TBGRALayerOriginalAny);

This item has no description.

Protected procedure OriginalChange(ASender: TObject; ABounds: PRectF; var ADiff: TBGRAOriginalDiff);

This item has no description.

Protected procedure OriginalEditingChange(ASender: TObject);

This item has no description.

Protected procedure SetBlendOperation(Layer: integer; op: TBlendOperation);

This item has no description.

Protected procedure SetLayerFrozen(layer: integer; AValue: boolean); override;

This item has no description.

Protected procedure SetLayerName(layer: integer; AValue: string);

This item has no description.

Protected procedure SetLayerOffset(layer: integer; AValue: TPoint);

This item has no description.

Protected procedure SetLayerOpacity(layer: integer; AValue: byte);

This item has no description.

Protected procedure SetLayerOriginalGuid(layer: integer; const AValue: TGuid);

This item has no description.

Protected procedure SetLayerOriginalMatrix(layer: integer; AValue: TAffineMatrix);

This item has no description.

Protected procedure SetLayerOriginalRenderStatus(layer: integer; AValue: TOriginalRenderStatus);

This item has no description.

Protected procedure SetLayerUniqueId(layer: integer; AValue: integer);

This item has no description.

Protected procedure SetLayerVisible(layer: integer; AValue: boolean);

This item has no description.

Protected procedure StoreOriginal(AOriginal: TBGRALayerCustomOriginal);

This item has no description.

Protected procedure UpdateOriginalEditor(ALayerIndex: integer; AMatrix: TAffineMatrix; APointSize: single);

This item has no description.

Properties

Public property BlendOperation[layer: integer]: TBlendOperation read GetBlendOperation write SetBlendOperation;

This item has no description.

Public property EditorFocused: boolean read FEditorFocused write SetEditorFocused;

This item has no description.

Public property Height: integer read GetHeight;

This item has no description.

Public property LayerBitmap[layer: integer]: TBGRABitmap read GetLayerBitmapDirectly;

This item has no description.

Public property LayerName[layer: integer]: string read GetLayerName write SetLayerName;

This item has no description.

Public property LayerOffset[layer: integer]: TPoint read GetLayerOffset write SetLayerOffset;

This item has no description.

Public property LayerOpacity[layer: integer]: byte read GetLayerOpacity write SetLayerOpacity;

This item has no description.

Public property LayerOriginal[layer: integer]: TBGRALayerCustomOriginal read GetLayerOriginal;

This item has no description.

Public property LayerOriginalClass[layer: integer]: TBGRALayerOriginalAny read GetLayerOriginalClass;

This item has no description.

Public property LayerOriginalGuid[layer: integer]: TGuid read GetLayerOriginalGuid write SetLayerOriginalGuid;

This item has no description.

Public property LayerOriginalKnown[layer: integer]: boolean read GetLayerOriginalKnown;

This item has no description.

Public property LayerOriginalMatrix[layer: integer]: TAffineMatrix read GetLayerOriginalMatrix write SetLayerOriginalMatrix;

This item has no description.

Public property LayerOriginalRenderStatus[layer: integer]: TOriginalRenderStatus read GetLayerOriginalRenderStatus write SetLayerOriginalRenderStatus;

This item has no description.

Public property LayerUniqueId[layer: integer]: integer read GetLayerUniqueId write SetLayerUniqueId;

This item has no description.

Public property LayerVisible[layer: integer]: boolean read GetLayerVisible write SetLayerVisible;

This item has no description.

Public property NbLayers: integer read GetNbLayers;

This item has no description.

Public property OnActionDone: TNotifyEvent read FOnActionDone write SetOnActionDone;

This item has no description.

Public property OnActionProgress: TLayeredActionProgressEvent read FOnActionProgress write SetOnActionProgress;

This item has no description.

Public property OnEditorFocusChanged: TNotifyEvent read FOnEditorFocusChanged write FOnEditorFocusChanged;

This item has no description.

Public property OnOriginalChange: TEmbeddedOriginalChangeEvent read FOriginalChange write FOriginalChange;

This item has no description.

Public property OnOriginalEditingChange: TEmbeddedOriginalEditingChangeEvent read FOriginalEditingChange write FOriginalEditingChange;

This item has no description.

Public property OnOriginalLoadError: TEmbeddedOriginalLoadErrorEvent read FOnOriginalLoadError write FOnOriginalLoadError;

This item has no description.

Public property Original[AIndex: integer]: TBGRALayerCustomOriginal read GetOriginalByIndex;

This item has no description.

Public property OriginalClass[AIndex: integer]: TBGRALayerOriginalAny read GetOriginalByIndexClass;

This item has no description.

Public property OriginalCount: integer read GetOriginalCount;

This item has no description.

Public property OriginalEditor: TBGRAOriginalEditor read GetOriginalEditor;

This item has no description.

Public property OriginalGuid[AIndex: integer]: TGUID read GetOriginalGuid;

This item has no description.

Public property OriginalKnown[AIndex: integer]: boolean read GetOriginalByIndexKnown;

This item has no description.

Public property Width : integer read GetWidth;

This item has no description.