|
void | initializePainter (QPainter &painter) |
|
void | paintGrid (QPainter &painter) const |
|
void | paintOverlayCenter (QPainter &painter, const QTransform &camTransform, const QRect &camRect) const |
|
void | paintOverlayThirds (QPainter &painter, const QTransform &camTransform, const QRect &camRect) const |
|
void | paintOverlayGolden (QPainter &painter, const QTransform &camTransform, const QRect &camRect) const |
|
void | paintOverlaySafeAreas (QPainter &painter, const Camera &camera, const QTransform &camTransform, const QRect &camRect) const |
|
void | paintOverlayPerspectiveOnePoint (QPainter &painter, const QRect &viewport, const QTransform &camTransform) const |
|
void | paintOverlayPerspectiveTwoPoints (QPainter &painter, const QRect &viewport, const Camera &camera, const QTransform &camTransform) const |
|
void | paintOverlayPerspectiveThreePoints (QPainter &painter, const QRect &viewport, const Camera &camera, const QTransform &camTransform) const |
|
int | round100 (double f, int gridSize) const |
|
Definition at line 37 of file overlaypainter.h.
◆ OverlayPainter()
OverlayPainter::OverlayPainter |
( |
| ) |
|
|
explicit |
◆ initializePainter()
void OverlayPainter::initializePainter |
( |
QPainter & |
painter | ) |
|
|
private |
◆ paint()
void OverlayPainter::paint |
( |
QPainter & |
painter, |
|
|
const QRect & |
viewport |
|
) |
| |
◆ paintGrid()
void OverlayPainter::paintGrid |
( |
QPainter & |
painter | ) |
const |
|
private |
◆ paintOverlayCenter()
void OverlayPainter::paintOverlayCenter |
( |
QPainter & |
painter, |
|
|
const QTransform & |
camTransform, |
|
|
const QRect & |
camRect |
|
) |
| const |
|
private |
◆ paintOverlayGolden()
void OverlayPainter::paintOverlayGolden |
( |
QPainter & |
painter, |
|
|
const QTransform & |
camTransform, |
|
|
const QRect & |
camRect |
|
) |
| const |
|
private |
◆ paintOverlayPerspectiveOnePoint()
void OverlayPainter::paintOverlayPerspectiveOnePoint |
( |
QPainter & |
painter, |
|
|
const QRect & |
viewport, |
|
|
const QTransform & |
camTransform |
|
) |
| const |
|
private |
◆ paintOverlayPerspectiveThreePoints()
void OverlayPainter::paintOverlayPerspectiveThreePoints |
( |
QPainter & |
painter, |
|
|
const QRect & |
viewport, |
|
|
const Camera & |
camera, |
|
|
const QTransform & |
camTransform |
|
) |
| const |
|
private |
◆ paintOverlayPerspectiveTwoPoints()
void OverlayPainter::paintOverlayPerspectiveTwoPoints |
( |
QPainter & |
painter, |
|
|
const QRect & |
viewport, |
|
|
const Camera & |
camera, |
|
|
const QTransform & |
camTransform |
|
) |
| const |
|
private |
◆ paintOverlaySafeAreas()
void OverlayPainter::paintOverlaySafeAreas |
( |
QPainter & |
painter, |
|
|
const Camera & |
camera, |
|
|
const QTransform & |
camTransform, |
|
|
const QRect & |
camRect |
|
) |
| const |
|
private |
◆ paintOverlayThirds()
void OverlayPainter::paintOverlayThirds |
( |
QPainter & |
painter, |
|
|
const QTransform & |
camTransform, |
|
|
const QRect & |
camRect |
|
) |
| const |
|
private |
◆ preparePainter()
void OverlayPainter::preparePainter |
( |
const LayerCamera * |
cameraLayer, |
|
|
const QPalette & |
palette |
|
) |
| |
◆ round100()
int OverlayPainter::round100 |
( |
double |
f, |
|
|
int |
gridSize |
|
) |
| const |
|
private |
◆ setOptions()
◆ setViewTransform()
void OverlayPainter::setViewTransform |
( |
const QTransform |
view | ) |
|
◆ mCameraLayer
const LayerCamera* OverlayPainter::mCameraLayer = nullptr |
|
private |
◆ mOptions
◆ mPalette
◆ mViewTransform
The documentation for this class was generated from the following files: