Class TBGRALayeredBitmap
Unit
Declaration
type TBGRALayeredBitmap = class(TBGRACustomLayeredBitmap)
Description
Base implementation for a layered bitmap
Hierarchy
- TGraphic
- TBGRACustomLayeredBitmap
- TBGRALayeredBitmap
Overview
Methods
constructor Create; overload; override; |
|
constructor Create(AWidth, AHeight: integer); overload; virtual; |
|
destructor Destroy; override; |
|
function AddLayer(AName: string; Source: TBGRABitmap; Position: TPoint; BlendOp: TBlendOperation; Opacity: byte = 255; Shared: boolean = false): integer; overload; |
|
function AddLayer(AName: string; Source: TBGRABitmap; Opacity: byte = 255): integer; overload; |
|
function AddLayer(AName: string; Source: TBGRABitmap; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload; |
|
function AddLayer(AName: string; Source: TBGRABitmap; Position: TPoint; Opacity: byte = 255): integer; overload; |
|
function AddLayer(Source: TBGRABitmap; Position: TPoint; BlendOp: TBlendOperation; Opacity: byte = 255; Shared: boolean = false): integer; overload; |
|
function AddLayer(Source: TBGRABitmap; Opacity: byte = 255): integer; overload; |
|
function AddLayer(Source: TBGRABitmap; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload; |
|
function AddLayer(Source: TBGRABitmap; Position: TPoint; Opacity: byte = 255): integer; overload; |
|
function AddLayerFromFile(AFileName: string; Position: TPoint; Opacity: byte = 255): integer; overload; |
|
function AddLayerFromFile(AFileName: string; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload; |
|
function AddLayerFromFile(AFileName: string; Opacity: byte = 255): integer; overload; |
|
function AddLayerFromFile(AFileName: string; Position: TPoint; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload; |
|
function AddLayerFromOriginal(const AGuid: TGuid; Matrix: TAffineMatrix; Opacity: byte = 255): integer; overload; |
|
function AddLayerFromOriginal(const AGuid: TGuid; Matrix: TAffineMatrix; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload; |
|
function AddLayerFromOriginal(const AGuid: TGuid; Opacity: byte = 255): integer; overload; |
|
function AddLayerFromOriginal(const AGuid: TGuid; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload; |
|
function AddLayerFromOwnedOriginal(AOriginal: TBGRALayerCustomOriginal; Matrix: TAffineMatrix; Opacity: byte = 255): integer; overload; |
|
function AddLayerFromOwnedOriginal(AOriginal: TBGRALayerCustomOriginal; Matrix: TAffineMatrix; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload; |
|
function AddLayerFromOwnedOriginal(AOriginal: TBGRALayerCustomOriginal; Opacity: byte = 255): integer; overload; |
|
function AddLayerFromOwnedOriginal(AOriginal: TBGRALayerCustomOriginal; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload; |
|
function AddOriginal(AOriginal: TBGRALayerCustomOriginal; AOwned: boolean = true): integer; |
|
function AddOriginalFromStorage(AStorage: TBGRAMemOriginalStorage; ALateLoad: boolean = false): integer; overload; |
|
function AddOriginalFromStorage(AStorage: TBGRAMemOriginalStorage; const AGuid: TGuid; ALateLoad: boolean = false): integer; overload; |
|
function AddOriginalFromStream(AStream: TStream; ALateLoad: boolean = false): integer; overload; |
|
function AddOriginalFromStream(AStream: TStream; const AGuid: TGuid; ALateLoad: boolean = false): integer; overload; |
|
function AddOwnedLayer(ABitmap: TBGRABitmap; Position: TPoint; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload; |
|
function AddOwnedLayer(ABitmap: TBGRABitmap; Opacity: byte = 255): integer; overload; |
|
function AddOwnedLayer(ABitmap: TBGRABitmap; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload; |
|
function AddOwnedLayer(ABitmap: TBGRABitmap; Position: TPoint; Opacity: byte = 255): integer; overload; |
|
function AddSharedLayer(Source: TBGRABitmap; Position: TPoint; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload; |
|
function AddSharedLayer(Source: TBGRABitmap; Opacity: byte = 255): integer; overload; |
|
function AddSharedLayer(Source: TBGRABitmap; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload; |
|
function AddSharedLayer(Source: TBGRABitmap; Position: TPoint; Opacity: byte = 255): integer; overload; |
|
function DrawEditor(ADest: TBGRABitmap; ALayerIndex: integer; X, Y: Integer; APointSize: single): TRect; overload; |
|
function DrawEditor(ADest: TBGRABitmap; ALayerIndex: integer; AMatrix: TAffineMatrix; APointSize: single): TRect; overload; |
|
function Duplicate(ASharedLayerIds: boolean = false): TBGRALayeredBitmap; |
|
function GetEditorBounds(ADestRect: TRect; ALayerIndex: integer; X, Y: Integer; APointSize: single): TRect; overload; |
|
function GetEditorBounds(ALayerIndex: integer; X, Y: Integer; APointSize: single): TRect; overload; |
|
function GetEditorBounds(ADestRect: TRect; ALayerIndex: integer; AMatrix: TAffineMatrix; APointSize: single): TRect; overload; |
|
function GetEditorBounds(ALayerIndex: integer; AMatrix: TAffineMatrix; APointSize: single): TRect; overload; |
|
function GetGlobalRegistry(ARegistryIdentifier: string): RawByteString; |
|
function GetLayerBitmapCopy(layer: integer): TBGRABitmap; override; |
|
function GetLayerBitmapDirectly(layer: integer): TBGRABitmap; override; |
|
function GetLayerIndexFromId(AIdentifier: integer): integer; |
|
function GetLayerRegistry(ALayerIndex: integer; ARegistryIdentifier: string): RawByteString; |
|
function IndexOfOriginal(const AGuid: TGuid): integer; overload; override; |
|
function IndexOfOriginal(AOriginal: TBGRALayerCustomOriginal): integer; overload; override; |
|
class function IsValidRegistryIndentifier(AIdentifier: string): boolean; |
|
function MoveLayerDown(index: integer): integer; |
|
function MoveLayerUp(index: integer): integer; |
|
function ProduceLayerUniqueId: integer; |
|
function RemoveOriginal(AOriginal: TBGRALayerCustomOriginal): boolean; |
|
function RenderOriginalIfNecessary(const AGuid: TGuid; ADraft: boolean = false): TRect; |
|
function RenderOriginalsIfNecessary(ADraft: boolean = false): TRect; |
|
function TakeLayerBitmap(layer: integer): TBGRABitmap; |
|
function GetBlendOperation(Layer: integer): TBlendOperation; override; |
|
function GetHeight: integer; override; |
|
function GetLayerDirectory(ALayerIndex: integer; ACanCreate: boolean): TMemDirectory; |
|
function GetLayerFrozen(layer: integer): boolean; override; |
|
function GetLayerName(layer: integer): string; override; |
|
function GetLayerOffset(layer: integer): TPoint; override; |
|
function GetLayerOpacity(layer: integer): byte; override; |
|
function GetLayerOriginal(layer: integer): TBGRALayerCustomOriginal; override; |
|
function GetLayerOriginalGuid(layer: integer): TGuid; override; |
|
function GetLayerOriginalKnown(layer: integer): boolean; override; |
|
function GetLayerOriginalMatrix(layer: integer): TAffineMatrix; override; |
|
function GetLayerOriginalRenderStatus(layer: integer): TOriginalRenderStatus; override; |
|
function GetLayerUniqueId(layer: integer): integer; override; |
|
function GetLayerVisible(layer: integer): boolean; override; |
|
function GetNbLayers: integer; override; |
|
function GetOriginalByIndex(AIndex: integer): TBGRALayerCustomOriginal; override; |
|
function GetOriginalByIndexClass(AIndex: integer): TBGRALayerOriginalAny; override; |
|
function GetOriginalByIndexKnown(AIndex: integer): boolean; override; |
|
function GetOriginalByIndexLoaded(AIndex: integer): boolean; override; |
|
function GetOriginalCount: integer; override; |
|
function GetWidth: integer; override; |
|
procedure ApplyLayerOffset(ALayerIndex: integer; APadWithTranparentPixels: boolean); |
|
procedure Assign(ASource: TBGRACustomLayeredBitmap; ASharedLayerIds: boolean = false; ACopyAdditionalMemData: boolean = false); overload; |
|
procedure Clear; override; |
|
procedure ClearEditor; |
|
procedure ClearOriginals; |
|
procedure DeleteOriginal(AIndex: integer); |
|
procedure HorizontalFlip(ALayerIndex: integer); overload; |
|
procedure HorizontalFlip; overload; |
|
procedure InsertLayer(index: integer; fromIndex: integer); |
|
procedure KeyDown(Shift: TShiftState; Key: TSpecialKey; out AHandled: boolean); |
|
procedure KeyPress(UTF8Key: string; out AHandled: boolean); |
|
procedure KeyUp(Shift: TShiftState; Key: TSpecialKey; out AHandled: boolean); |
|
procedure LoadFromFile(const filenameUTF8: string); override; |
|
procedure LoadFromResource(AFilename: string); |
|
procedure LoadFromStream(stream: TStream); override; |
|
procedure LoadLayerRegistryFromStream(ALayerIndex: integer; AStream: TStream); |
|
procedure MouseDown(RightButton: boolean; Shift: TShiftState; ImageX, ImageY: Single; out ACursor: TOriginalEditorCursor; out AHandled: boolean); |
|
procedure MouseDown(RightButton: boolean; Shift: TShiftState; ImageX, ImageY: Single; out ACursor: TOriginalEditorCursor); |
|
procedure MouseMove(Shift: TShiftState; ImageX, ImageY: Single; out ACursor: TOriginalEditorCursor); |
|
procedure MouseMove(Shift: TShiftState; ImageX, ImageY: Single; out ACursor: TOriginalEditorCursor; out AHandled: boolean); |
|
procedure MouseUp(RightButton: boolean; Shift: TShiftState; ImageX, ImageY: Single; out ACursor: TOriginalEditorCursor; out AHandled: boolean); |
|
procedure MouseUp(RightButton: boolean; Shift: TShiftState; ImageX, ImageY: Single; out ACursor: TOriginalEditorCursor); |
|
procedure NotifyLoaded; override; |
|
procedure NotifySaving; override; |
|
procedure RemoveLayer(index: integer); |
|
procedure RemoveUnusedOriginals; |
|
procedure RenderLayerFromOriginal(layer: integer; ADraft: boolean; ARenderBoundsF: TRectF; AFullSizeLayer: boolean = false); overload; |
|
procedure RenderLayerFromOriginal(layer: integer; ADraft: boolean; ARenderBounds: TRect; AFullSizeLayer: boolean = false); overload; |
|
procedure RenderLayerFromOriginal(layer: integer; ADraft: boolean = false; AFullSizeLayer: boolean = false); overload; |
|
procedure RenderLayerFromOriginalIfNecessary(layer: integer; ADraft: boolean; var ABounds: TRect); |
|
procedure Resample(AWidth, AHeight: integer; AResampleMode: TResampleMode; AFineResampleFilter: TResampleFilter = rfLinear); |
|
procedure RotateCCW; |
|
procedure RotateCW; |
|
procedure RotateUD; overload; |
|
procedure RotateUD(ALayerIndex: integer); overload; |
|
procedure SaveLayerRegistryToStream(ALayerIndex: integer; AStream: TStream); |
|
procedure SaveOriginalToStream(AIndex: integer; AStream: TStream); overload; |
|
procedure SaveOriginalToStream(const AGuid: TGuid; AStream: TStream); overload; |
|
procedure SetGlobalRegistry(ARegistryIdentifier: string; AValue: RawByteString); |
|
procedure SetLayerBitmap(layer: integer; ABitmap: TBGRABitmap; AOwned: boolean); |
|
procedure SetLayerRegistry(ALayerIndex: integer; ARegistryIdentifier: string; AValue: RawByteString); |
|
procedure SetSize(AWidth, AHeight: integer); virtual; |
|
procedure UnloadOriginal(AIndex: integer); overload; |
|
procedure UnloadOriginal(const AGuid: TGuid); overload; |
|
procedure UnloadOriginals; |
|
procedure VerticalFlip(ALayerIndex: integer); overload; |
|
procedure VerticalFlip; overload; |
|
procedure FindOriginal(AGuid: TGuid; out ADir: TMemDirectory; out AClass: TBGRALayerOriginalAny); |
|
procedure OriginalChange(ASender: TObject; ABounds: PRectF; var ADiff: TBGRAOriginalDiff); |
|
procedure OriginalEditingChange(ASender: TObject); |
|
procedure SetBlendOperation(Layer: integer; op: TBlendOperation); |
|
procedure SetLayerFrozen(layer: integer; AValue: boolean); override; |
|
procedure SetLayerName(layer: integer; AValue: string); |
|
procedure SetLayerOffset(layer: integer; AValue: TPoint); |
|
procedure SetLayerOpacity(layer: integer; AValue: byte); |
|
procedure SetLayerOriginalGuid(layer: integer; const AValue: TGuid); |
|
procedure SetLayerOriginalMatrix(layer: integer; AValue: TAffineMatrix); |
|
procedure SetLayerOriginalRenderStatus(layer: integer; AValue: TOriginalRenderStatus); |
|
procedure SetLayerUniqueId(layer: integer; AValue: integer); |
|
procedure SetLayerVisible(layer: integer; AValue: boolean); |
|
procedure StoreOriginal(AOriginal: TBGRALayerCustomOriginal); |
|
procedure UpdateOriginalEditor(ALayerIndex: integer; AMatrix: TAffineMatrix; APointSize: single); |
Properties
property BlendOperation[layer: integer]: TBlendOperation read GetBlendOperation write SetBlendOperation; |
|
property EditorFocused: boolean read FEditorFocused write SetEditorFocused; |
|
property Height: integer read GetHeight; |
|
property LayerBitmap[layer: integer]: TBGRABitmap read GetLayerBitmapDirectly; |
|
property LayerName[layer: integer]: string read GetLayerName write SetLayerName; |
|
property LayerOffset[layer: integer]: TPoint read GetLayerOffset write SetLayerOffset; |
|
property LayerOpacity[layer: integer]: byte read GetLayerOpacity write SetLayerOpacity; |
|
property LayerOriginal[layer: integer]: TBGRALayerCustomOriginal read GetLayerOriginal; |
|
property LayerOriginalClass[layer: integer]: TBGRALayerOriginalAny read GetLayerOriginalClass; |
|
property LayerOriginalGuid[layer: integer]: TGuid read GetLayerOriginalGuid write SetLayerOriginalGuid; |
|
property LayerOriginalKnown[layer: integer]: boolean read GetLayerOriginalKnown; |
|
property LayerOriginalMatrix[layer: integer]: TAffineMatrix read GetLayerOriginalMatrix write SetLayerOriginalMatrix; |
|
property LayerOriginalRenderStatus[layer: integer]: TOriginalRenderStatus read GetLayerOriginalRenderStatus write SetLayerOriginalRenderStatus; |
|
property LayerUniqueId[layer: integer]: integer read GetLayerUniqueId write SetLayerUniqueId; |
|
property LayerVisible[layer: integer]: boolean read GetLayerVisible write SetLayerVisible; |
|
property NbLayers: integer read GetNbLayers; |
|
property OnActionDone: TNotifyEvent read FOnActionDone write SetOnActionDone; |
|
property OnActionProgress: TLayeredActionProgressEvent read FOnActionProgress write SetOnActionProgress; |
|
property OnEditorFocusChanged: TNotifyEvent read FOnEditorFocusChanged write FOnEditorFocusChanged; |
|
property OnOriginalChange: TEmbeddedOriginalChangeEvent read FOriginalChange write FOriginalChange; |
|
property OnOriginalEditingChange: TEmbeddedOriginalEditingChangeEvent read FOriginalEditingChange write FOriginalEditingChange; |
|
property OnOriginalLoadError: TEmbeddedOriginalLoadErrorEvent read FOnOriginalLoadError write FOnOriginalLoadError; |
|
property Original[AIndex: integer]: TBGRALayerCustomOriginal read GetOriginalByIndex; |
|
property OriginalClass[AIndex: integer]: TBGRALayerOriginalAny read GetOriginalByIndexClass; |
|
property OriginalCount: integer read GetOriginalCount; |
|
property OriginalEditor: TBGRAOriginalEditor read GetOriginalEditor; |
|
property OriginalGuid[AIndex: integer]: TGUID read GetOriginalGuid; |
|
property OriginalKnown[AIndex: integer]: boolean read GetOriginalByIndexKnown; |
|
property Width : integer read GetWidth; |
Description
Methods
constructor Create; overload; override; |
|
This item has no description. Showing description inherited from TGraphic.Create.
|
constructor Create(AWidth, AHeight: integer); overload; virtual; |
|
This item has no description. |
destructor Destroy; override; |
|
This item has no description. |
function AddLayer(AName: string; Source: TBGRABitmap; Position: TPoint; BlendOp: TBlendOperation; Opacity: byte = 255; Shared: boolean = false): integer; overload; |
|
This item has no description. |
function AddLayer(AName: string; Source: TBGRABitmap; Opacity: byte = 255): integer; overload; |
|
This item has no description. |
function AddLayer(AName: string; Source: TBGRABitmap; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload; |
|
This item has no description. |
function AddLayer(AName: string; Source: TBGRABitmap; Position: TPoint; Opacity: byte = 255): integer; overload; |
|
This item has no description. |
function AddLayer(Source: TBGRABitmap; Position: TPoint; BlendOp: TBlendOperation; Opacity: byte = 255; Shared: boolean = false): integer; overload; |
|
This item has no description. |
function AddLayer(Source: TBGRABitmap; Opacity: byte = 255): integer; overload; |
|
This item has no description. |
function AddLayer(Source: TBGRABitmap; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload; |
|
This item has no description. |
function AddLayer(Source: TBGRABitmap; Position: TPoint; Opacity: byte = 255): integer; overload; |
|
This item has no description. |
function AddLayerFromFile(AFileName: string; Position: TPoint; Opacity: byte = 255): integer; overload; |
|
This item has no description. |
function AddLayerFromFile(AFileName: string; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload; |
|
This item has no description. |
function AddLayerFromFile(AFileName: string; Opacity: byte = 255): integer; overload; |
|
This item has no description. |
function AddLayerFromFile(AFileName: string; Position: TPoint; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload; |
|
This item has no description. |
function AddLayerFromOriginal(const AGuid: TGuid; Matrix: TAffineMatrix; Opacity: byte = 255): integer; overload; |
|
This item has no description. |
function AddLayerFromOriginal(const AGuid: TGuid; Matrix: TAffineMatrix; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload; |
|
This item has no description. |
function AddLayerFromOriginal(const AGuid: TGuid; Opacity: byte = 255): integer; overload; |
|
This item has no description. |
function AddLayerFromOriginal(const AGuid: TGuid; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload; |
|
This item has no description. |
function AddLayerFromOwnedOriginal(AOriginal: TBGRALayerCustomOriginal; Matrix: TAffineMatrix; Opacity: byte = 255): integer; overload; |
|
This item has no description. |
function AddLayerFromOwnedOriginal(AOriginal: TBGRALayerCustomOriginal; Matrix: TAffineMatrix; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload; |
|
This item has no description. |
function AddLayerFromOwnedOriginal(AOriginal: TBGRALayerCustomOriginal; Opacity: byte = 255): integer; overload; |
|
This item has no description. |
function AddLayerFromOwnedOriginal(AOriginal: TBGRALayerCustomOriginal; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload; |
|
This item has no description. |
function AddOriginal(AOriginal: TBGRALayerCustomOriginal; AOwned: boolean = true): integer; |
|
This item has no description. |
function AddOriginalFromStorage(AStorage: TBGRAMemOriginalStorage; ALateLoad: boolean = false): integer; overload; |
|
This item has no description. |
function AddOriginalFromStorage(AStorage: TBGRAMemOriginalStorage; const AGuid: TGuid; ALateLoad: boolean = false): integer; overload; |
|
This item has no description. |
function AddOriginalFromStream(AStream: TStream; ALateLoad: boolean = false): integer; overload; |
|
This item has no description. |
function AddOriginalFromStream(AStream: TStream; const AGuid: TGuid; ALateLoad: boolean = false): integer; overload; |
|
This item has no description. |
function AddOwnedLayer(ABitmap: TBGRABitmap; Position: TPoint; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload; |
|
This item has no description. |
function AddOwnedLayer(ABitmap: TBGRABitmap; Opacity: byte = 255): integer; overload; |
|
This item has no description. |
function AddOwnedLayer(ABitmap: TBGRABitmap; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload; |
|
This item has no description. |
function AddOwnedLayer(ABitmap: TBGRABitmap; Position: TPoint; Opacity: byte = 255): integer; overload; |
|
This item has no description. |
function AddSharedLayer(Source: TBGRABitmap; Position: TPoint; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload; |
|
This item has no description. |
function AddSharedLayer(Source: TBGRABitmap; Opacity: byte = 255): integer; overload; |
|
This item has no description. |
function AddSharedLayer(Source: TBGRABitmap; BlendOp: TBlendOperation; Opacity: byte = 255): integer; overload; |
|
This item has no description. |
function AddSharedLayer(Source: TBGRABitmap; Position: TPoint; Opacity: byte = 255): integer; overload; |
|
This item has no description. |
function DrawEditor(ADest: TBGRABitmap; ALayerIndex: integer; X, Y: Integer; APointSize: single): TRect; overload; |
|
This item has no description. |
function DrawEditor(ADest: TBGRABitmap; ALayerIndex: integer; AMatrix: TAffineMatrix; APointSize: single): TRect; overload; |
|
This item has no description. |
function Duplicate(ASharedLayerIds: boolean = false): TBGRALayeredBitmap; |
|
This item has no description. |
function GetEditorBounds(ADestRect: TRect; ALayerIndex: integer; X, Y: Integer; APointSize: single): TRect; overload; |
|
This item has no description. |
function GetEditorBounds(ALayerIndex: integer; X, Y: Integer; APointSize: single): TRect; overload; |
|
This item has no description. |
function GetEditorBounds(ADestRect: TRect; ALayerIndex: integer; AMatrix: TAffineMatrix; APointSize: single): TRect; overload; |
|
This item has no description. |
function GetEditorBounds(ALayerIndex: integer; AMatrix: TAffineMatrix; APointSize: single): TRect; overload; |
|
This item has no description. |
function GetGlobalRegistry(ARegistryIdentifier: string): RawByteString; |
|
This item has no description. |
function GetLayerBitmapCopy(layer: integer): TBGRABitmap; override; |
|
This item has no description. |
function GetLayerBitmapDirectly(layer: integer): TBGRABitmap; override; |
|
This item has no description. |
function GetLayerIndexFromId(AIdentifier: integer): integer; |
|
This item has no description. |
function GetLayerRegistry(ALayerIndex: integer; ARegistryIdentifier: string): RawByteString; |
|
This item has no description. |
function IndexOfOriginal(const AGuid: TGuid): integer; overload; override; |
|
This item has no description. |
function IndexOfOriginal(AOriginal: TBGRALayerCustomOriginal): integer; overload; override; |
|
This item has no description. |
class function IsValidRegistryIndentifier(AIdentifier: string): boolean; |
|
This item has no description. |
function MoveLayerDown(index: integer): integer; |
|
This item has no description. |
function MoveLayerUp(index: integer): integer; |
|
This item has no description. |
function ProduceLayerUniqueId: integer; |
|
This item has no description. |
function RemoveOriginal(AOriginal: TBGRALayerCustomOriginal): boolean; |
|
This item has no description. |
function RenderOriginalIfNecessary(const AGuid: TGuid; ADraft: boolean = false): TRect; |
|
This item has no description. |
function RenderOriginalsIfNecessary(ADraft: boolean = false): TRect; |
|
This item has no description. |
function TakeLayerBitmap(layer: integer): TBGRABitmap; |
|
This item has no description. |
function GetBlendOperation(Layer: integer): TBlendOperation; override; |
|
This item has no description. |
function GetHeight: integer; override; |
|
This item has no description. Showing description inherited from TGraphic.GetHeight. Retrieves height |
function GetLayerDirectory(ALayerIndex: integer; ACanCreate: boolean): TMemDirectory; |
|
This item has no description. |
function GetLayerFrozen(layer: integer): boolean; override; |
|
This item has no description. |
function GetLayerName(layer: integer): string; override; |
|
This item has no description. |
function GetLayerOffset(layer: integer): TPoint; override; |
|
This item has no description. |
function GetLayerOpacity(layer: integer): byte; override; |
|
This item has no description. |
function GetLayerOriginal(layer: integer): TBGRALayerCustomOriginal; override; |
|
This item has no description. |
function GetLayerOriginalGuid(layer: integer): TGuid; override; |
|
This item has no description. |
function GetLayerOriginalKnown(layer: integer): boolean; override; |
|
This item has no description. |
function GetLayerOriginalMatrix(layer: integer): TAffineMatrix; override; |
|
This item has no description. |
function GetLayerOriginalRenderStatus(layer: integer): TOriginalRenderStatus; override; |
|
This item has no description. |
function GetLayerUniqueId(layer: integer): integer; override; |
|
This item has no description. |
function GetLayerVisible(layer: integer): boolean; override; |
|
This item has no description. |
function GetNbLayers: integer; override; |
|
This item has no description. |
function GetOriginalByIndex(AIndex: integer): TBGRALayerCustomOriginal; override; |
|
This item has no description. |
function GetOriginalByIndexClass(AIndex: integer): TBGRALayerOriginalAny; override; |
|
This item has no description. |
function GetOriginalByIndexKnown(AIndex: integer): boolean; override; |
|
This item has no description. |
function GetOriginalByIndexLoaded(AIndex: integer): boolean; override; |
|
This item has no description. |
function GetOriginalCount: integer; override; |
|
This item has no description. |
function GetWidth: integer; override; |
|
This item has no description. Showing description inherited from TGraphic.GetWidth. Retrieves width |
procedure ApplyLayerOffset(ALayerIndex: integer; APadWithTranparentPixels: boolean); |
|
This item has no description. |
procedure Assign(ASource: TBGRACustomLayeredBitmap; ASharedLayerIds: boolean = false; ACopyAdditionalMemData: boolean = false); overload; |
|
This item has no description. |
procedure Clear; override; |
|
This item has no description. Showing description inherited from TGraphic.Clear. Clears the content |
procedure ClearEditor; |
|
This item has no description. |
procedure ClearOriginals; |
|
This item has no description. |
procedure DeleteOriginal(AIndex: integer); |
|
This item has no description. |
procedure HorizontalFlip(ALayerIndex: integer); overload; |
|
This item has no description. |
procedure HorizontalFlip; overload; |
|
This item has no description. |
procedure InsertLayer(index: integer; fromIndex: integer); |
|
This item has no description. |
procedure KeyDown(Shift: TShiftState; Key: TSpecialKey; out AHandled: boolean); |
|
This item has no description. |
procedure KeyPress(UTF8Key: string; out AHandled: boolean); |
|
This item has no description. |
procedure KeyUp(Shift: TShiftState; Key: TSpecialKey; out AHandled: boolean); |
|
This item has no description. |
procedure LoadFromFile(const filenameUTF8: string); override; |
|
This item has no description. Showing description inherited from TGraphic.LoadFromFile. Load the content from a given file |
procedure LoadFromResource(AFilename: string); |
|
This item has no description. |
procedure LoadFromStream(stream: TStream); override; |
|
This item has no description. Showing description inherited from TGraphic.LoadFromStream. Load the content from a given stream |
procedure LoadLayerRegistryFromStream(ALayerIndex: integer; AStream: TStream); |
|
This item has no description. |
procedure MouseDown(RightButton: boolean; Shift: TShiftState; ImageX, ImageY: Single; out ACursor: TOriginalEditorCursor; out AHandled: boolean); |
|
This item has no description. |
procedure MouseDown(RightButton: boolean; Shift: TShiftState; ImageX, ImageY: Single; out ACursor: TOriginalEditorCursor); |
|
This item has no description. |
procedure MouseMove(Shift: TShiftState; ImageX, ImageY: Single; out ACursor: TOriginalEditorCursor); |
|
This item has no description. |
procedure MouseMove(Shift: TShiftState; ImageX, ImageY: Single; out ACursor: TOriginalEditorCursor; out AHandled: boolean); |
|
This item has no description. |
procedure MouseUp(RightButton: boolean; Shift: TShiftState; ImageX, ImageY: Single; out ACursor: TOriginalEditorCursor; out AHandled: boolean); |
|
This item has no description. |
procedure MouseUp(RightButton: boolean; Shift: TShiftState; ImageX, ImageY: Single; out ACursor: TOriginalEditorCursor); |
|
This item has no description. |
procedure NotifyLoaded; override; |
|
This item has no description. |
procedure NotifySaving; override; |
|
This item has no description. |
procedure RemoveLayer(index: integer); |
|
This item has no description. |
procedure RemoveUnusedOriginals; |
|
This item has no description. |
procedure RenderLayerFromOriginal(layer: integer; ADraft: boolean; ARenderBoundsF: TRectF; AFullSizeLayer: boolean = false); overload; |
|
This item has no description. |
procedure RenderLayerFromOriginal(layer: integer; ADraft: boolean; ARenderBounds: TRect; AFullSizeLayer: boolean = false); overload; |
|
This item has no description. |
procedure RenderLayerFromOriginal(layer: integer; ADraft: boolean = false; AFullSizeLayer: boolean = false); overload; |
|
This item has no description. |
procedure RenderLayerFromOriginalIfNecessary(layer: integer; ADraft: boolean; var ABounds: TRect); |
|
This item has no description. |
procedure Resample(AWidth, AHeight: integer; AResampleMode: TResampleMode; AFineResampleFilter: TResampleFilter = rfLinear); |
|
This item has no description. |
procedure RotateCCW; |
|
This item has no description. |
procedure RotateCW; |
|
This item has no description. |
procedure RotateUD; overload; |
|
This item has no description. |
procedure RotateUD(ALayerIndex: integer); overload; |
|
This item has no description. |
procedure SaveLayerRegistryToStream(ALayerIndex: integer; AStream: TStream); |
|
This item has no description. |
procedure SaveOriginalToStream(AIndex: integer; AStream: TStream); overload; |
|
This item has no description. |
procedure SaveOriginalToStream(const AGuid: TGuid; AStream: TStream); overload; |
|
This item has no description. |
procedure SetGlobalRegistry(ARegistryIdentifier: string; AValue: RawByteString); |
|
This item has no description. |
procedure SetLayerBitmap(layer: integer; ABitmap: TBGRABitmap; AOwned: boolean); |
|
This item has no description. |
procedure SetLayerRegistry(ALayerIndex: integer; ARegistryIdentifier: string; AValue: RawByteString); |
|
This item has no description. |
procedure SetSize(AWidth, AHeight: integer); virtual; |
|
This item has no description. |
procedure UnloadOriginal(AIndex: integer); overload; |
|
This item has no description. |
procedure UnloadOriginal(const AGuid: TGuid); overload; |
|
This item has no description. |
procedure UnloadOriginals; |
|
This item has no description. |
procedure VerticalFlip(ALayerIndex: integer); overload; |
|
This item has no description. |
procedure VerticalFlip; overload; |
|
This item has no description. |
procedure FindOriginal(AGuid: TGuid; out ADir: TMemDirectory; out AClass: TBGRALayerOriginalAny); |
|
This item has no description. |
procedure OriginalChange(ASender: TObject; ABounds: PRectF; var ADiff: TBGRAOriginalDiff); |
|
This item has no description. |
procedure OriginalEditingChange(ASender: TObject); |
|
This item has no description. |
procedure SetBlendOperation(Layer: integer; op: TBlendOperation); |
|
This item has no description. |
procedure SetLayerFrozen(layer: integer; AValue: boolean); override; |
|
This item has no description. |
procedure SetLayerName(layer: integer; AValue: string); |
|
This item has no description. |
procedure SetLayerOffset(layer: integer; AValue: TPoint); |
|
This item has no description. |
procedure SetLayerOpacity(layer: integer; AValue: byte); |
|
This item has no description. |
procedure SetLayerOriginalGuid(layer: integer; const AValue: TGuid); |
|
This item has no description. |
procedure SetLayerOriginalMatrix(layer: integer; AValue: TAffineMatrix); |
|
This item has no description. |
procedure SetLayerOriginalRenderStatus(layer: integer; AValue: TOriginalRenderStatus); |
|
This item has no description. |
procedure SetLayerUniqueId(layer: integer; AValue: integer); |
|
This item has no description. |
procedure SetLayerVisible(layer: integer; AValue: boolean); |
|
This item has no description. |
procedure StoreOriginal(AOriginal: TBGRALayerCustomOriginal); |
|
This item has no description. |
procedure UpdateOriginalEditor(ALayerIndex: integer; AMatrix: TAffineMatrix; APointSize: single); |
|
This item has no description. |
Properties
property BlendOperation[layer: integer]: TBlendOperation read GetBlendOperation write SetBlendOperation; |
|
This item has no description. |
property EditorFocused: boolean read FEditorFocused write SetEditorFocused; |
|
This item has no description. |
property Height: integer read GetHeight; |
|
This item has no description. |
property LayerBitmap[layer: integer]: TBGRABitmap read GetLayerBitmapDirectly; |
|
This item has no description. |
property LayerName[layer: integer]: string read GetLayerName write SetLayerName; |
|
This item has no description. |
property LayerOffset[layer: integer]: TPoint read GetLayerOffset write SetLayerOffset; |
|
This item has no description. |
property LayerOpacity[layer: integer]: byte read GetLayerOpacity write SetLayerOpacity; |
|
This item has no description. |
property LayerOriginal[layer: integer]: TBGRALayerCustomOriginal read GetLayerOriginal; |
|
This item has no description. |
property LayerOriginalClass[layer: integer]: TBGRALayerOriginalAny read GetLayerOriginalClass; |
|
This item has no description. |
property LayerOriginalGuid[layer: integer]: TGuid read GetLayerOriginalGuid write SetLayerOriginalGuid; |
|
This item has no description. |
property LayerOriginalKnown[layer: integer]: boolean read GetLayerOriginalKnown; |
|
This item has no description. |
property LayerOriginalMatrix[layer: integer]: TAffineMatrix read GetLayerOriginalMatrix write SetLayerOriginalMatrix; |
|
This item has no description. |
property LayerOriginalRenderStatus[layer: integer]: TOriginalRenderStatus read GetLayerOriginalRenderStatus write SetLayerOriginalRenderStatus; |
|
This item has no description. |
property LayerUniqueId[layer: integer]: integer read GetLayerUniqueId write SetLayerUniqueId; |
|
This item has no description. |
property LayerVisible[layer: integer]: boolean read GetLayerVisible write SetLayerVisible; |
|
This item has no description. |
property NbLayers: integer read GetNbLayers; |
|
This item has no description. |
property OnActionDone: TNotifyEvent read FOnActionDone write SetOnActionDone; |
|
This item has no description. |
property OnActionProgress: TLayeredActionProgressEvent read FOnActionProgress write SetOnActionProgress; |
|
This item has no description. |
property OnEditorFocusChanged: TNotifyEvent read FOnEditorFocusChanged write FOnEditorFocusChanged; |
|
This item has no description. |
property OnOriginalChange: TEmbeddedOriginalChangeEvent read FOriginalChange write FOriginalChange; |
|
This item has no description. |
property OnOriginalEditingChange: TEmbeddedOriginalEditingChangeEvent read FOriginalEditingChange write FOriginalEditingChange; |
|
This item has no description. |
property OnOriginalLoadError: TEmbeddedOriginalLoadErrorEvent read FOnOriginalLoadError write FOnOriginalLoadError; |
|
This item has no description. |
property Original[AIndex: integer]: TBGRALayerCustomOriginal read GetOriginalByIndex; |
|
This item has no description. |
property OriginalClass[AIndex: integer]: TBGRALayerOriginalAny read GetOriginalByIndexClass; |
|
This item has no description. |
property OriginalCount: integer read GetOriginalCount; |
|
This item has no description. |
property OriginalEditor: TBGRAOriginalEditor read GetOriginalEditor; |
|
This item has no description. |
property OriginalGuid[AIndex: integer]: TGUID read GetOriginalGuid; |
|
This item has no description. |
property OriginalKnown[AIndex: integer]: boolean read GetOriginalByIndexKnown; |
|
This item has no description. |
property Width : integer read GetWidth; |
|
This item has no description. |