Struct ResolvedSymbol
Resolved intrinsic metrics for a point symbol, carried in the IR so the Skia backend does not re-derive symbol geometry independently of the Mapsui backend (S-100 Part 9 §11.5 pivot placement).
public readonly record struct ResolvedSymbol : IEquatable<ResolvedSymbol>
- Implements
- Inherited Members
Constructors
ResolvedSymbol(string, double, double, double)
Resolved intrinsic metrics for a point symbol, carried in the IR so the Skia backend does not re-derive symbol geometry independently of the Mapsui backend (S-100 Part 9 §11.5 pivot placement).
public ResolvedSymbol(string ProcessedSvg, double Scale, double PivotRelativeX, double PivotRelativeY)
Parameters
ProcessedSvgstringSVG content with CSS classes already resolved to inline attributes (output of
SvgProcessor.Process), ready to hand to a rasteriser.ScaledoubleFinal symbol scale factor to apply to the rasterised SVG (already folds in the per-instruction scale, the renderer-global scale, and the legacy 0.6 nominal factor).
PivotRelativeXdoublePivot offset as a fraction of symbol width, +X = pivot left of centre (S-100 Part 9 §11.5). Backends shift the symbol by this fraction so the pivot — not the bounding-box centre — lands on the anchor.
PivotRelativeYdoublePivot offset as a fraction of symbol height, screen-space +Y = down.
Properties
PivotRelativeX
Pivot offset as a fraction of symbol width, +X = pivot left of centre (S-100 Part 9 §11.5). Backends shift the symbol by this fraction so the pivot — not the bounding-box centre — lands on the anchor.
public double PivotRelativeX { get; init; }
Property Value
PivotRelativeY
Pivot offset as a fraction of symbol height, screen-space +Y = down.
public double PivotRelativeY { get; init; }
Property Value
ProcessedSvg
SVG content with CSS classes already resolved to inline attributes (output
of SvgProcessor.Process), ready to hand to a rasteriser.
public string ProcessedSvg { get; init; }
Property Value
Scale
Final symbol scale factor to apply to the rasterised SVG (already folds in the per-instruction scale, the renderer-global scale, and the legacy 0.6 nominal factor).
public double Scale { get; init; }