Engauge Digitizer 2
Loading...
Searching...
No Matches
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
12class GraphicsPoint;
13class PointStyle;
14class QGraphicsScene;
15class QPointF;
16
19{
20public:
23
25 GraphicsPoint *createPoint (QGraphicsScene &scene,
26 const QString &identifier,
27 const QPointF &posScreen,
28 const PointStyle &pointStyle);
29};
30
31#endif // GRAPHICS_POINT_FACTORY_H
Factor for generating GraphicsPointAbstractBase class objects.
GraphicsPointFactory()
Single constructor.
GraphicsPoint * createPoint(QGraphicsScene &scene, const QString &identifier, const QPointF &posScreen, const PointStyle &pointStyle)
Create circle or polygon point according to the PointStyle.
Graphics item for drawing a circular or polygonal Point.
Details for a specific Point.
Definition PointStyle.h:21