7 #ifndef TRANSFORMATION_H 8 #define TRANSFORMATION_H 10 #include "CmdMediator.h" 11 #include "DocumentModelCoords.h" 12 #include "DocumentModelGeneral.h" 13 #include "MainWindowModel.h" 60 const QPointF &posFrom1,
61 const QPointF &posFrom2,
62 const QPointF &posTo0,
63 const QPointF &posTo1,
64 const QPointF &posTo2);
68 const QPointF &posGraphIn);
72 const QPointF &posGraphIn);
76 QString &coordsScreen,
78 QString &resolutionGraph);
98 QTextStream &str)
const;
108 QPointF &coordScreen)
const;
112 QPointF &coordScreen)
const;
119 QPointF &pointLinearCartesian)
const;
123 QPointF &pointScreen)
const;
127 QPointF &pointLinearCartesian)
const;
131 QPointF &coordGraph)
const;
134 void update (
bool fileIsLoaded,
141 double roundOffSmallValues (
double value,
double range);
149 void updateTransformFromMatrices (
const QTransform &matrixScreen,
150 const QTransform &matrixGraph);
153 bool m_transformIsDefined;
156 QTransform m_transform;
169 std::ostringstream &operator<< (std::ostringstream &str,
172 #endif // TRANSFORMATION_H
Model for DlgSettingsGeneral and CmdSettingsGeneral.
Unit test of Export classes.
Model for DlgSettingsMainWindow.
Model for DlgSettingsCoords and CmdSettingsCoords.