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;
52 void initializePainter(
QPainter& painter);
54 void paintGrid(
QPainter& painter)
const;
59 void paintOverlayPerspectiveOnePoint(
QPainter& painter,
const QTransform& camTransform,
const QRect& camRect)
const;
63 int round100(
double f,
int gridSize)
const;