![]() |
Qt 6.x
The Qt SDK
|
#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.
#define Q_NEAR_CLIP (sizeof(qreal) == sizeof(double) ? 0.000001 : 0.0001) |
Definition at line 27 of file qtransform.cpp.
|
inlinestatic |
Definition at line 1590 of file qtransform.cpp.
References d, QBezier::fromPoints(), i, lineTo_clipped(), qt_scaleForTransform(), and QBezier::toPolygon().
Referenced by mapProjective().
|
inlinestatic |
Definition at line 1549 of file qtransform.cpp.
References mapHomogeneous(), Q_NEAR_CLIP, QHomogeneousCoordinate::toPoint(), QHomogeneousCoordinate::w, QHomogeneousCoordinate::x, and QHomogeneousCoordinate::y.
Referenced by cubicTo_clipped(), and mapProjective().
|
inlinestatic |
Definition at line 1540 of file qtransform.cpp.
Referenced by lineTo_clipped().
|
static |
Definition at line 1609 of file qtransform.cpp.
References cubicTo_clipped(), QPainterPath::CurveToElement, i, lineTo_clipped(), QPainterPath::LineToElement, QPainterPath::MoveToElement, and Q_ASSERT.
|
static |
Definition at line 1367 of file qtransform.cpp.
References QList< T >::at(), i, and QList< T >::size().
Referenced by QTransform::map(), QTransform::map(), and 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().
|
inlinestatic |
Definition at line 1885 of file qtransform.cpp.
References Q_NEAR_CLIP, qMin(), and rect.
Referenced by QTransform::mapRect(), and QTransform::mapRect().
|
related |
Definition at line 1052 of file qtransform.cpp.
QDataStream & operator<< | ( | QDataStream & | s, |
const QTransform::Affine & | m | ||
) |
Definition at line 2368 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 2342 of file qtransform.cpp.
QPainterPath qt_regionToPath | ( | const QRegion & | region | ) |
Definition at line 1007 of file qregion.cpp.
Q_GUI_EXPORT bool qt_scaleForTransform | ( | const QTransform & | transform, |
qreal * | scale | ||
) |
Definition at line 2301 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().