![]() |
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"#include <private/qbezier_p.h>#include <private/qdatabuffer_p.h>#include <private/qnumeric_p.h>#include <qmath.h>#include <algorithm>#include <qdebug.h>Go to the source code of this file.
Classes | |
| struct | QIntersection |
| class | QIntersectionFinder |
| class | QKdPointTree |
| struct | QKdPointTree::Node |
| class | QKdPointFinder |
| struct | QCrossingEdge |
Functions | |
| static QT_BEGIN_NAMESPACE bool | fuzzyIsNull (qreal d) |
| static bool | comparePoints (const QPointF &aa, const QPointF &bb) |
| static qreal | dot (const QPointF &aa, const QPointF &bb) |
| static void | normalize (double &xx, double &yy) |
| Q_DECLARE_TYPEINFO (QIntersection, Q_PRIMITIVE_TYPE) | |
| template<typename T> | |
| void | qTraverseKdPointTree (QKdPointTree::Node &node, T &tt, int depthdepth=0) |
| static qreal | component (const QPointF &point, unsigned int i) |
| static bool | isLine (const QBezier &bezier) |
| static int | commonEdge (const QWingedEdge &list, int aa, int bb) |
| static double | computeAngle (const QPointF &vv) |
| static void | addLineTo (QPainterPath &pathpath, const QPointF &point) |
| static void | add (QPainterPath &pathpath, const QWingedEdge &list, int edge, QPathEdge::Traversal traversal) |
| static void | clear (QWingedEdge &list, int edge, QPathEdge::Traversal traversal) |
| template<typename InputIterator> | |
| InputIterator | qFuzzyFind (InputIterator firstfirst, InputIterator last, qreal valval) |
| static bool | fuzzyCompare (qreal aa, qreal bb) |
| static void | traverse (QWingedEdge &list, int edge, QPathEdge::Traversal traversal) |
| Q_DECLARE_TYPEINFO (QCrossingEdge, Q_PRIMITIVE_TYPE) | |
| static bool | bool_op (bool aa, bool bb, QPathClipper::Operation op) |
| static QList< QCrossingEdge > | findCrossings (const QWingedEdge &list, qreal yy) |
|
static |
Definition at line 1275 of file qpathclipper.cpp.
References QPathEdge::flag, QPathEdge::Forward, QPathEdge::LeftTraversal, and QPathEdge::vertex().
|
static |
Definition at line 1253 of file qpathclipper.cpp.
|
static |
Definition at line 1706 of file qpathclipper.cpp.
|
static |
Definition at line 1428 of file qpathclipper.cpp.
References QPathEdge::Forward, and QPathEdge::LeftTraversal.
|
static |
Definition at line 1092 of file qpathclipper.cpp.
References QPathVertex::edge, QPathEdge::first, QPathEdge::RightTraversal, and QPathEdge::second.
Definition at line 41 of file qpathclipper.cpp.
Definition at line 627 of file qpathclipper.cpp.
|
static |
Definition at line 1122 of file qpathclipper.cpp.
References normalize().
Definition at line 48 of file qpathclipper.cpp.
|
static |
Definition at line 1748 of file qpathclipper.cpp.
References QPathEdge::first, and QPathEdge::second.
Definition at line 1453 of file qpathclipper.cpp.
|
inlinestatic |
The algorithm is as follows:
(Optional) Simplify the resulting winged edge structure by merging shared edges.
Definition at line 33 of file qpathclipper.cpp.
|
static |
Definition at line 856 of file qpathclipper.cpp.
|
static |
Definition at line 53 of file qpathclipper.cpp.
Referenced by computeAngle().
| Q_DECLARE_TYPEINFO | ( | QCrossingEdge | , |
| Q_PRIMITIVE_TYPE | ) |
| Q_DECLARE_TYPEINFO | ( | QIntersection | , |
| Q_PRIMITIVE_TYPE | ) |
| InputIterator qFuzzyFind | ( | InputIterator | first, |
| InputIterator | last, | ||
| qreal | val ) |
Definition at line 1446 of file qpathclipper.cpp.
| void qTraverseKdPointTree | ( | QKdPointTree::Node & | node, |
| T & | t, | ||
| int | depth = 0 ) |
Definition at line 613 of file qpathclipper.cpp.
References QKdPointTree::Node::left, QKdPointTree::Node::right, QKdPointTree::TraverseBoth, QKdPointTree::TraverseLeft, and QKdPointTree::TraverseRight.
|
static |
Definition at line 1672 of file qpathclipper.cpp.
References QPathEdge::flag, QPathEdge::Forward, and QPathEdge::LeftTraversal.