37 return QPointF(
r.x() +
r.width()/2 + mag * (
r.width()/2) *
qCos(theta),
38 r.y() +
r.height()/2 + mag * (
r.height()/2) *
qSin(theta));
49 return (xa * xa + yb * yb) < 0.25;
54#include "moc_qquickellipseextruder_p.cpp"
\inmodule QtCore\reentrant
QQuickEllipseExtruder(QObject *parent=nullptr)
\qmltype EllipseShape \instantiates QQuickEllipseExtruder \inqmlmodule QtQuick.Particles\inherits Sha...
bool contains(const QRectF &bounds, const QPointF &point) override
QPointF extrude(const QRectF &) override
\qmlproperty bool QtQuick.Particles::EllipseShape::fill If fill is true the ellipse is filled; otherw...
static Q_DECL_CONST_FUNCTION QRandomGenerator * global()
\threadsafe
\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.
bool contains(const QRectF &r) const noexcept
This is an overloaded member function, provided for convenience. It differs from the above function o...
constexpr QPointF center() const noexcept
Returns the center point of the rectangle.
Combined button and popup list for selecting options.