Engauge Digitizer 2
Loading...
Searching...
No Matches
CallbackCheckAddPointAxis.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 CALLBACK_CHECK_ADD_POINT_AXIS_H
8#define CALLBACK_CHECK_ADD_POINT_AXIS_H
9
11#include <QPointF>
12#include <QString>
13
15class Point;
16
19{
20public:
23 const QPointF &posScreen,
24 const QPointF &posGraph,
26 bool isXOnly);
27
29 bool isError () const;
30
32 QString errorMessage () const;
33
34private:
36};
37
38#endif // CALLBACK_CHECK_ADD_POINT_AXIS_H
DocumentAxesPointsRequired documentAxesPointsRequired() const
Number of axes points required for the transformation.
CallbackAxisPointsAbstract(const DocumentModelCoords &modelCoords, DocumentAxesPointsRequired documentAxesPointsRequired)
Constructor for when all of the existing axis points are to be processed as is.
CallbackCheckAddPointAxis(const DocumentModelCoords &modelCoords, const QPointF &posScreen, const QPointF &posGraph, DocumentAxesPointsRequired documentAxesPointsRequired, bool isXOnly)
Single constructor.
bool isError() const
True if an error occurred during iteration.
QString errorMessage() const
Error message that explains the problem indicated by isError.
Model for DlgSettingsCoords and CmdSettingsCoords.
Class that represents one digitized point. The screen-to-graph coordinate transformation is always ex...
Definition Point.h:26