![]() |
Qt 6.x
The Qt SDK
|
#include <QtGui/private/qtguiglobal_p.h>
#include "QtCore/qdebug.h"
#include "QtCore/qpoint.h"
#include "QtCore/qnumeric.h"
#include "QtCore/qsize.h"
Go to the source code of this file.
Classes | |
struct | QFixed |
struct | QFixedPoint |
struct | QFixedSize |
Macros | |
#define | REL_OP(op) |
#define | QFIXED_MAX (INT_MAX/256) |
Functions | |
Q_DECLARE_TYPEINFO (QFixed, Q_PRIMITIVE_TYPE) | |
constexpr int | qRound (QFixed f) |
constexpr int | qFloor (QFixed f) |
constexpr QFixed | operator* (int i, QFixed d) |
constexpr QFixed | operator+ (int i, QFixed d) |
constexpr QFixed | operator- (int i, QFixed d) |
constexpr QFixed | operator* (uint i, QFixed d) |
constexpr QFixed | operator+ (uint i, QFixed d) |
constexpr QFixed | operator- (uint i, QFixed d) |
bool | qAddOverflow (QFixed v1, QFixed v2, QFixed *r) |
bool | qMulOverflow (QFixed v1, QFixed v2, QFixed *r) |
QDebug & | operator<< (QDebug &dbg, QFixed f) |
Q_DECLARE_TYPEINFO (QFixedPoint, Q_PRIMITIVE_TYPE) | |
constexpr QFixedPoint | operator- (const QFixedPoint &p1, const QFixedPoint &p2) |
constexpr QFixedPoint | operator+ (const QFixedPoint &p1, const QFixedPoint &p2) |
Q_DECLARE_TYPEINFO (QFixedSize, Q_PRIMITIVE_TYPE) | |
#define QFIXED_MAX (INT_MAX/256) |
Definition at line 127 of file qfixed_p.h.
#define REL_OP | ( | op | ) |
Definition at line 63 of file qfixed_p.h.
Definition at line 132 of file qfixed_p.h.
Definition at line 135 of file qfixed_p.h.
|
inlineconstexpr |
Definition at line 179 of file qfixed_p.h.
Definition at line 133 of file qfixed_p.h.
Definition at line 136 of file qfixed_p.h.
|
inlineconstexpr |
Definition at line 177 of file qfixed_p.h.
Definition at line 134 of file qfixed_p.h.
Definition at line 137 of file qfixed_p.h.
Definition at line 157 of file qfixed_p.h.
Q_DECLARE_TYPEINFO | ( | QFixed | , |
Q_PRIMITIVE_TYPE | |||
) |
Q_DECLARE_TYPEINFO | ( | QFixedPoint | , |
Q_PRIMITIVE_TYPE | |||
) |
Q_DECLARE_TYPEINFO | ( | QFixedSize | , |
Q_PRIMITIVE_TYPE | |||
) |
Definition at line 140 of file qfixed_p.h.
References qAddOverflow().
Referenced by qAddOverflow().
|
inlineconstexpr |
Definition at line 130 of file qfixed_p.h.
Definition at line 148 of file qfixed_p.h.
References qMulOverflow().
Referenced by qMulOverflow().
|
inlineconstexpr |
Definition at line 129 of file qfixed_p.h.