7 #ifndef TRANSFORMATION_H
8 #define TRANSFORMATION_H
10 #include "CmdMediator.h"
11 #include "DocumentModelCoords.h"
12 #include "DocumentModelGeneral.h"
13 #include "MainWindowModel.h"
59 const QPointF &posFrom1,
60 const QPointF &posFrom2,
61 const QPointF &posTo0,
62 const QPointF &posTo1,
63 const QPointF &posTo2);
67 const QPointF &posGraphIn);
71 const QPointF &posGraphIn);
75 QString &coordsScreen,
77 QString &resolutionGraph);
97 QTextStream &str)
const;
107 QPointF &coordScreen)
const;
111 QPointF &coordScreen)
const;
118 QPointF &pointLinearCartesian)
const;
122 QPointF &pointScreen)
const;
126 QPointF &pointLinearCartesian)
const;
130 QPointF &coordGraph)
const;
133 void update (
bool fileIsLoaded,
140 double roundOffSmallValues (
double value,
double range);
148 void updateTransformFromMatrices (
const QTransform &matrixScreen,
149 const QTransform &matrixGraph);
152 bool m_transformIsDefined;
155 QTransform m_transform;
168 std::ostringstream &operator<< (std::ostringstream &str,
171 #endif // TRANSFORMATION_H
Model for DlgSettingsGeneral and CmdSettingsGeneral.
Model for DlgSettingsMainWindow.
Model for DlgSettingsCoords and CmdSettingsCoords.