Class TSVGUnits
Unit
Declaration
type TSVGUnits = class(TCSSUnitConverter)
Description
Converter for units within an SVG document or group
Hierarchy
- TObject
- TCSSUnitConverter
- TSVGUnits
Overview
Fields
Methods
![]() |
constructor Create(ASvg: TDOMElement; ADefaultDpi: PSingle); |
![]() |
function GetStretchRectF(AViewPort: TRectF; const par: TSVGPreserveAspectRatio): TRectF; |
![]() |
function GetCustomOrigin: TPointF; |
![]() |
function GetDpiX: single; override; |
![]() |
function GetDpiY: single; override; |
![]() |
procedure SetDefaultDpiAndOrigin; |
![]() |
procedure SetContainerHeight(AValue: TFloatWithCSSUnit); |
![]() |
procedure SetContainerWidth(AValue: TFloatWithCSSUnit); |
![]() |
procedure SetCustomOrigin(AValue: TPointF); |
![]() |
procedure SetViewBox(AValue: TSVGViewBox); |
Properties
![]() |
property ContainerHeight: TFloatWithCSSUnit read FContainerHeight write SetContainerHeight; |
![]() |
property ContainerWidth: TFloatWithCSSUnit read FContainerWidth write SetContainerWidth; |
![]() |
property CustomOrigin: TPointF read GetCustomOrigin write SetCustomOrigin; |
![]() |
property OnRecompute: TSVGRecomputeEvent read FOnRecompute write SetOnRecompute; |
![]() |
property PreserveAspectRatio: TSVGPreserveAspectRatio read FPreserveAspectRatio; |
![]() |
property ProportionalViewSize: TSVGSize read FProportionalViewSize; |
![]() |
property StretchedViewSize: TSVGSize read FStretchedViewSize; |
![]() |
property ViewBox: TSVGViewBox read FViewBox write SetViewBox; |
![]() |
property ViewPortSize: TSVGSize read FViewPortSize; |
Description
Fields
![]() |
FContainerHeight: TFloatWithCSSUnit; |
This item has no description. |
![]() |
FContainerWidth: TFloatWithCSSUnit; |
This item has no description. |
![]() |
FDefaultDpi: PSingle; |
This item has no description. |
![]() |
FPreserveAspectRatio: TSVGPreserveAspectRatio; |
This item has no description. |
![]() |
FProportionalViewSize: TSVGSize; |
This item has no description. |
![]() |
FStretchedViewSize: TSVGSize; |
This item has no description. |
![]() |
FSvg: TDOMElement; |
This item has no description. |
![]() |
FViewBox: TSVGViewBox; |
fetched or computed |
![]() |
FViewPortSize: TSVGSize; |
This item has no description. |
Methods
![]() |
constructor Create(ASvg: TDOMElement; ADefaultDpi: PSingle); |
This item has no description. |
![]() |
function GetStretchRectF(AViewPort: TRectF; const par: TSVGPreserveAspectRatio): TRectF; |
This item has no description. |
![]() |
function GetCustomOrigin: TPointF; |
This item has no description. |
![]() |
function GetDpiX: single; override; |
This item has no description. |
![]() |
function GetDpiY: single; override; |
This item has no description. |
![]() |
procedure SetDefaultDpiAndOrigin; |
This item has no description. |
![]() |
procedure SetContainerHeight(AValue: TFloatWithCSSUnit); |
This item has no description. |
![]() |
procedure SetContainerWidth(AValue: TFloatWithCSSUnit); |
This item has no description. |
![]() |
procedure SetCustomOrigin(AValue: TPointF); |
This item has no description. |
![]() |
procedure SetViewBox(AValue: TSVGViewBox); |
This item has no description. |
Properties
![]() |
property ContainerHeight: TFloatWithCSSUnit read FContainerHeight write SetContainerHeight; |
This item has no description. |
![]() |
property ContainerWidth: TFloatWithCSSUnit read FContainerWidth write SetContainerWidth; |
This item has no description. |
![]() |
property CustomOrigin: TPointF read GetCustomOrigin write SetCustomOrigin; |
This item has no description. |
![]() |
property OnRecompute: TSVGRecomputeEvent read FOnRecompute write SetOnRecompute; |
This item has no description. |
![]() |
property PreserveAspectRatio: TSVGPreserveAspectRatio read FPreserveAspectRatio; |
This item has no description. |
![]() |
property ProportionalViewSize: TSVGSize read FProportionalViewSize; |
This item has no description. |
![]() |
property StretchedViewSize: TSVGSize read FStretchedViewSize; |
This item has no description. |
![]() |
property ViewBox: TSVGViewBox read FViewBox write SetViewBox; |
This item has no description. |
![]() |
property ViewPortSize: TSVGSize read FViewPortSize; |
This item has no description. |