42 result.
setX(localRect.x() +
x() * localRect.width());
46 result.setY(localRect.y() +
y() * localRect.height());
77 result.
setX(localRect.x() +
x() * localRect.width());
79 result.setX(localRect.x() +
x() * canvasRect.width());
83 result.setY(localRect.y() +
y() * localRect.height());
85 result.setY(localRect.y() +
y() * canvasRect.height());
\inmodule QtCore\reentrant
constexpr void setX(qreal x) noexcept
Sets the x coordinate of this point to the given finite x coordinate.
\inmodule QtCore\reentrant
constexpr qreal height() const noexcept
Returns the height of the rectangle.
constexpr qreal width() const noexcept
Returns the width of the rectangle.
constexpr void setX(qreal pos) noexcept
Sets the left edge of the rectangle to the given finite x coordinate.
QtSvg::UnitTypes unitH() const
QSvgRectF(const QRectF &r=QRectF(), QtSvg::UnitTypes unitX=QtSvg::UnitTypes::userSpaceOnUse, QtSvg::UnitTypes unitY=QtSvg::UnitTypes::userSpaceOnUse, QtSvg::UnitTypes unitW=QtSvg::UnitTypes::userSpaceOnUse, QtSvg::UnitTypes unitH=QtSvg::UnitTypes::userSpaceOnUse)
void setUnitY(QtSvg::UnitTypes unit)
QtSvg::UnitTypes unitX() const
void setUnitX(QtSvg::UnitTypes unit)
QRectF combinedWithLocalRect(const QRectF &localRect) const
QPointF translationRelativeToBoundingBox(const QRectF &boundingBox) const
QtSvg::UnitTypes unitW() const
QRectF combinedWithLocalRect(const QRectF &localRect, const QRectF &canvasRect, QtSvg::UnitTypes units) const
void setUnitH(QtSvg::UnitTypes unit)
QtSvg::UnitTypes unitY() const
void setUnitW(QtSvg::UnitTypes unit)
Combined button and popup list for selecting options.
GLint GLint GLint GLint GLint x
[0]
GLint GLsizei GLsizei height