Engauge Digitizer  2
CallbackAxesCheckerFromAxesPoints.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 CALLBACK_AXES_CHECKER_FROM_AXES_POINTS_H
8 #define CALLBACK_AXES_CHECKER_FROM_AXES_POINTS_H
9 
10 #include "CallbackSearchReturn.h"
11 #include "Point.h"
12 #include "Points.h"
13 #include <QString>
14 #include <QList>
15 
18 {
19 public:
22 
24  CallbackSearchReturn callback (const QString &curveName,
25  const Point &point);
26 
28  Points points () const;
29 
30 private:
31 
32  Points m_points;
33 };
34 
35 #endif // CALLBACK_AXES_CHECKER_FROM_AXES_POINTS_H
CallbackSearchReturn callback(const QString &curveName, const Point &point)
Callback method.
Class that represents one digitized point. The screen-to-graph coordinate transformation is always ex...
Definition: Point.h:23
Points points() const
Return the collected points as a polygon, in screen coordinates.
Callback for positioning the axes indicator according to the axes points.