Engauge Digitizer
2
Loading...
Searching...
No Matches
Format
FormatCoordsUnitsStrategyAbstractBase.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_ABSTRACT_BASE_H
8
#define FORMAT_COORDS_UNITS_STRATEGY_ABSTRACT_BASE_H
9
10
class
DocumentModelGeneral
;
11
class
Transformation
;
12
14
class
FormatCoordsUnitsStrategyAbstractBase
15
{
16
public
:
18
FormatCoordsUnitsStrategyAbstractBase
();
19
20
protected
:
21
25
int
precisionDigitsForRawNumber
(
double
valueUnformatted
,
26
double
valueUnformattedOther
,
27
bool
isXTheta
,
28
const
DocumentModelGeneral
&modelGeneral,
29
const
Transformation
&transformation)
const
;
30
};
31
32
#endif
// FORMAT_COORDS_UNITS_STRATEGY_ABSTRACT_BASE_H
INNER_RADIUS_MIN
const int INNER_RADIUS_MIN
Definition
DlgSettingsDigitizeCurve.cpp:35
DocumentModelGeneral
Model for DlgSettingsGeneral and CmdSettingsGeneral.
Definition
DocumentModelGeneral.h:17
FormatCoordsUnitsStrategyAbstractBase
Common methods for formatting strategies.
Definition
FormatCoordsUnitsStrategyAbstractBase.h:15
FormatCoordsUnitsStrategyAbstractBase::precisionDigitsForRawNumber
int precisionDigitsForRawNumber(double valueUnformatted, double valueUnformattedOther, bool isXTheta, const DocumentModelGeneral &modelGeneral, const Transformation &transformation) const
Compute precision for outputting an unformatted value, consistent with the resolution at the point wh...
Definition
FormatCoordsUnitsStrategyAbstractBase.cpp:17
FormatCoordsUnitsStrategyAbstractBase::FormatCoordsUnitsStrategyAbstractBase
FormatCoordsUnitsStrategyAbstractBase()
Single constructor.
Definition
FormatCoordsUnitsStrategyAbstractBase.cpp:13
Transformation
Affine transformation between screen and graph coordinates, based on digitized axis points.
Definition
Transformation.h:32
Generated on Wed Aug 3 2022 00:00:00 for Engauge Digitizer by
1.10.0