The geometry-derived context facts of one screen: its orientation token ("portrait" / "landscape") and its size in device pixels (from m_screenPixelSizeProvider). More...
#include <PhosphorZones/LayoutRegistry.h>
Public Attributes | |
| QString | orientation |
| std::optional< QSize > | pixelSize |
The geometry-derived context facts of one screen: its orientation token ("portrait" / "landscape") and its size in device pixels (from m_screenPixelSizeProvider).
pixelSize is engaged only for a size with a positive width and height, and orientation is empty only when neither the size nor m_screenOrientationProvider answered. The aspect-ratio token is not carried: it is a pure function of the size, derived where a query is stamped (applyScreenShape), so a cache hit never pays for it.
| QString PhosphorZones::LayoutRegistry::ScreenShape::orientation |
| std::optional<QSize> PhosphorZones::LayoutRegistry::ScreenShape::pixelSize |