Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
geometrytestutils_p.h File Reference

(5486a66f938415a5144e56aa7a022fa6abf36eaa)

#include <QObject>
#include <QList>
#include <QSize>
#include <QtCore/qpoint.h>
#include <private/qglobal_p.h>
Include dependency graph for geometrytestutils_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QSizeChangeListener

Macros

#define VERIFY_POINT_NEAR(name, actual, expected)

Functions

QT_BEGIN_NAMESPACE bool pointNear (QPointF a, QPointF b, qreal tol=1.0)

Macro Definition Documentation

◆ VERIFY_POINT_NEAR

#define VERIFY_POINT_NEAR ( name,
actual,
expected )
Value:
QVERIFY2(pointNear((actual), (expected)), \
qPrintable(QStringLiteral(name "=(%1,%2) expected=(%3,%4)") \
.arg((actual).x()).arg((actual).y()) \
.arg((expected).x()).arg((expected).y())))
QJSValue expected
Definition qjsengine.cpp:12
QT_BEGIN_NAMESPACE bool pointNear(QPointF a, QPointF b, qreal tol=1.0)
GLint GLint GLint GLint GLint x
GLint y
SSL_CTX int void * arg
#define qPrintable(string)
Definition qstring.h:1705
#define QStringLiteral(str)
Definition qstring.h:1847
#define QVERIFY2(statement, description)
Definition qtestcase.h:77
EGLImageKHR EGLint * name

Definition at line 31 of file geometrytestutils_p.h.

Function Documentation

◆ pointNear()

QT_BEGIN_NAMESPACE bool pointNear ( QPointF a,
QPointF b,
qreal tol = 1.0 )
inline

Definition at line 26 of file geometrytestutils_p.h.