#include <QtCore/qnamespace.h>
Go to the source code of this file.
|
bool | operator!= (const QPoint &p1, const QPoint &p2) |
|
bool | operator!= (const QPointF &p1, const QPointF &p2) |
|
const QPoint | operator* (const QPoint &p, float c) |
|
const QPoint | operator* (const QPoint &p, double c) |
|
const QPoint | operator* (const QPoint &p, int c) |
|
const QPoint | operator* (float c, const QPoint &p) |
|
const QPoint | operator* (double c, const QPoint &p) |
|
const QPoint | operator* (int c, const QPoint &p) |
|
const QPointF | operator* (const QPointF &p, qreal c) |
|
const QPointF | operator* (qreal c, const QPointF &p) |
|
const QPoint | operator+ (const QPoint &p1, const QPoint &p2) |
|
const QPointF | operator+ (const QPointF &p1, const QPointF &p2) |
|
const QPoint | operator- (const QPoint &p1, const QPoint &p2) |
|
const QPoint | operator- (const QPoint &p) |
|
const QPointF | operator- (const QPointF &p1, const QPointF &p2) |
|
const QPointF | operator- (const QPointF &p) |
|
const QPoint | operator/ (const QPoint &p, qreal c) |
|
const QPointF | operator/ (const QPointF &p, qreal c) |
|
Q_CORE_EXPORT QDataStream & | operator<< (QDataStream &, const QPoint &) |
|
Q_CORE_EXPORT QDebug | operator<< (QDebug, const QPoint &) |
|
Q_CORE_EXPORT QDataStream & | operator<< (QDataStream &, const QPointF &) |
|
Q_CORE_EXPORT QDebug | operator<< (QDebug d, const QPointF &p) |
|
bool | operator== (const QPoint &p1, const QPoint &p2) |
|
bool | operator== (const QPointF &p1, const QPointF &p2) |
|
Q_CORE_EXPORT QDataStream & | operator>> (QDataStream &, QPoint &) |
|
Q_CORE_EXPORT QDataStream & | operator>> (QDataStream &, QPointF &) |
|
| Q_DECLARE_TYPEINFO (QPoint, Q_MOVABLE_TYPE) |
|
| Q_DECLARE_TYPEINFO (QPointF, Q_MOVABLE_TYPE) |
|
◆ operator!=() [1/2]
◆ operator!=() [2/2]
Definition at line 334 of file qpoint.h.
static Q_DECL_CONSTEXPR bool qFuzzyIsNull(double d)
◆ operator*() [1/8]
Definition at line 173 of file qpoint.h.
The QPoint class defines a point in the plane using integer precision.
Q_DECL_CONSTEXPR int qRound(qreal d)
◆ operator*() [2/8]
Definition at line 176 of file qpoint.h.
The QPoint class defines a point in the plane using integer precision.
Q_DECL_CONSTEXPR int qRound(qreal d)
◆ operator*() [3/8]
Definition at line 179 of file qpoint.h.
The QPoint class defines a point in the plane using integer precision.
◆ operator*() [4/8]
Definition at line 182 of file qpoint.h.
The QPoint class defines a point in the plane using integer precision.
Q_DECL_CONSTEXPR int qRound(qreal d)
◆ operator*() [5/8]
Definition at line 185 of file qpoint.h.
The QPoint class defines a point in the plane using integer precision.
Q_DECL_CONSTEXPR int qRound(qreal d)
◆ operator*() [6/8]
Definition at line 188 of file qpoint.h.
The QPoint class defines a point in the plane using integer precision.
◆ operator*() [7/8]
Definition at line 349 of file qpoint.h.
The QPointF class defines a point in the plane using floating point precision.
◆ operator*() [8/8]
Definition at line 354 of file qpoint.h.
The QPointF class defines a point in the plane using floating point precision.
◆ operator+() [1/2]
Definition at line 167 of file qpoint.h.
The QPoint class defines a point in the plane using integer precision.
◆ operator+() [2/2]
Definition at line 339 of file qpoint.h.
The QPointF class defines a point in the plane using floating point precision.
◆ operator-() [1/4]
Definition at line 170 of file qpoint.h.
The QPoint class defines a point in the plane using integer precision.
◆ operator-() [2/4]
Definition at line 191 of file qpoint.h.
The QPoint class defines a point in the plane using integer precision.
◆ operator-() [3/4]
Definition at line 344 of file qpoint.h.
The QPointF class defines a point in the plane using floating point precision.
◆ operator-() [4/4]
Definition at line 359 of file qpoint.h.
The QPointF class defines a point in the plane using floating point precision.
◆ operator/() [1/2]
Definition at line 201 of file qpoint.h.
The QPoint class defines a point in the plane using integer precision.
Q_DECL_CONSTEXPR int qRound(qreal d)
◆ operator/() [2/2]
Definition at line 371 of file qpoint.h.
The QPointF class defines a point in the plane using floating point precision.
◆ operator<<() [1/4]
Definition at line 435 of file qpoint.cpp.
437 if (s.version() == 1)
◆ operator<<() [2/4]
Definition at line 495 of file qpoint.cpp.
496 dbg.nospace() <<
"QPoint(" << p.x() <<
',' << p.y() <<
')';
◆ operator<<() [3/4]
Definition at line 849 of file qpoint.cpp.
851 s << double(p.x()) <<
double(p.y());
◆ operator<<() [4/4]
Definition at line 500 of file qpoint.cpp.
502 d.
nospace() <<
"QPointF(" << p.
x() <<
", " << p.
y() <<
')';
QDebug & nospace()
Clears the stream's internal flag that records whether the last character was a space and returns a r...
qreal x() const
Returns the x-coordinate of this point.
qreal y() const
Returns the y-coordinate of this point.
QDebug & space()
Writes a space character to the debug stream and returns a reference to the stream.
◆ operator==() [1/2]
◆ operator==() [2/2]
Definition at line 329 of file qpoint.h.
static Q_DECL_CONSTEXPR bool qFuzzyIsNull(double d)
◆ operator>>() [1/2]
Definition at line 457 of file qpoint.cpp.
459 if (s.version() == 1) {
◆ operator>>() [2/2]
◆ Q_DECLARE_TYPEINFO() [1/2]
◆ Q_DECLARE_TYPEINFO() [2/2]