QRectF

QRect inline member functions

extern (C++) extern (C++)
@QMetaType.Type.QRectF
@Q_MOVABLE_TYPE
struct QRectF {}

Constructors

this
this(const(QPointF) atopLeft, const(QSizeF) asize)
Undocumented in source.
this
this(const(QPointF) atopLeft, const(QPointF) abottomRight)
Undocumented in source.
this
this(qreal aleft, qreal atop, qreal awidth, qreal aheight)
Undocumented in source.
this
this(const(QRect) r)
Undocumented in source.

Members

Functions

adjust
void adjust(qreal xp1, qreal yp1, qreal xp2, qreal yp2)
Undocumented in source. Be warned that the author may not have intended to support it.
adjusted
QRectF adjusted(qreal xp1, qreal yp1, qreal xp2, qreal yp2)
Undocumented in source. Be warned that the author may not have intended to support it.
bottom
qreal bottom()
Undocumented in source. Be warned that the author may not have intended to support it.
bottomLeft
QPointF bottomLeft()
Undocumented in source. Be warned that the author may not have intended to support it.
bottomRight
QPointF bottomRight()
Undocumented in source. Be warned that the author may not have intended to support it.
center
QPointF center()
Undocumented in source. Be warned that the author may not have intended to support it.
contains
bool contains(const(QRectF) r)
Undocumented in source.
contains
bool contains(const(QPointF) p)
Undocumented in source.
contains
bool contains(qreal ax, qreal ay)
Undocumented in source. Be warned that the author may not have intended to support it.
getCoords
void getCoords(qreal* xp1, qreal* yp1, qreal* xp2, qreal* yp2)
Undocumented in source. Be warned that the author may not have intended to support it.
getRect
void getRect(qreal* ax, qreal* ay, qreal* aaw, qreal* aah)
Undocumented in source. Be warned that the author may not have intended to support it.
height
qreal height()
Undocumented in source. Be warned that the author may not have intended to support it.
intersected
QRectF intersected(const(QRectF) r)
Undocumented in source. Be warned that the author may not have intended to support it.
intersects
bool intersects(const(QRectF) r)
Undocumented in source.
isEmpty
bool isEmpty()
Undocumented in source. Be warned that the author may not have intended to support it.
isNull
bool isNull()
Undocumented in source. Be warned that the author may not have intended to support it.
isValid
bool isValid()
Undocumented in source. Be warned that the author may not have intended to support it.
left
qreal left()
Undocumented in source. Be warned that the author may not have intended to support it.
marginsAdded
QRectF marginsAdded(const(QMarginsF) margins)
Undocumented in source. Be warned that the author may not have intended to support it.
marginsRemoved
QRectF marginsRemoved(const(QMarginsF) margins)
Undocumented in source. Be warned that the author may not have intended to support it.
moveBottom
void moveBottom(qreal pos)
Undocumented in source. Be warned that the author may not have intended to support it.
moveBottomLeft
void moveBottomLeft(const(QPointF) p)
Undocumented in source. Be warned that the author may not have intended to support it.
moveBottomRight
void moveBottomRight(const(QPointF) p)
Undocumented in source. Be warned that the author may not have intended to support it.
moveCenter
void moveCenter(const(QPointF) p)
Undocumented in source. Be warned that the author may not have intended to support it.
moveLeft
void moveLeft(qreal pos)
Undocumented in source. Be warned that the author may not have intended to support it.
moveRight
void moveRight(qreal pos)
Undocumented in source. Be warned that the author may not have intended to support it.
moveTo
void moveTo(qreal ax, qreal ay)
Undocumented in source. Be warned that the author may not have intended to support it.
moveTo
void moveTo(const(QPointF) p)
Undocumented in source. Be warned that the author may not have intended to support it.
moveTop
void moveTop(qreal pos)
Undocumented in source. Be warned that the author may not have intended to support it.
moveTopLeft
void moveTopLeft(const(QPointF) p)
Undocumented in source. Be warned that the author may not have intended to support it.
moveTopRight
void moveTopRight(const(QPointF) p)
Undocumented in source. Be warned that the author may not have intended to support it.
normalized
QRectF normalized()
Undocumented in source.
opBinary
QRectF opBinary(const(QRectF) r)
Undocumented in source.
opBinary
QRectF opBinary(const(QRectF) r)
Undocumented in source.
opOpAssign
QRectF opOpAssign(const(QRectF) r)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
QRectF opOpAssign(const(QRectF) r)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
QRectF opOpAssign(const(QMarginsF) margins)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
QRectF opOpAssign(const(QMarginsF) margins)
Undocumented in source. Be warned that the author may not have intended to support it.
right
qreal right()
Undocumented in source. Be warned that the author may not have intended to support it.
setBottom
void setBottom(qreal pos)
Undocumented in source. Be warned that the author may not have intended to support it.
setBottomLeft
void setBottomLeft(const(QPointF) p)
Undocumented in source. Be warned that the author may not have intended to support it.
setBottomRight
void setBottomRight(const(QPointF) p)
Undocumented in source. Be warned that the author may not have intended to support it.
setCoords
void setCoords(qreal xp1, qreal yp1, qreal xp2, qreal yp2)
Undocumented in source. Be warned that the author may not have intended to support it.
setHeight
void setHeight(qreal ah)
Undocumented in source. Be warned that the author may not have intended to support it.
setLeft
void setLeft(qreal pos)
Undocumented in source. Be warned that the author may not have intended to support it.
setRect
void setRect(qreal ax, qreal ay, qreal aaw, qreal aah)
Undocumented in source. Be warned that the author may not have intended to support it.
setRight
void setRight(qreal pos)
Undocumented in source. Be warned that the author may not have intended to support it.
setSize
void setSize(const(QSizeF) s)
Undocumented in source. Be warned that the author may not have intended to support it.
setTop
void setTop(qreal pos)
Undocumented in source. Be warned that the author may not have intended to support it.
setTopLeft
void setTopLeft(const(QPointF) p)
Undocumented in source. Be warned that the author may not have intended to support it.
setTopRight
void setTopRight(const(QPointF) p)
Undocumented in source. Be warned that the author may not have intended to support it.
setWidth
void setWidth(qreal aw)
Undocumented in source. Be warned that the author may not have intended to support it.
setX
void setX(qreal pos)
Undocumented in source. Be warned that the author may not have intended to support it.
setY
void setY(qreal pos)
Undocumented in source. Be warned that the author may not have intended to support it.
size
QSizeF size()
Undocumented in source. Be warned that the author may not have intended to support it.
toAlignedRect
QRect toAlignedRect()
Undocumented in source.
toRect
QRect toRect()
Undocumented in source. Be warned that the author may not have intended to support it.
top
qreal top()
Undocumented in source. Be warned that the author may not have intended to support it.
topLeft
QPointF topLeft()
Undocumented in source. Be warned that the author may not have intended to support it.
topRight
QPointF topRight()
Undocumented in source. Be warned that the author may not have intended to support it.
translate
void translate(qreal dx, qreal dy)
Undocumented in source. Be warned that the author may not have intended to support it.
translate
void translate(const(QPointF) p)
Undocumented in source. Be warned that the author may not have intended to support it.
translated
QRectF translated(qreal dx, qreal dy)
Undocumented in source. Be warned that the author may not have intended to support it.
translated
QRectF translated(const(QPointF) p)
Undocumented in source. Be warned that the author may not have intended to support it.
transposed
QRectF transposed()
Undocumented in source. Be warned that the author may not have intended to support it.
united
QRectF united(const(QRectF) r)
Undocumented in source. Be warned that the author may not have intended to support it.
width
qreal width()
Undocumented in source. Be warned that the author may not have intended to support it.
x
qreal x()
Undocumented in source. Be warned that the author may not have intended to support it.
y
qreal y()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta