Class TBGRALayerImageOriginal

Unit

Declaration

type TBGRALayerImageOriginal = class(TBGRALayerCustomOriginal)

Description

Original of an image in a layered image (affined transformed)

Hierarchy

Overview

Fields

Protected FContentVersion: integer;
Protected FDiff: TBGRAImageOriginalDiff;
Protected FImage: TBGRABitmap;
Protected FJpegStream: TMemoryStream;

Methods

Public constructor Create; override;
Public destructor Destroy; override;
Public class function CanConvertToSVG: boolean; override;
Public function ConvertToSVG(const AMatrix: TAffineMatrix; out AOffset: TPoint): TObject; override;
Public function GetImageCopy: TBGRABitmap;
Public function GetRenderBounds(ADestRect: TRect; AMatrix: TAffineMatrix): TRect; override;
Public class function StorageClassName: RawByteString; override;
Public procedure AssignImage(AImage: TBGRACustomBitmap);
Public procedure Clear;
Public procedure LoadFromStorage(AStorage: TBGRACustomOriginalStorage); override;
Public procedure LoadFromStream(AStream: TStream); override;
Public procedure LoadImageFromStream(AStream: TStream);
Public procedure Render(ADest: TBGRABitmap; AMatrix: TAffineMatrix; ADraft: boolean); override;
Public procedure SaveImageToStream(AStream: TStream);
Public procedure SaveToStorage(AStorage: TBGRACustomOriginalStorage); override;
Protected procedure BeginUpdate;
Protected procedure EndUpdate;
Protected procedure InternalClear;
Protected procedure InternalLoadImageFromStream(AStream: TStream; AUpdate: boolean);

Properties

Public property Height: integer read GetImageHeight;
Public property Width: integer read GetImageWidth;

Description

Fields

Protected FContentVersion: integer;

This item has no description.

Protected FDiff: TBGRAImageOriginalDiff;

This item has no description.

Protected FImage: TBGRABitmap;

This item has no description.

Protected FJpegStream: TMemoryStream;

This item has no description.

Methods

Public constructor Create; override;

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public class function CanConvertToSVG: boolean; override;

This item has no description.

Public function ConvertToSVG(const AMatrix: TAffineMatrix; out AOffset: TPoint): TObject; override;

This item has no description.

Public function GetImageCopy: TBGRABitmap;

This item has no description.

Public function GetRenderBounds(ADestRect: TRect; AMatrix: TAffineMatrix): TRect; override;

This item has no description.

Public class function StorageClassName: RawByteString; override;

This item has no description.

Public procedure AssignImage(AImage: TBGRACustomBitmap);

This item has no description.

Public procedure Clear;

This item has no description.

Public procedure LoadFromStorage(AStorage: TBGRACustomOriginalStorage); override;

This item has no description.

Public procedure LoadFromStream(AStream: TStream); override;

This item has no description.

Public procedure LoadImageFromStream(AStream: TStream);

This item has no description.

Public procedure Render(ADest: TBGRABitmap; AMatrix: TAffineMatrix; ADraft: boolean); override;

This item has no description. Showing description inherited from TBGRALayerCustomOriginal.Render.

one of the two Render functions must be overriden

Public procedure SaveImageToStream(AStream: TStream);

This item has no description.

Public procedure SaveToStorage(AStorage: TBGRACustomOriginalStorage); override;

This item has no description.

Protected procedure BeginUpdate;

This item has no description.

Protected procedure EndUpdate;

This item has no description.

Protected procedure InternalClear;

This item has no description.

Protected procedure InternalLoadImageFromStream(AStream: TStream; AUpdate: boolean);

This item has no description.

Properties

Public property Height: integer read GetImageHeight;

This item has no description.

Public property Width: integer read GetImageWidth;

This item has no description.