00001 /****************************************************************************************************** 00002 * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released * 00003 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file * 00004 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. * 00005 ******************************************************************************************************/ 00006 00007 #ifndef GRAPHICS_POINT_FACTORY_H 00008 #define GRAPHICS_POINT_FACTORY_H 00009 00010 #include "PointShape.h" 00011 00012 class GeometryWindow; 00013 class GraphicsPoint; 00014 class PointStyle; 00015 class QGraphicsScene; 00016 class QPointF; 00017 00019 class GraphicsPointFactory 00020 { 00021 public: 00023 GraphicsPointFactory(); 00024 00026 GraphicsPoint *createPoint (QGraphicsScene &scene, 00027 const QString &identifier, 00028 const QPointF &posScreen, 00029 const PointStyle &pointStyle, 00030 GeometryWindow *geometryWindow); 00031 }; 00032 00033 #endif // GRAPHICS_POINT_FACTORY_H