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:
GraphicsPointFactory()
Single constructor.
Window that displays the geometry information, as a table, for the current curve. ...
QPolygonF polygon() const
Return the polygon for creating a QGraphicsPolygonItem. The size is determined by the radius...
GraphicsPoint * createPoint(QGraphicsScene &scene, const QString &identifier, const QPointF &posScreen, const PointStyle &pointStyle, GeometryWindow *geometryWindow)
Create circle or polygon point according to the PointStyle.
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.
Details for a specific Point.
PointShape shape() const
Get method for point shape.
Graphics item for drawing a circular or polygonal Point.
ColorPalette paletteColor() const
Get method for point color.
int lineWidth() const
Get method for line width.