Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qquadpath_p.h>
Public Types | |
enum | CurvatureFlags : quint8 { CurvatureUndetermined = 0 , FillOnRight = 1 , Convex = 2 } |
enum | FillSide : quint8 { FillSideUndetermined = 0 , FillSideRight = 1 , FillSideLeft = 2 , FillSideBoth = 3 } |
Public Member Functions | |
Element () | |
Element (QVector2D s, QVector2D c, QVector2D e) | |
bool | isSubpathStart () const |
bool | isSubpathEnd () const |
bool | isLine () const |
bool | isConvex () const |
QVector2D | startPoint () const |
QVector2D | controlPoint () const |
QVector2D | endPoint () const |
QVector2D | midPoint () const |
QVector2D | referencePoint () const |
Element | segmentFromTo (float t0, float t1) const |
Element | reversed () const |
int | childCount () const |
int | indexOfChild (int childNumber) const |
QVector2D | pointAtFraction (float t) const |
QVector2D | tangentAtFraction (float t) const |
QVector2D | normalAtFraction (float t) const |
float | extent () const |
void | setAsConvex (bool isConvex) |
void | setFillOnRight (bool isFillOnRight) |
bool | isFillOnRight () const |
bool | isControlPointOnLeft () const |
Friends | |
class | QQuadPath |
Q_QUICK_EXPORT QDebug | operator<< (QDebug, const QQuadPath::Element &) |
Definition at line 42 of file qquadpath_p.h.
enum QQuadPath::Element::CurvatureFlags : quint8 |
Enumerator | |
---|---|
CurvatureUndetermined | |
FillOnRight | |
Convex |
Definition at line 159 of file qquadpath_p.h.
enum QQuadPath::Element::FillSide : quint8 |
Enumerator | |
---|---|
FillSideUndetermined | |
FillSideRight | |
FillSideLeft | |
FillSideBoth |
Definition at line 165 of file qquadpath_p.h.
|
inline |
Definition at line 45 of file qquadpath_p.h.
Definition at line 50 of file qquadpath_p.h.
|
inline |
Definition at line 113 of file qquadpath_p.h.
Referenced by QQuadPath::iterateChildrenOf(), QQuadPath::iterateChildrenOf(), QQuadPath::iterateElements(), and QQuadPath::iterateElements().
|
inline |
Definition at line 80 of file qquadpath_p.h.
Referenced by QQuadPath::contains(), QQuadPath::fillSideOf(), QSGCurveProcessor::findOverlappingCandidates(), printElement(), QSGCurveProcessor::processFill(), and QQuickVectorImageGenerator::Utils::toSvgString().
|
inline |
Definition at line 85 of file qquadpath_p.h.
Referenced by QQuadPath::contains(), QQuadPath::fillSideOf(), QSGCurveProcessor::findOverlappingCandidates(), printElement(), QSGCurveProcessor::processFill(), and QQuickVectorImageGenerator::Utils::toSvgString().
float QQuadPath::Element::extent | ( | ) | const |
Definition at line 236 of file qquadpath.cpp.
References extent(), isLine(), qMax(), qMin(), sp, QVector2D::x(), and QVector2D::y().
Referenced by extent().
|
inline |
Definition at line 115 of file qquadpath_p.h.
References Q_ASSERT.
|
inline |
Definition at line 154 of file qquadpath_p.h.
References sp.
|
inline |
Definition at line 70 of file qquadpath_p.h.
Referenced by printElement(), and QSGCurveProcessor::processFill().
|
inline |
Definition at line 152 of file qquadpath_p.h.
|
inline |
Definition at line 65 of file qquadpath_p.h.
Referenced by QQuadPath::dashed(), pointAtFraction(), printElement(), QSGCurveProcessor::processFill(), QSGCurveProcessor::processStroke(), and QQuickVectorImageGenerator::Utils::toSvgString().
|
inline |
Definition at line 60 of file qquadpath_p.h.
Referenced by printElement().
|
inline |
Definition at line 55 of file qquadpath_p.h.
Referenced by QQuadPath::dashed(), printElement(), QSGCurveProcessor::processFill(), and QQuickVectorImageGenerator::Utils::toSvgString().
|
inline |
Definition at line 90 of file qquadpath_p.h.
Referenced by QQuadPath::splitElementAt().
|
inline |
Definition at line 128 of file qquadpath_p.h.
QVector2D QQuadPath::Element::pointAtFraction | ( | float | t | ) | const |
Definition at line 195 of file qquadpath.cpp.
References isLine(), and pointAtFraction().
Referenced by QQuadPath::contains(), QQuadPath::fillSideOf(), and pointAtFraction().
|
inline |
QQuadPath::Element QQuadPath::Element::reversed | ( | ) | const |
Definition at line 227 of file qquadpath.cpp.
References reversed(), and sp.
Referenced by reversed().
QQuadPath::Element QQuadPath::Element::segmentFromTo | ( | float | t0, |
float | t1 ) const |
Definition at line 205 of file qquadpath.cpp.
References isLine(), segmentFromTo(), and t0.
Referenced by segmentFromTo().
|
inline |
Definition at line 136 of file qquadpath_p.h.
|
inline |
Definition at line 144 of file qquadpath_p.h.
|
inline |
Definition at line 75 of file qquadpath_p.h.
References sp.
Referenced by QQuadPath::contains(), QQuadPath::dashed(), QQuadPath::fillSideOf(), QSGCurveProcessor::findOverlappingCandidates(), printElement(), QSGCurveProcessor::processFill(), and QQuickVectorImageGenerator::Utils::toSvgString().
|
inline |
Definition at line 123 of file qquadpath_p.h.
Referenced by QQuadPath::contains(), and QQuadPath::fillSideOf().
|
friend |
Definition at line 923 of file qquadpath.cpp.
|
friend |
Definition at line 184 of file qquadpath_p.h.