SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
sizeunit.h File Reference

Unit tag for symbol-size fields (plan: RENDERING_OUTPUT_SUBLAYERS_PLAN.md §2, Decision 2). More...

Go to the source code of this file.

Namespaces

namespace  OpenSWMM
 
namespace  OpenSWMM::Render
 

Enumerations

enum class  OpenSWMM::Render::SizeUnit {
  OpenSWMM::Render::Pixels = 0 ,
  OpenSWMM::Render::MapUnits = 1
}
 Unit for symbol-size scalars (markerSize, lineWidth, arrowLength, …). More...
 

Detailed Description

Unit tag for symbol-size fields (plan: RENDERING_OUTPUT_SUBLAYERS_PLAN.md §2, Decision 2).

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later

Today every sublayer style bag stores sizes in screen pixels (constant-on-screen behaviour the user asked for in the 2026-05-25 conversation). The seam is preserved: every size field reads through a SizeUnit so adding MapUnits later is localised to the renderer.

Cross-slice: Slice S1 (sublayer foundation). Consumed by every ISublayer style bag.