54 #include <QtGui/private/qtguiglobal_p.h>
55 #include "QtCore/qdebug.h"
56 #include "QtCore/qpoint.h"
57 #include "QtCore/qsize.h"
74 constexpr
inline int value()
const {
return val; }
77 constexpr
inline int toInt()
const {
return (((
val)+32) & -64)>>6; }
115 if (
a < 0) {
a = -
a; neg =
true; }
116 if (
b < 0) {
b = -
b; neg = !neg; }
118 int res = (int)(((
a << 6) + (
b >> 1)) /
b);
133 if (
a < 0) {
a = -
a; neg =
true; }
134 if (
b < 0) {
b = -
b; neg = !neg; }
136 int res = (int)((
a *
b + 0x20L) >> 6);
159 #define QFIXED_MAX (INT_MAX/256)
185 #ifndef QT_NO_DEBUG_STREAM
187 {
return dbg <<
f.toReal(); }
small capitals from c petite p scientific i
[1]
const QByteArray operator+(const QByteArray &a1, const QByteArray &a2)
operator<<(QDataStream &ds, qfloat16 f)
The QDebug class provides an output stream for debugging information.
bool operator<(const QElapsedTimer &lhs, const QElapsedTimer &rhs) noexcept
template< typename Enum > bool operator!=(Enum lhs, QFlags< Enum > rhs)
template< typename Enum > bool operator==(Enum lhs, QFlags< Enum > rhs)
QMargins operator*(const QMargins &margins, int factor)
QMargins operator-(const QMargins &m1, const QMargins &m2)
The QPointF class defines a point in the plane using floating point precision.
The QSizeF class defines the size of a two-dimensional object using floating point precision.
bool operator<=(const QUuid &lhs, const QUuid &rhs)
bool operator>=(const QUuid &lhs, const QUuid &rhs)
QTextStream & fixed(QTextStream &stream)
EGLOutputLayerEXT EGLint EGLAttrib value
constexpr int qFloor(const QFixed &f)
constexpr bool operator>(const QFixed &f, int i)
Q_DECLARE_TYPEINFO(QFixed, Q_PRIMITIVE_TYPE)
constexpr int qRound(const QFixed &f)
QT_END_INCLUDE_NAMESPACE typedef double qreal
GLboolean GLboolean GLboolean b
GLint GLint GLint GLint GLint x
[0]
GLint GLsizei GLsizei height
GLboolean GLboolean GLboolean GLboolean a
[7]
QFixed & operator=(int i)
QFixed & operator/=(const QFixed &o)
constexpr QFixed operator+(const QFixed &other) const
constexpr bool operator!=(const QFixed &other) const
constexpr QFixed floor() const
QFixed & operator+=(const QFixed &other)
constexpr bool operator<(const QFixed &other) const
constexpr bool operator>=(const QFixed &other) const
QFixed & operator-=(uint i)
constexpr int value() const
constexpr QFixed operator*(uint i) const
constexpr static QFixed fromReal(qreal r)
QFixed operator>>(int d) const
QFixed & operator/=(int x)
QFixed operator*(const QFixed &o) const
constexpr bool operator==(const QFixed &other) const
constexpr int toInt() const
constexpr QFixed operator-(int i) const
constexpr bool operator<=(const QFixed &other) const
QFixed & operator*=(int i)
constexpr QFixed operator-(uint i) const
QFixed operator/(QFixed b) const
QFixed & operator+=(int i)
QFixed & operator=(long i)
QFixed & operator-=(int i)
constexpr QFixed operator-(const QFixed &other) const
constexpr bool operator!() const
constexpr QFixed round() const
constexpr QFixed operator+(int i) const
constexpr QFixed operator*(int i) const
constexpr QFixed ceil() const
constexpr qreal toReal() const
QFixed & operator*=(uint i)
constexpr static QFixed fromFixed(int fixed)
QFixed & operator-=(const QFixed &other)
constexpr QFixed operator/(int d) const
constexpr QFixed operator+(uint i) const
QFixed & operator*=(const QFixed &o)
constexpr bool operator>(const QFixed &other) const
QFixed & operator+=(uint i)
constexpr int truncate() const
constexpr QFixed operator-() const
constexpr bool operator==(const QFixedPoint &other) const
constexpr static QFixedPoint fromPointF(const QPointF &p)
constexpr QPointF toPointF() const
constexpr QFixedPoint(const QFixed &_x, const QFixed &_y)
constexpr QFixedSize(QFixed _width, QFixed _height)
constexpr static QFixedSize fromSizeF(const QSizeF &s)
constexpr QSizeF toSizeF() const