#include <qquadpath_p.h>
|
| void | moveTo (const QVector2D &to) |
| void | lineTo (const QVector2D &to) |
| void | quadTo (const QVector2D &control, const QVector2D &to) |
| Element & | elementAt (int i) |
| const Element & | elementAt (int i) const |
| int | indexOfChildAt (int i, int childNumber) const |
| QRectF | controlPointRect () const |
| Qt::FillRule | fillRule () const |
| void | setFillRule (Qt::FillRule rule) |
| void | reserve (int size) |
| int | elementCount () const |
| bool | isEmpty () const |
| int | elementCountRecursive () const |
| QPainterPath | toPainterPath () const |
| QString | asSvgString () const |
| QQuadPath | subPathsClosed (bool *didClose=nullptr) const |
| void | addCurvatureData () |
| QQuadPath | flattened () const |
| QQuadPath | dashed (qreal lineWidth, const QList< qreal > &dashPattern, qreal dashOffset=0) const |
| void | splitElementAt (int index) |
| bool | contains (const QVector2D &point) const |
| bool | contains (const QVector2D &point, int fromIndex, int toIndex) const |
| Element::FillSide | fillSideOf (int elementIdx, float elementT) const |
| template<typename Func> |
| void | iterateChildrenOf (Element &e, Func &&lambda) |
| template<typename Func> |
| void | iterateChildrenOf (const Element &e, Func &&lambda) const |
| template<typename Func> |
| void | iterateElements (Func &&lambda) |
| template<typename Func> |
| void | iterateElements (Func &&lambda) const |
| bool | testHint (PathHint hint) const |
| void | setHint (PathHint hint, bool on=true) |
| PathHints | pathHints () const |
| void | setPathHints (PathHints newHints) |
Definition at line 27 of file qquadpath_p.h.
◆ PathHint
| Enumerator |
|---|
| PathLinear | |
| PathQuadratic | |
| PathConvex | |
| PathFillOnRight | |
| PathSolid | |
| PathNonIntersecting | |
| PathNonOverlappingControlPointTriangles | |
Definition at line 31 of file qquadpath_p.h.
◆ addCurvatureData()
| void QQuadPath::addCurvatureData |
( |
| ) |
|
◆ asSvgString()
| QString QQuadPath::asSvgString |
( |
| ) |
const |
◆ closestPointOnLine()
◆ contains() [1/2]
| bool QQuadPath::contains |
( |
const QVector2D & | point | ) |
const |
◆ contains() [2/2]
| bool QQuadPath::contains |
( |
const QVector2D & | point, |
|
|
int | fromIndex, |
|
|
int | toIndex ) const |
◆ controlPointRect()
| QRectF QQuadPath::controlPointRect |
( |
| ) |
const |
◆ dashed()
◆ elementAt() [1/2]
| Element & QQuadPath::elementAt |
( |
int | i | ) |
|
|
inline |
◆ elementAt() [2/2]
| const Element & QQuadPath::elementAt |
( |
int | i | ) |
const |
|
inline |
◆ elementCount()
| int QQuadPath::elementCount |
( |
| ) |
const |
|
inline |
◆ elementCountRecursive()
| int QQuadPath::elementCountRecursive |
( |
| ) |
const |
◆ fillRule()
◆ fillSideOf()
| QQuadPath::Element::FillSide QQuadPath::fillSideOf |
( |
int | elementIdx, |
|
|
float | elementT ) const |
◆ flattened()
◆ fromPainterPath()
◆ indexOfChildAt()
| int QQuadPath::indexOfChildAt |
( |
int | i, |
|
|
int | childNumber ) const |
|
inline |
◆ isEmpty()
| bool QQuadPath::isEmpty |
( |
| ) |
const |
|
inline |
◆ isPointNearLine()
◆ isPointOnLeft()
◆ isPointOnLine()
◆ iterateChildrenOf() [1/2]
template<typename Func>
| void QQuadPath::iterateChildrenOf |
( |
const Element & | e, |
|
|
Func && | lambda ) const |
|
inline |
◆ iterateChildrenOf() [2/2]
template<typename Func>
| void QQuadPath::iterateChildrenOf |
( |
Element & | e, |
|
|
Func && | lambda ) |
|
inline |
◆ iterateElements() [1/2]
template<typename Func>
| void QQuadPath::iterateElements |
( |
Func && | lambda | ) |
|
|
inline |
◆ iterateElements() [2/2]
template<typename Func>
| void QQuadPath::iterateElements |
( |
Func && | lambda | ) |
const |
|
inline |
◆ lineTo()
◆ moveTo()
◆ pathHints()
| PathHints QQuadPath::pathHints |
( |
| ) |
const |
|
inline |
◆ quadTo()
◆ reserve()
| void QQuadPath::reserve |
( |
int | size | ) |
|
|
inline |
◆ setFillRule()
◆ setHint()
◆ setPathHints()
| void QQuadPath::setPathHints |
( |
PathHints | newHints | ) |
|
|
inline |
◆ splitElementAt()
| void QQuadPath::splitElementAt |
( |
int | index | ) |
|
◆ subPathsClosed()
| QQuadPath QQuadPath::subPathsClosed |
( |
bool * | didClose = nullptr | ) |
const |
◆ testHint()
| bool QQuadPath::testHint |
( |
PathHint | hint | ) |
const |
|
inline |
◆ toPainterPath()
◆ operator<<
◆ QSGCurveProcessor
The documentation for this class was generated from the following files: