Engauge Digitizer  2
FormatCoordsUnitsStrategyAbstractBase.h
1 #ifndef FORMAT_COORDS_UNITS_STRATEGY_ABSTRACT_BASE_H
2 #define FORMAT_COORDS_UNITS_STRATEGY_ABSTRACT_BASE_H
3 
4 class Transformation;
5 
8 {
9  public:
12 
13  protected:
14 
18  int precisionDigitsForRawNumber (double valueUnformatted,
19  double valueUnformattedOther,
20  bool isXTheta,
21  const Transformation &transformation) const;
22 };
23 
24 #endif // FORMAT_COORDS_UNITS_STRATEGY_ABSTRACT_BASE_H
Common methods for formatting strategies.
Affine transformation between screen and graph coordinates, based on digitized axis points...
int precisionDigitsForRawNumber(double valueUnformatted, double valueUnformattedOther, bool isXTheta, const Transformation &transformation) const
Compute precision for outputting an unformatted value, consistent with the resolution at the point wh...