Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
PhosphorTiles::TilingScreenInfo Struct Reference

Screen metadata passed to tiling algorithms. More...

#include <phosphor-tiles/include/PhosphorTiles/TilingParams.h>

Public Attributes

QString id
 Screen connector name (e.g., "HDMI-1", "DP-2")
 
bool portrait = false
 True if height > width (portrait orientation)
 
qreal aspectRatio = 0.0
 width/height (e.g., 1.78 for 16:9, 0.56 for portrait)
 

Detailed Description

Screen metadata passed to tiling algorithms.

Provides physical screen context so algorithms can adapt to monitor orientation and multi-monitor setups.

Member Data Documentation

◆ aspectRatio

qreal PhosphorTiles::TilingScreenInfo::aspectRatio = 0.0

width/height (e.g., 1.78 for 16:9, 0.56 for portrait)

◆ id

QString PhosphorTiles::TilingScreenInfo::id

Screen connector name (e.g., "HDMI-1", "DP-2")

◆ portrait

bool PhosphorTiles::TilingScreenInfo::portrait = false

True if height > width (portrait orientation)


The documentation for this struct was generated from the following file: