Engauge Digitizer
2
Graphics
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
19
class
GraphicsPointFactory
20
{
21
public
:
23
GraphicsPointFactory
();
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
GraphicsPointFactory
Factor for generating GraphicsPointAbstractBase class objects.
Definition:
GraphicsPointFactory.h:19
GraphicsPointFactory::GraphicsPointFactory
GraphicsPointFactory()
Single constructor.
Definition:
GraphicsPointFactory.cpp:19
GeometryWindow
Window that displays the geometry information, as a table, for the current curve. ...
Definition:
GeometryWindow.h:28
GraphicsPointFactory::createPoint
GraphicsPoint * createPoint(QGraphicsScene &scene, const QString &identifier, const QPointF &posScreen, const PointStyle &pointStyle, GeometryWindow *geometryWindow)
Create circle or polygon point according to the PointStyle.
Definition:
GraphicsPointFactory.cpp:23
PointStyle
Details for a specific Point.
Definition:
PointStyle.h:20
GraphicsPoint
Graphics item for drawing a circular or polygonal Point.
Definition:
GraphicsPoint.h:43
Generated on Sat Oct 21 2017 12:50:39 for Engauge Digitizer by
1.8.13