Walls And Holes  1
shaperegion.h
Go to the documentation of this file.
1 #ifndef SHAPEREGION_H
2 #define SHAPEREGION_H
3 
4 #include <QRegion>
5 
6 namespace ShapeRegion {
7 
8 void findBounds(const QPoint &start, const QPoint &end, QPoint &topLeft, QPoint &bottomRight);
9 
10 QRegion rect(QPoint start, QPoint end);
11 QRegion rectOutline(QPoint start, QPoint end);
12 
13 QRegion ellipseOutline(QPoint start, QPoint end);
14 
15 QRegion line(QPoint start, QPoint end);
16 
17 }
18 
19 #endif // SHAPEREGION_H
QRegion rect(QPoint start, QPoint end)
Definition: shaperegion.cpp:30
void findBounds(const QPoint &start, const QPoint &end, QPoint &topLeft, QPoint &bottomRight)
Definition: shaperegion.cpp:6
QRegion ellipseOutline(QPoint start, QPoint end)
Definition: shaperegion.cpp:85
Definition: shaperegion.h:6
QRegion line(QPoint start, QPoint end)
Definition: shaperegion.cpp:228
QRegion rectOutline(QPoint start, QPoint end)
Definition: shaperegion.cpp:38