Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include "qtransform.h"
#include "qdatastream.h"
#include "qdebug.h"
#include "qhashfunctions.h"
#include "qregion.h"
#include "qpainterpath.h"
#include "qpainterpath_p.h"
#include "qvariant.h"
#include "qmath_p.h"
#include <qnumeric.h>
#include <private/qbezier_p.h>
Go to the source code of this file.
Classes | |
struct | QHomogeneousCoordinate |
Macros | |
#define | Q_NEAR_CLIP (sizeof(qreal) == sizeof(double) ? 0.000001 : 0.0001) |
#define | MAP(x, y, nx, ny) |
Definition at line 32 of file qtransform.cpp.
Referenced by QTransform::map(), QTransform::map(), QTransform::map(), QTransform::map(), QTransform::map(), QTransform::map(), QTransform::map(), QTransform::map(), QTransform::map(), QTransform::mapRect(), QTransform::mapRect(), and QTransform::mapToPolygon().
#define Q_NEAR_CLIP (sizeof(qreal) == sizeof(double) ? 0.000001 : 0.0001) |
Definition at line 27 of file qtransform.cpp.
Referenced by lineTo_clipped().
|
inlinestatic |
Definition at line 1454 of file qtransform.cpp.
References d, QBezier::fromPoints(), i, lineTo_clipped(), and qt_scaleForTransform().
Referenced by mapProjective().
|
inlinestatic |
Definition at line 1413 of file qtransform.cpp.
References mapHomogeneous(), Q_NEAR_CLIP, and QPointF::toPoint().
Referenced by cubicTo_clipped(), and mapProjective().
|
inlinestatic |
Definition at line 1404 of file qtransform.cpp.
Referenced by lineTo_clipped().
|
static |
Definition at line 1473 of file qtransform.cpp.
References cubicTo_clipped(), QPainterPath::CurveToElement, i, lineTo_clipped(), QPainterPath::LineToElement, QPainterPath::MoveToElement, and Q_ASSERT.
Referenced by QTransform::map().
|
static |
Definition at line 21 of file qtransform.cpp.
References qWarning.
Referenced by QTransform::fromScale(), QTransform::fromTranslate(), QTransform::rotate(), QTransform::rotateRadians(), QTransform::scale(), QTransform::shear(), and QTransform::translate().
|
related |
Definition at line 1052 of file qtransform.cpp.
QDataStream & operator<< | ( | QDataStream & | s, |
const QTransform::Affine & | m ) |
Definition at line 2215 of file qtransform.cpp.
QDebug operator<< | ( | QDebug | dbg, |
const QTransform & | m ) |
Definition at line 1100 of file qtransform.cpp.
References typeStr().
|
related |
Definition at line 1076 of file qtransform.cpp.
QDataStream & operator>> | ( | QDataStream & | s, |
QTransform::Affine & | m ) |
Definition at line 2189 of file qtransform.cpp.
|
extern |
Definition at line 1007 of file qregion.cpp.
Q_GUI_EXPORT bool qt_scaleForTransform | ( | const QTransform & | transform, |
qreal * | scale ) |
Definition at line 2148 of file qtransform.cpp.
References qAbs(), qFuzzyCompare(), qMax(), qSqrt(), QTransform::TxRotate, QTransform::TxScale, and QTransform::TxTranslate.
Referenced by cubicTo_clipped(), QCoreTextFontEngine::draw(), QPixmapBlurFilter::draw(), QCoreTextFontEngine::imageForGlyph(), QStrokerOps::setCurveThresholdFromTransform(), QOutlineMapper::setMatrix(), QOpenGL2PaintEngineEx::stroke(), QRasterPaintEngine::updateMatrix(), and QX11PaintEngine::updateMatrix().