Table of Contents

Struct ResolvedSymbol

Namespace
EncDotNet.S100.Rendering.Scene
Assembly
EncDotNet.S100.Rendering.Scene.dll

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

ProcessedSvg string

SVG content with CSS classes already resolved to inline attributes (output of SvgProcessor.Process), ready to hand to a rasteriser.

Scale double

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).

PivotRelativeX double

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.

PivotRelativeY double

Pivot 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

double

PivotRelativeY

Pivot offset as a fraction of symbol height, screen-space +Y = down.

public double PivotRelativeY { get; init; }

Property Value

double

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

string

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; }

Property Value

double