Engauge Digitizer 2
|
Ghost for a QGraphicsPolygonItem. More...
#include <GhostPolygon.h>
Public Member Functions | |
GhostPolygon (const QPolygonF &polygon, const QPen &pen, const QBrush &brush) | |
Initial constructor. | |
~GhostPolygon () | |
GhostPolygon (const GhostPolygon &other) | |
Copy constructor. | |
GhostPolygon & | operator= (const GhostPolygon &other) |
Assignment operator. | |
QBrush | brush () const |
Get method for brush. | |
QPen | pen () const |
Get method for pen. | |
QPolygonF | polygon () const |
Get method for polygon. |
Ghost for a QGraphicsPolygonItem.
Definition at line 15 of file GhostPolygon.h.
GhostPolygon::GhostPolygon | ( | const QPolygonF & | polygon, |
const QPen & | pen, | ||
const QBrush & | brush ) |
Initial constructor.
Definition at line 9 of file GhostPolygon.cpp.
GhostPolygon::~GhostPolygon | ( | ) |
Definition at line 34 of file GhostPolygon.cpp.
GhostPolygon::GhostPolygon | ( | const GhostPolygon & | other | ) |
Copy constructor.
Definition at line 18 of file GhostPolygon.cpp.
QBrush GhostPolygon::brush | ( | ) | const |
GhostPolygon & GhostPolygon::operator= | ( | const GhostPolygon & | other | ) |
Assignment operator.
Definition at line 25 of file GhostPolygon.cpp.
QPen GhostPolygon::pen | ( | ) | const |
QPolygonF GhostPolygon::polygon | ( | ) | const |
Get method for polygon.
Definition at line 48 of file GhostPolygon.cpp.