Engauge Digitizer  2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
Transformation.cpp File Reference
#include "CallbackUpdateTransform.h"
#include "Document.h"
#include "EngaugeAssert.h"
#include "FormatCoordsUnits.h"
#include "Logger.h"
#include <QDebug>
#include <qmath.h>
#include <QObject>
#include <QtGlobal>
#include "QtToString.h"
#include "Transformation.h"
Include dependency graph for Transformation.cpp:

Go to the source code of this file.

Functions

ostringstream & operator<< (ostringstream &strOuter, const Transformation &transformation)
 

Variables

const int PRECISION_DIGITS = 4
 Max number of significant digits. More...
 
const double PI = 3.1415926535
 
const double ZERO_OFFSET_AFTER_LOG = 1
 

Function Documentation

ostringstream& operator<< ( ostringstream &  strOuter,
const Transformation transformation 
)

Definition at line 277 of file Transformation.cpp.

279 {
280  QString text;
281  QTextStream strInner (&text);
282  transformation.printStream ("", strInner);
283 
284  strOuter << text.toLatin1().data ();
285 
286  return strOuter;
287 }
void printStream(QString indentation, QTextStream &str) const
Debugging method that supports print method of this class and printStream method of some other class(...

Variable Documentation

const double PI = 3.1415926535

Definition at line 25 of file Transformation.cpp.

const int PRECISION_DIGITS = 4

Max number of significant digits.

Number of pixels in each direction should just fit into this number of characters.

Definition at line 23 of file Transformation.cpp.

const double ZERO_OFFSET_AFTER_LOG = 1

Definition at line 26 of file Transformation.cpp.