Class TBGRALayerSVGOriginal
Unit
Declaration
type TBGRALayerSVGOriginal = class(TBGRALayerCustomOriginal)
Description
Original for an SVG layer in a layered image
Hierarchy
- TObject
- TBGRALayerCustomOriginal
- TBGRALayerSVGOriginal
Overview
Fields
![]() |
FContentVersion: integer; |
![]() |
FDiff: TBGRASVGOriginalDiff; |
![]() |
FPresentationMatrix: TAffineMatrix; |
![]() |
FSVG: TBGRASVG; |
Methods
![]() |
constructor Create; override; |
![]() |
destructor Destroy; override; |
![]() |
class function CanConvertToSVG: boolean; override; |
![]() |
function ConvertToSVG(const AMatrix: TAffineMatrix; out AOffset: TPoint): TBGRASVG; override; |
![]() |
function GetRenderBounds(ADestRect: TRect; AMatrix: TAffineMatrix): TRect; override; |
![]() |
function GetSVGCopy: TBGRASVG; |
![]() |
class function StorageClassName: RawByteString; override; |
![]() |
procedure LoadFromStorage(AStorage: TBGRACustomOriginalStorage); override; |
![]() |
procedure LoadFromStream(AStream: TStream); override; |
![]() |
procedure LoadSVGFromStream(AStream: TStream; AContainerWidth: integer = 640; AContainerHeight: integer = 480; AScaleDPI: single = 1); |
![]() |
procedure Render(ADest: TBGRABitmap; AMatrix: TAffineMatrix; ADraft: boolean); override; |
![]() |
procedure SaveSVGToStream(AStream: TStream); |
![]() |
procedure SaveToStorage(AStorage: TBGRACustomOriginalStorage); override; |
![]() |
procedure SetSVG(ASVG: TBGRASVG; AContainerWidth: integer = 640; AContainerHeight: integer = 480; AScaleDPI: single = 1); |
![]() |
procedure BeginUpdate; |
![]() |
procedure ComputePresentation(AContainerWidth, AContainerHeight: integer; AScaleDPI: single); |
![]() |
procedure EndUpdate; |
Properties
![]() |
property DPI: single read GetDPI write SetDPI; |
![]() |
property Height: single read GetSvgHeight; |
![]() |
property PresentationMatrix: TAffineMatrix read FPresentationMatrix; |
![]() |
property Width: single read GetSvgWidth; |
Description
Fields
![]() |
FContentVersion: integer; |
This item has no description. |
![]() |
FDiff: TBGRASVGOriginalDiff; |
This item has no description. |
![]() |
FPresentationMatrix: TAffineMatrix; |
This item has no description. |
![]() |
FSVG: TBGRASVG; |
This item has no description. |
Methods
![]() |
constructor Create; override; |
This item has no description. |
![]() |
destructor Destroy; override; |
This item has no description. |
![]() |
class function CanConvertToSVG: boolean; override; |
This item has no description. |
![]() |
function ConvertToSVG(const AMatrix: TAffineMatrix; out AOffset: TPoint): TBGRASVG; override; |
This item has no description. |
![]() |
function GetRenderBounds(ADestRect: TRect; AMatrix: TAffineMatrix): TRect; override; |
This item has no description. |
![]() |
function GetSVGCopy: TBGRASVG; |
This item has no description. |
![]() |
class function StorageClassName: RawByteString; override; |
This item has no description. |
![]() |
procedure LoadFromStorage(AStorage: TBGRACustomOriginalStorage); override; |
This item has no description. |
![]() |
procedure LoadFromStream(AStream: TStream); override; |
This item has no description. |
![]() |
procedure LoadSVGFromStream(AStream: TStream; AContainerWidth: integer = 640; AContainerHeight: integer = 480; AScaleDPI: single = 1); |
This item has no description. |
![]() |
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 |
![]() |
procedure SaveSVGToStream(AStream: TStream); |
This item has no description. |
![]() |
procedure SaveToStorage(AStorage: TBGRACustomOriginalStorage); override; |
This item has no description. |
![]() |
procedure SetSVG(ASVG: TBGRASVG; AContainerWidth: integer = 640; AContainerHeight: integer = 480; AScaleDPI: single = 1); |
This item has no description. |
![]() |
procedure BeginUpdate; |
This item has no description. |
![]() |
procedure ComputePresentation(AContainerWidth, AContainerHeight: integer; AScaleDPI: single); |
This item has no description. |
![]() |
procedure EndUpdate; |
This item has no description. |
Properties
![]() |
property DPI: single read GetDPI write SetDPI; |
This item has no description. |
![]() |
property Height: single read GetSvgHeight; |
This item has no description. |
![]() |
property PresentationMatrix: TAffineMatrix read FPresentationMatrix; |
This item has no description. |
![]() |
property Width: single read GetSvgWidth; |
This item has no description. |