Qt 4.8
|
#include <qpathclipper_p.h>
Classes | |
struct | TraversalStatus |
Public Functions | |
int | addEdge (const QPointF &a, const QPointF &b) |
int | addEdge (int vertexA, int vertexB) |
int | addVertex (const QPointF &p) |
QPathEdge * | edge (int edge) |
const QPathEdge * | edge (int edge) const |
int | edgeCount () const |
bool | isInside (qreal x, qreal y) const |
TraversalStatus | next (const TraversalStatus &status) const |
QWingedEdge () | |
QWingedEdge (const QPainterPath &subject, const QPainterPath &clip) | |
void | simplify () |
QPainterPath | toPath () const |
QPathVertex * | vertex (int vertex) |
const QPathVertex * | vertex (int vertex) const |
int | vertexCount () const |
Static Public Functions | |
static QPathEdge::Traversal | flip (QPathEdge::Traversal traversal) |
static QPathEdge::Direction | flip (QPathEdge::Direction direction) |
Private Functions | |
qreal | delta (int vertex, int a, int b) const |
TraversalStatus | findInsertStatus (int vertex, int edge) const |
int | insert (const QPathVertex &vertex) |
void | intersectAndAdd () |
void | printNode (int i, FILE *handle) |
void | removeEdge (int ei) |
Properties | |
QDataBuffer< QPathEdge > | m_edges |
QPathSegments | m_segments |
QVector< qreal > | m_splitPoints |
QDataBuffer< QPathVertex > | m_vertices |
Definition at line 232 of file qpathclipper_p.h.
QWingedEdge::QWingedEdge | ( | ) |
Definition at line 863 of file qpathclipper.cpp.
QWingedEdge::QWingedEdge | ( | const QPainterPath & | subject, |
const QPainterPath & | clip | ||
) |
Definition at line 870 of file qpathclipper.cpp.
Definition at line 1203 of file qpathclipper.cpp.
int QWingedEdge::addEdge | ( | int | vertexA, |
int | vertexB | ||
) |
Definition at line 1211 of file qpathclipper.cpp.
|
inline |
Definition at line 464 of file qpathclipper_p.h.
|
private |
Definition at line 1017 of file qpathclipper.cpp.
Referenced by findInsertStatus().
|
inline |
Definition at line 449 of file qpathclipper_p.h.
Referenced by add(), addEdge(), clear(), commonEdge(), delta(), QPathClipper::doClip(), findCrossings(), findInsertStatus(), QPathClipper::handleCrossingEdges(), midPoint(), next(), removeEdge(), simplify(), toPath(), and traverse().
|
inline |
Definition at line 454 of file qpathclipper_p.h.
|
inline |
Definition at line 444 of file qpathclipper_p.h.
Referenced by QPathClipper::doClip(), findCrossings(), simplify(), and toPath().
|
private |
Definition at line 1051 of file qpathclipper.cpp.
Referenced by addEdge().
|
inlinestatic |
Definition at line 480 of file qpathclipper_p.h.
Referenced by QWingedEdge::TraversalStatus::flipDirection(), and QWingedEdge::TraversalStatus::flipTraversal().
|
inlinestatic |
Definition at line 485 of file qpathclipper_p.h.
|
private |
Definition at line 1288 of file qpathclipper.cpp.
Referenced by addEdge().
|
private |
Definition at line 802 of file qpathclipper.cpp.
Referenced by QWingedEdge().
Definition at line 1795 of file qpathclipper.cpp.
QWingedEdge::TraversalStatus QWingedEdge::next | ( | const TraversalStatus & | status | ) | const |
Definition at line 881 of file qpathclipper.cpp.
Referenced by add(), addEdge(), clear(), commonEdge(), findInsertStatus(), removeEdge(), and traverse().
|
private |
|
private |
Definition at line 1106 of file qpathclipper.cpp.
Referenced by simplify().
void QWingedEdge::simplify | ( | ) |
Definition at line 1352 of file qpathclipper.cpp.
Referenced by QPathClipper::doClip().
QPainterPath QWingedEdge::toPath | ( | ) | const |
Definition at line 1367 of file qpathclipper.cpp.
Referenced by QPathClipper::clip().
|
inline |
Definition at line 470 of file qpathclipper_p.h.
Referenced by add(), addEdge(), commonEdge(), QPathClipper::doClip(), findCrossings(), findInsertStatus(), QPathClipper::handleCrossingEdges(), insert(), midPoint(), and removeEdge().
|
inline |
Definition at line 475 of file qpathclipper_p.h.
|
inline |
|
private |
Definition at line 287 of file qpathclipper_p.h.
Referenced by addEdge().
|
private |
Definition at line 292 of file qpathclipper_p.h.
Referenced by QPathSegments::addPath(), QWingedEdge(), and QPathSegments::setPath().
Definition at line 290 of file qpathclipper_p.h.
|
private |
Definition at line 288 of file qpathclipper_p.h.
Referenced by insert().