QMapControl  0.9.7.4
invisiblepoint.h
1 /*
2 *
3 * This file is part of QMapControl,
4 * an open-source cross-platform map widget
5 *
6 * Copyright (C) 2014 Frederic Bourgeois
7 * Based on CirclePoint code by Kai Winter
8 *
9 * This program is free software: you can redistribute it and/or modify
10 * it under the terms of the GNU Lesser General Public License as published by
11 * the Free Software Foundation, either version 3 of the License, or
12 * (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU Lesser General Public License for more details.
18 *
19 * You should have received a copy of the GNU Lesser General Public License
20 * along with QMapControl. If not, see <http://www.gnu.org/licenses/>.
21 *
22 * Contact e-mail: kaiwinter@gmx.de
23 * Program URL : http://qmapcontrol.sourceforge.net/
24 *
25 */
26 
27 #ifndef INVISIBLEPOINT_H
28 #define INVISIBLEPOINT_H
29 
30 #include "qmapcontrol_global.h"
31 #include "point.h"
32 
33 namespace qmapcontrol
34 {
36 
42  class QMAPCONTROL_EXPORT InvisiblePoint : public Point
43  {
44  public:
46 
52  InvisiblePoint(qreal x, qreal y, QString name = QString());
53 
55 
63  InvisiblePoint(qreal x, qreal y, int width = 10, int height = 10, QString name = QString());
64 
66 
73  InvisiblePoint(qreal x, qreal y, int sideLength = 10, QString name = QString());
74  virtual ~InvisiblePoint();
75  };
76 }
77 #endif
Draws an invisible point into the map.
Definition: invisiblepoint.h:42
A geometric point to draw objects into maps.
Definition: point.h:66
QMapControl namespace.
Definition: arrowpoint.cpp:28