![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qpathclipper_p.h>
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.
References QPathSegments().
Referenced by QPathSegments().
|
inline |
Definition at line 373 of file qpathclipper_p.h.
References QPathSegments::Segment::intersection, and QPathSegments::Intersection::next.
void QPathSegments::addPath | ( | const QPainterPath & | path | ) |
Definition at line 882 of file qpathclipper.cpp.
|
inline |
Definition at line 332 of file qpathclipper_p.h.
|
inline |
Definition at line 349 of file qpathclipper_p.h.
|
inline |
Definition at line 359 of file qpathclipper_p.h.
|
inline |
Definition at line 368 of file qpathclipper_p.h.
|
inline |
Definition at line 343 of file qpathclipper_p.h.
void QPathSegments::mergePoints | ( | ) |
Definition at line 725 of file qpathclipper.cpp.
References QKdPointFinder::QKdPointFinder(), QKdPointTree::QKdPointTree(), points(), QKdPointFinder::result(), and QKdPointTree::rootNode().
|
inline |
Definition at line 354 of file qpathclipper_p.h.
|
inline |
Definition at line 327 of file qpathclipper_p.h.
|
inline |
Definition at line 322 of file qpathclipper_p.h.
Referenced by mergePoints().
|
inline |
Definition at line 338 of file qpathclipper_p.h.
|
inline |
Definition at line 317 of file qpathclipper_p.h.
Referenced by QIntersectionFinder::hasIntersections(), and QIntersectionFinder::produceIntersections().
void QPathSegments::setPath | ( | const QPainterPath & | path | ) |
Definition at line 871 of file qpathclipper.cpp.
|
friend |
Definition at line 124 of file qpathclipper_p.h.
Definition at line 124 of file qpathclipper_p.h.