1#ifndef OVERLAYPAINTER_H
2#define OVERLAYPAINTER_H
4#include <QCoreApplication>
16 bool bGoldenRatio =
false;
17 bool bActionSafe =
true;
19 bool bSafeArea =
false;
20 bool bTitleSafe =
true;
22 bool bPerspective1 =
false;
23 bool bPerspective2 =
false;
24 bool bPerspective3 =
false;
25 int nOverlayAngle = 15;
26 bool bShowSafeAreaHelperText =
true;
27 bool bShowHandle =
false;
50 void initializePainter(
QPainter& painter);
52 void paintGrid(
QPainter& painter)
const;
57 void paintOverlayPerspectiveOnePoint(
QPainter& painter,
const QRect& viewport,
const QTransform& camTransform)
const;
59 void paintOverlayPerspectiveThreePoints(
QPainter& painter,
const QRect& viewport,
const Camera& camera,
const QTransform& camTransform)
const;
61 int round100(
double f,
int gridSize)
const;