50 QPointF topLeft{0.0, 0.0};
51 QPointF topRight{1.0, 0.0};
52 QPointF bottomLeft{0.0, 1.0};
53 QPointF bottomRight{1.0, 1.0};
55 bool isIdentity()
const noexcept
57 constexpr double eps = 1e-6;
58 return qAbs(topLeft.x()) < eps && qAbs(topLeft.y()) < eps
59 && qAbs(topRight.x() - 1.0) < eps && qAbs(topRight.y()) < eps
60 && qAbs(bottomLeft.x()) < eps && qAbs(bottomLeft.y() - 1.0) < eps
61 && qAbs(bottomRight.x() - 1.0) < eps && qAbs(bottomRight.y() - 1.0) < eps;
75 QRectF sourceRect{0.0, 0.0, 1.0, 1.0};
77 QPoint windowPosition{0, 0};
78 QSize windowSize{1280, 720};
79 bool fullscreen{
false};
90 OutputLockMode lockMode{OutputLockMode::Free};