Engauge Digitizer
2
Loading...
Searching...
No Matches
Graphics
GraphicsPointFactory.h
Go to the documentation of this file.
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
PointShape.h
GeometryWindow
Window that displays the geometry information, as a table, for the current curve.
Definition
GeometryWindow.h:29
GraphicsPointFactory::GraphicsPointFactory
GraphicsPointFactory()
Single constructor.
Definition
GraphicsPointFactory.cpp:19
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
GraphicsPoint
Graphics item for drawing a circular or polygonal Point.
Definition
GraphicsPoint.h:44
PointStyle
Details for a specific Point.
Definition
PointStyle.h:21
Generated on
for Engauge Digitizer by
1.14.0