Engauge Digitizer 2
Loading...
Searching...
No Matches
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.
const double ZERO_OFFSET_AFTER_LOG = 1

Function Documentation

◆ operator<<()

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

Definition at line 276 of file Transformation.cpp.

278{
279 QString text;
280 QTextStream strInner (&text);
281 transformation.printStream ("", strInner);
282
283 strOuter << text.toLatin1().data ();
284
285 return strOuter;
286}
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

◆ PRECISION_DIGITS

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.

◆ ZERO_OFFSET_AFTER_LOG

const double ZERO_OFFSET_AFTER_LOG = 1

Definition at line 25 of file Transformation.cpp.