![]() |
Qt 6.x
The Qt SDK
|
#include <qpathclipper_p.h>
Collaboration diagram for QPathSegments:Classes | |
| struct | Intersection |
| struct | Segment |
Public Member Functions | |
| QPathSegments (int reserve) | |
| void | setPath (const QPainterPath &path) |
| void | addPath (const QPainterPath &path) |
| int | intersections () const |
| int | segments () const |
| int | points () const |
| const Segment & | segmentAt (int index) const |
| const QLineF | lineAt (int index) const |
| const QRectF & | elementBounds (int index) const |
| int | pathId (int index) const |
| const QPointF & | pointAt (int vertex) const |
| int | addPoint (const QPointF &point) |
| const Intersection * | intersectionAt (int index) const |
| void | addIntersection (int index, const Intersection &intersection) |
| void | mergePoints () |
Friends | |
| class | QTypeInfo< Intersection > |
| class | QTypeInfo< Segment > |
Definition at line 128 of file qpathclipper_p.h.
|
inline |
Definition at line 309 of file qpathclipper_p.h.
|
inline |
Definition at line 373 of file qpathclipper_p.h.
References QDataBuffer< Type >::at(), QDataBuffer< Type >::data(), QPathSegments::Intersection::next, and QDataBuffer< Type >::size().
Here is the call graph for this function:| void QPathSegments::addPath | ( | const QPainterPath & | path | ) |
Definition at line 881 of file qpathclipper.cpp.
References QDataBuffer< Type >::at(), QBezier::bounds(), comparePoints(), QPainterPath::CurveToElement, QBezier::fromPoints(), QRectF::height(), i, isLine(), line, lineAt(), QPainterPath::LineToElement, QPainterPath::MoveToElement, QBezier::pointAt(), Q_ASSERT, qMax(), qSwap(), QDataBuffer< Type >::size(), and QRectF::width().
Referenced by QWingedEdge::QWingedEdge(), and setPath().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 332 of file qpathclipper_p.h.
References QDataBuffer< Type >::size().
Here is the call graph for this function:
|
inline |
Definition at line 349 of file qpathclipper_p.h.
|
inline |
Definition at line 359 of file qpathclipper_p.h.
References QDataBuffer< Type >::at().
Here is the call graph for this function:
|
inline |
Definition at line 368 of file qpathclipper_p.h.
References QDataBuffer< Type >::size().
Here is the call graph for this function:
|
inline |
Definition at line 343 of file qpathclipper_p.h.
References QDataBuffer< Type >::at().
Referenced by addPath().
Here is the call graph for this function:
Here is the caller graph for this function:| void QPathSegments::mergePoints | ( | ) |
Definition at line 724 of file qpathclipper.cpp.
References QDataBuffer< Type >::at(), i, points(), Q_ASSERT, QT_PREPEND_NAMESPACE(), QKdPointFinder::result(), QKdPointTree::rootNode(), QDataBuffer< Type >::size(), QDataBuffer< Type >::swap(), and QPathSegments::Intersection::vertex.
Here is the call graph for this function:
|
inline |
Definition at line 354 of file qpathclipper_p.h.
|
inline |
Definition at line 327 of file qpathclipper_p.h.
References QDataBuffer< Type >::at(), and i.
Referenced by QKdPointTree::build(), and QKdPointFinder::operator()().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 322 of file qpathclipper_p.h.
References QDataBuffer< Type >::size().
Referenced by QKdPointTree::QKdPointTree(), and mergePoints().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 338 of file qpathclipper_p.h.
|
inline |
Definition at line 317 of file qpathclipper_p.h.
| void QPathSegments::setPath | ( | const QPainterPath & | path | ) |
Definition at line 870 of file qpathclipper.cpp.
References addPath(), and QDataBuffer< Type >::reset().
Referenced by QWingedEdge::QWingedEdge().
Here is the call graph for this function:
Here is the caller graph for this function:
|
friend |
Definition at line 124 of file qpathclipper_p.h.
Definition at line 124 of file qpathclipper_p.h.