Class OverlapSuppression
Computes and attaches per-cell screen-space clip contributions for cross-cell scale-band overlap suppression ("larger-scale-in", issue #438 Phase 2). For each cell it gathers every loaded, strictly-finer cell whose coverage overlaps it and attaches those finer coverages (via EncDotNet.S100.Renderers.Mapsui.CoverageClip) so the renderer subtracts each — but only while the finer cell is itself visible at the live resolution — from the coarser cell's drawable region. Holes are preserved, so a coarser cell still shows through gaps between finer cells, and the subtraction relaxes as finer cells zoom out of their scale band.
public static class OverlapSuppression
- Inheritance
-
OverlapSuppression
- Inherited Members
Methods
Apply(IReadOnlyList<OverlapSuppressionCell>)
Recomputes and attaches clip contributions across all supplied loaded
cells. Any cell with no finer overlapping coverage is
cleared so it paints in full. Call on every load / unload / scale change;
callers should skip it (and use ClearAll(IReadOnlyList<OverlapSuppressionCell>)) when the mariner
has opted to ignore scale minima.
public static void Apply(IReadOnlyList<OverlapSuppressionCell> cells)
Parameters
ClearAll(IReadOnlyList<OverlapSuppressionCell>)
Removes every clip attachment from the supplied cells'
layers so they all paint in full (used when suppression is disabled).
public static void ClearAll(IReadOnlyList<OverlapSuppressionCell> cells)