Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
GeometryUtils.h File Reference
#include <PhosphorGeometry/GeometryUtils.h>
#include <phosphorzones_export.h>
#include <PhosphorLayoutApi/EdgeGaps.h>
#include <QRect>
#include <QRectF>
#include <QString>
#include <QVariantMap>

Go to the source code of this file.

Namespaces

namespace  PhosphorZones
 
namespace  Phosphor
 
namespace  Phosphor::Screens
 
namespace  PhosphorZones::GeometryUtils
 

Functions

PHOSPHORZONES_EXPORT QRectF PhosphorZones::GeometryUtils::availableAreaToOverlayCoordinates (const QRectF &geometry, QScreen *screen)
 
PHOSPHORZONES_EXPORT QRectF PhosphorZones::GeometryUtils::getZoneGeometryWithGaps (Phosphor::Screens::ScreenManager *mgr, PhosphorZones::Zone *zone, QScreen *screen, int innerGap, const ::PhosphorLayout::EdgeGaps &outerGaps, bool useAvailableGeometry=true, const QString &screenId={})
 
PHOSPHORZONES_EXPORT QRectF PhosphorZones::GeometryUtils::getZoneGeometryWithGaps (Phosphor::Screens::ScreenManager *mgr, PhosphorZones::Zone *zone, const QRect &screenGeometry, const QRect &availableGeometry, int innerGap, const ::PhosphorLayout::EdgeGaps &outerGaps, bool useAvailableGeometry=true, const QString &screenId={})
 
PHOSPHORZONES_EXPORT QRect PhosphorZones::GeometryUtils::getZoneGeometryForScreen (Phosphor::Screens::ScreenManager *mgr, PhosphorZones::Zone *zone, QScreen *screen, const QString &screenId, PhosphorZones::Layout *layout, int zonePadding, const ::PhosphorLayout::EdgeGaps &outerGaps)
 
PHOSPHORZONES_EXPORT QRectF PhosphorZones::GeometryUtils::getZoneGeometryForScreenF (Phosphor::Screens::ScreenManager *mgr, PhosphorZones::Zone *zone, QScreen *screen, const QString &screenId, PhosphorZones::Layout *layout, int zonePadding, const ::PhosphorLayout::EdgeGaps &outerGaps)
 
PHOSPHORZONES_EXPORT QRectF PhosphorZones::GeometryUtils::effectiveScreenGeometry (Phosphor::Screens::ScreenManager *mgr, PhosphorZones::Layout *layout, QScreen *screen)
 
PHOSPHORZONES_EXPORT QRectF PhosphorZones::GeometryUtils::effectiveScreenGeometry (Phosphor::Screens::ScreenManager *mgr, PhosphorZones::Layout *layout, const QString &screenId)
 
PHOSPHORZONES_EXPORT QRectF PhosphorZones::GeometryUtils::extractZoneGeometry (const QVariantMap &zone)
 
PHOSPHORZONES_EXPORT void PhosphorZones::GeometryUtils::setZoneGeometry (QVariantMap &zone, const QRectF &rect)