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
- Library overview → The library's design notes in the API reference.
- Namespace index → Every symbol under
PhosphorGeometry::. - API reference → Classes, namespaces and D-Bus interfaces across every library.