9 #include "GeometryWindow.h"
10 #include "GraphicsItemType.h"
11 #include "GraphicsPoint.h"
12 #include "GraphicsPointFactory.h"
13 #include "PointStyle.h"
15 #include <QGraphicsScene>
24 const QString &identifier,
25 const QPointF &posScreen,
31 switch (pointStyle.
shape ())
33 case POINT_SHAPE_CIRCLE:
39 unsigned (pointStyle.
radius ()),
int lineWidth() const
Get method for line width.
GraphicsPointFactory()
Single constructor.
QPolygonF polygon() const
Return the polygon for creating a QGraphicsPolygonItem. The size is determined by the radius...
Window that displays the geometry information, as a table, for the current curve. ...
GraphicsPoint * createPoint(QGraphicsScene &scene, const QString &identifier, const QPointF &posScreen, const PointStyle &pointStyle, GeometryWindow *geometryWindow)
Create circle or polygon point according to the PointStyle.
Details for a specific Point.
ColorPalette paletteColor() const
Get method for point color.
Graphics item for drawing a circular or polygonal Point.
unsigned int radius() const
Radius of point. For a circle this is all that is needed to draw a circle. For a polygon, the radius determines the size of the polygon.
PointShape shape() const
Get method for point shape.