Engauge Digitizer 2
Loading...
Searching...
No Matches
FormatCoordsUnitsStrategyPolarTheta.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 FORMAT_COORDS_UNITS_STRATEGY_POLAR_THETA_H
8#define FORMAT_COORDS_UNITS_STRATEGY_POLAR_THETA_H
9
13#include <QString>
14
15class QLocale;
16class Transformation;
17
20 public:
23
25 double formattedToUnformatted (const QString &string,
26 const QLocale &locale,
28
31 const QLocale &locale,
33 const DocumentModelGeneral &modelGeneral,
34 const Transformation &transformation,
35 double valueUnformattedOther) const;
36};
37
38#endif // FORMAT_COORDS_UNITS_STRATEGY_POLAR_THETA_H
CoordUnitsPolarTheta
const int INNER_RADIUS_MIN
Model for DlgSettingsGeneral and CmdSettingsGeneral.
Format conversions between unformatted and formatted for CoordUnitsStrategyPolarTheta.
double formattedToUnformatted(const QString &string, const QLocale &locale, CoordUnitsPolarTheta coordUnits) const
Convert formatted string to simple unformatted number.
QString unformattedToFormatted(double valueUnformatted, const QLocale &locale, CoordUnitsPolarTheta coordUnits, const DocumentModelGeneral &modelGeneral, const Transformation &transformation, double valueUnformattedOther) const
Convert simple unformatted number to formatted string.
Affine transformation between screen and graph coordinates, based on digitized axis points.