Engauge Digitizer  2
GraphicsPointFactory.h
1 /******************************************************************************************************
2  * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3  * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4  * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5  ******************************************************************************************************/
6 
7 #ifndef GRAPHICS_POINT_FACTORY_H
8 #define GRAPHICS_POINT_FACTORY_H
9 
10 #include "PointShape.h"
11 
12 class GeometryWindow;
13 class GraphicsPoint;
14 class PointStyle;
15 class QGraphicsScene;
16 class QPointF;
17 
20 {
21 public:
24 
26  GraphicsPoint *createPoint (QGraphicsScene &scene,
27  const QString &identifier,
28  const QPointF &posScreen,
29  const PointStyle &pointStyle,
30  GeometryWindow *geometryWindow);
31 };
32 
33 #endif // GRAPHICS_POINT_FACTORY_H
Factor for generating GraphicsPointAbstractBase class objects.
GraphicsPointFactory()
Single constructor.
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.
Definition: PointStyle.h:20
Graphics item for drawing a circular or polygonal Point.
Definition: GraphicsPoint.h:43