phosphor-geometry
Pure-function geometry helpers shared by both engines.
Zone clamping, overlap resolution, per-window minimum-size enforcement, and the canonical rect-to-JSON encoder. Both the snap engine and the autotile engine post-process algorithm output through these helpers before handing rects to the compositor; keeping them in a leaf lib means neither engine ships a private copy and headless geometry tests link without GUI infrastructure.
Full API →Key types
enforceMinSizesclampZonesToScreenremoveRectOverlapsrectToJsonDependencies
QtCore
References
- Full API reference → Doxygen-generated page for
PhosphorGeometry. - Namespace index Every symbol under
PhosphorGeometry::.