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 <qpathclipper_p.h>
Classes | |
struct | TraversalStatus |
Public Member Functions | |
QWingedEdge () | |
QWingedEdge (const QPainterPath &subject, const QPainterPath &clip) | |
void | simplify () |
QPainterPath | toPath () const |
int | edgeCount () const |
QPathEdge * | edge (int edge) |
const QPathEdge * | edge (int edge) const |
int | vertexCount () const |
int | addVertex (const QPointF &p) |
QPathVertex * | vertex (int vertex) |
const QPathVertex * | vertex (int vertex) const |
TraversalStatus | next (const TraversalStatus &status) const |
int | addEdge (const QPointF &a, const QPointF &b) |
int | addEdge (int vertexA, int vertexB) |
bool | isInside (qreal x, qreal y) const |
Static Public Member Functions | |
static QPathEdge::Traversal | flip (QPathEdge::Traversal traversal) |
static QPathEdge::Direction | flip (QPathEdge::Direction direction) |
Definition at line 197 of file qpathclipper_p.h.
QWingedEdge::QWingedEdge | ( | ) |
Definition at line 818 of file qpathclipper.cpp.
QWingedEdge::QWingedEdge | ( | const QPainterPath & | subject, |
const QPainterPath & | clip ) |
Definition at line 825 of file qpathclipper.cpp.
References QPathSegments::addPath(), and QPathSegments::setPath().
Definition at line 1148 of file qpathclipper.cpp.
References addEdge().
Referenced by addEdge().
int QWingedEdge::addEdge | ( | int | vertexA, |
int | vertexB ) |
Definition at line 1156 of file qpathclipper.cpp.
References QPathEdge::angle, QPathEdge::Backward, commonEdge(), computeAngle(), QPathVertex::edge, edge(), QPathEdge::Forward, fp, i, QPathEdge::invAngle, QPathEdge::LeftTraversal, QPathEdge::next(), next, Q_ASSERT, QPathEdge::RightTraversal, QPathEdge::setNext(), QDataBuffer< Type >::size(), sp, QPathEdge::vertex(), and vertex().
|
inline |
Definition at line 410 of file qpathclipper_p.h.
References QDataBuffer< Type >::size().
|
inline |
Definition at line 395 of file qpathclipper_p.h.
References QDataBuffer< Type >::at(), edge(), and nullptr.
Referenced by addEdge(), edge(), edge(), isInside(), next(), simplify(), and toPath().
|
inline |
Definition at line 400 of file qpathclipper_p.h.
References QDataBuffer< Type >::at(), edge(), and nullptr.
|
inline |
Definition at line 390 of file qpathclipper_p.h.
References QDataBuffer< Type >::size().
Referenced by isInside(), simplify(), and toPath().
|
inlinestatic |
Definition at line 436 of file qpathclipper_p.h.
References QPathEdge::Backward, direction, and QPathEdge::Forward.
|
inlinestatic |
Definition at line 426 of file qpathclipper_p.h.
References QPathEdge::LeftTraversal, and QPathEdge::RightTraversal.
Referenced by QWingedEdge::TraversalStatus::flipDirection(), and QWingedEdge::TraversalStatus::flipTraversal().
Definition at line 1721 of file qpathclipper.cpp.
References edge(), edgeCount(), QPathEdge::first, QPathEdge::flag, i, QPathEdge::second, and vertex().
QWingedEdge::TraversalStatus QWingedEdge::next | ( | const TraversalStatus & | status | ) | const |
Definition at line 836 of file qpathclipper.cpp.
References QWingedEdge::TraversalStatus::direction, QWingedEdge::TraversalStatus::edge, edge(), Q_ASSERT, sp, QWingedEdge::TraversalStatus::traversal, and QPathEdge::vertex().
void QWingedEdge::simplify | ( | ) |
Definition at line 1297 of file qpathclipper.cpp.
References edge(), edgeCount(), QPathEdge::flag, and i.
QPainterPath QWingedEdge::toPath | ( | ) | const |
Definition at line 1312 of file qpathclipper.cpp.
References add(), edge(), edgeCount(), QPathEdge::flag, i, QPathEdge::LeftTraversal, and QPathEdge::RightTraversal.
|
inline |
Definition at line 416 of file qpathclipper_p.h.
References QDataBuffer< Type >::at(), nullptr, and vertex().
Referenced by addEdge(), isInside(), vertex(), and vertex().
|
inline |
Definition at line 421 of file qpathclipper_p.h.
References QDataBuffer< Type >::at(), nullptr, and vertex().
|
inline |
Definition at line 405 of file qpathclipper_p.h.
References QDataBuffer< Type >::size().