Unit BGRASVGType

📄 Source code

Functions and Procedures
Variables

Description

Base type definitions and implementation for SVG

Uses

Overview

Structures

Name Description
Record TStyleAttribute One or more CSS attributes
Class TSVGCustomElement Abstract SVG element
Class TSVGDataLink Class to listen to link changes between SVG elements
Class TSVGElement SVG element on any type
Class TSVGLinkListeners Listeners on link changes between SVG elements
Record TSVGOrient Orientation to use for a marker relative to path
Class TSVGParser Parser for SVG attributes
Record TSVGPreserveAspectRatio SVG parameter to specify aspect ratio and alignment
Record TSVGSize Size defined in CSS units
Record TSVGViewBox SVG bounding box for coordinates

Types

ArrayOfFloat = array of single;
ArrayOfString = array of string;
ArrayOfTStyleAttribute = array of TStyleAttribute;
TFindStyleState = (...);
TIterateElementCallback = procedure(AElement: TSVGElement; AData: pointer; var ARecursive: boolean) of object;
TSVGColorInterpolation = (...);
TSVGElementDictionary = specialize TFPGMap<string,TSVGElement>;
TSVGElementList = specialize TFPGList<TSVGElement>;
TSVGFactory = class of TSVGElement;
TSVGFillMode = (...);
TSVGImageRendering = (...);
TSVGLengthAdjust = (...);
TSVGLinkEvent = procedure(Sender: TObject; AElement: TSVGElement; ALink: boolean) of object;
TSVGMarkerUnits = (...);
TSVGObjectUnits = (...);
TSVGOrientAuto = (...);
TSVGPaintOrder = (...);
TSVGRecomputeEvent = procedure(Sender: TObject) of object;
TSVGRenderingIntent = (...);
TSVGSpreadMethod = (...);
TSVGTextAnchor = (...);
TSVGTextDirection = (...);
TSVGTextPathMethod = (...);
TSVGTextPathSpacing = (...);

Constants

rsInvalidIndex = 'Invalid index';

Description

Types

ArrayOfFloat = array of single;

This item has no description.

ArrayOfString = array of string;

This item has no description.

ArrayOfTStyleAttribute = array of TStyleAttribute;

This item has no description.

TFindStyleState = (...);

This item has no description.

Values
  • fssNotSearched
  • fssNotFound
  • fssFound
TIterateElementCallback = procedure(AElement: TSVGElement; AData: pointer; var ARecursive: boolean) of object;

This item has no description.

TSVGColorInterpolation = (...);

This item has no description.

Values
  • sciStdRGB
  • sciLinearRGB
TSVGElementDictionary = specialize TFPGMap<string,TSVGElement>;

This item has no description.

TSVGElementList = specialize TFPGList<TSVGElement>;

This item has no description.

TSVGFactory = class of TSVGElement;

This item has no description.

TSVGFillMode = (...);

This item has no description.

Values
  • sfmEvenOdd = Ord(fmAlternate)
  • sfmNonZero = Ord(fmWinding)
TSVGImageRendering = (...);

This item has no description.

Values
  • sirAuto
  • sirSmooth
  • sirHighQuality
  • sirCrispEdges
  • sirPixelated
TSVGLengthAdjust = (...);

This item has no description.

Values
  • slaSpacing
  • slaSpacingAndGlyphs
TSVGLinkEvent = procedure(Sender: TObject; AElement: TSVGElement; ALink: boolean) of object;

This item has no description.

TSVGMarkerUnits = (...);

This item has no description.

Values
  • smuStrokeWidth
  • smuUserSpaceOnUse
TSVGObjectUnits = (...);

This item has no description.

Values
  • souUserSpaceOnUse
  • souObjectBoundingBox
TSVGOrientAuto = (...);

This item has no description.

Values
  • soaNone
  • soaAuto
  • soaAutoReverse
TSVGPaintOrder = (...);

This item has no description.

Values
  • spoFillStrokeMarkers
  • spoFillMarkersStroke
  • spoStrokeFillMarkers
  • spoStrokeMarkersFill
  • spoMarkersFillStroke
  • spoMarkersStrokeFill
TSVGRecomputeEvent = procedure(Sender: TObject) of object;

This item has no description.

TSVGRenderingIntent = (...);

This item has no description.

Values
  • sriAuto
  • sriPerceptual
  • sriRelativeColorimetric
  • sriSaturation
  • sriAbsoluteColorimetric
TSVGSpreadMethod = (...);

This item has no description.

Values
  • ssmPad
  • ssmReflect
  • ssmRepeat
TSVGTextAnchor = (...);

This item has no description.

Values
  • staStart
  • staMiddle
  • staEnd
TSVGTextDirection = (...);

This item has no description.

Values
  • stdLtr
  • stdRtl
TSVGTextPathMethod = (...);

This item has no description.

Values
  • stpmAlign
  • stpmStretch
TSVGTextPathSpacing = (...);

This item has no description.

Values
  • stpsAuto
  • stpsExact

Constants

rsInvalidIndex = 'Invalid index';

This item has no description.