QPainterPath::Element Class | Qt GUI (original) (raw)
class QPainterPath::Element
The QPainterPath::Element class specifies the position and type of a subpath. More...
Public Functions
Public Variables
QPainterPath::ElementType | type |
---|---|
qreal | x |
qreal | y |
See also QPainterPath.
Member Function Documentation
bool Element::isCurveTo() const
Returns true
if the element is a curve, otherwise returns false
.
See also type and QPainterPath::CurveToElement.
bool Element::isLineTo() const
Returns true
if the element is a line, otherwise returns false
.
See also type and QPainterPath::LineToElement.
bool Element::isMoveTo() const
Returns true
if the element is moving the current position, otherwise returns false
.
See also type and QPainterPath::MoveToElement.
QPointF Element::operator QPointF() const
Returns the element's position.
bool Element::operator!=(const QPainterPath::Element &other) const
Returns true
if this element is not equal to other; otherwise returns false
.
See also operator==().
bool Element::operator==(const QPainterPath::Element &other) const
Returns true
if this element is equal to other; otherwise returns false
.
See also operator!=().
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.