43 #include <private/qdebug_p.h>
234 useHeight = (rw <=
s.wd);
236 useHeight = (rw >=
s.wd);
409 #ifndef QT_NO_DATASTREAM
422 if (
s.version() == 1)
441 if (
s.version() == 1) {
455 #ifndef QT_NO_DEBUG_STREAM
461 QtDebugUtils::formatQSize(dbg,
s);
673 qreal rw =
s.ht * wd / ht;
676 useHeight = (rw <=
s.wd);
678 useHeight = (rw >=
s.wd);
684 return QSizeF(
s.wd,
s.wd * ht / wd);
843 #ifndef QT_NO_DATASTREAM
881 #ifndef QT_NO_DEBUG_STREAM
887 QtDebugUtils::formatQSize(dbg,
s);
The QDataStream class provides serialization of binary data to a QIODevice.
operator>>(QDataStream &ds, qfloat16 &f)
operator<<(QDataStream &ds, qfloat16 f)
The QDebug class provides an output stream for debugging information.
Convenience class for custom QDebug operators.
The QSizeF class defines the size of a two-dimensional object using floating point precision.
constexpr void setHeight(qreal h) noexcept
constexpr void setWidth(qreal w) noexcept
constexpr qreal width() const noexcept
QSizeF scaled(qreal w, qreal h, Qt::AspectRatioMode mode) const noexcept
constexpr qreal height() const noexcept
void transpose() noexcept
The QSize class defines the size of a two-dimensional object using integer point precision.
constexpr int height() const noexcept
constexpr int width() const noexcept
constexpr int & rheight() noexcept
QSize scaled(int w, int h, Qt::AspectRatioMode mode) const noexcept
constexpr int & rwidth() noexcept
void transpose() noexcept
bool qIsNull(qfloat16 f) noexcept
QT_END_INCLUDE_NAMESPACE typedef double qreal
GLfloat GLfloat GLfloat w
[0]
GLfloat GLfloat GLfloat GLfloat h