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>.
Loading...
Searching...
No Matches
qmath_p.h File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

#include <qmath.h>
#include <private/qglobal_p.h>
#include <qtransform.h>
+ Include dependency graph for qmath_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

QRect qt_mapFillRect (const QRectF &rect, const QTransform &xf)
 

Variables

static QT_BEGIN_NAMESPACE const qreal Q_PI = qreal(M_PI)
 
static const qreal Q_MM_PER_INCH = 25.4
 

Function Documentation

◆ qt_mapFillRect()

QRect qt_mapFillRect ( const QRectF & rect,
const QTransform & xf )
inline

Definition at line 27 of file qmath_p.h.

References Q_ASSERT, qFuzzyIsNull(), rect, QRect::span(), QTransform::TxRotate, and QTransform::TxScale.

Referenced by QRasterPaintEngine::clip(), QRasterPaintEngine::clip(), QOpenGL2PaintEngineEx::clip(), and QTransform::map().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ Q_MM_PER_INCH

const qreal Q_MM_PER_INCH = 25.4
static

Definition at line 25 of file qmath_p.h.

Referenced by QXcbVirtualDesktop::dpi(), and sizeInMillimeters().

◆ Q_PI