34 QPointF topLeft{0.0, 0.0};
35 QPointF topRight{1.0, 0.0};
36 QPointF bottomLeft{0.0, 1.0};
37 QPointF bottomRight{1.0, 1.0};
39 bool isIdentity()
const noexcept
41 constexpr double eps = 1e-6;
42 return qAbs(topLeft.x()) < eps && qAbs(topLeft.y()) < eps
43 && qAbs(topRight.x() - 1.0) < eps && qAbs(topRight.y()) < eps
44 && qAbs(bottomLeft.x()) < eps && qAbs(bottomLeft.y() - 1.0) < eps
45 && qAbs(bottomRight.x() - 1.0) < eps && qAbs(bottomRight.y() - 1.0) < eps;
59 QRectF sourceRect{0.0, 0.0, 1.0, 1.0};
61 QPoint windowPosition{0, 0};
62 QSize windowSize{1280, 720};
63 bool fullscreen{
false};
74 OutputLockMode lockMode{OutputLockMode::Free};