![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qclipperutils_p.h>
Public Types | |
| enum | Operation { Union , Intersection , Difference , Xor } |
| enum | PolyFillType { pftEvenOdd , pftNonZero , pftPositive , pftNegative } |
Public Member Functions | |
| QClipperUtils () | |
| QClipperUtils (const QClipperUtils &other) | |
| ~QClipperUtils () | |
| void | clearClipper () |
| void | addSubjectPath (const QList< QDoubleVector2D > &path, bool closed) |
| void | addClipPolygon (const QList< QDoubleVector2D > &path) |
| QList< QList< QDoubleVector2D > > | execute (Operation op, PolyFillType subjFillType=pftNonZero, PolyFillType clipFillType=pftNonZero) |
| void | setPolygon (const QList< QDoubleVector2D > &polygon) |
| int | pointInPolygon (const QDoubleVector2D &point) const |
Static Public Member Functions | |
| static double | clipperScaleFactor () |
| static int | pointInPolygon (const QDoubleVector2D &point, const QList< QDoubleVector2D > &polygon) |
Definition at line 40 of file qclipperutils_p.h.
| Enumerator | |
|---|---|
| Union | |
| Intersection | |
| Difference | |
| Xor | |
Definition at line 48 of file qclipperutils_p.h.
| Enumerator | |
|---|---|
| pftEvenOdd | |
| pftNonZero | |
| pftPositive | |
| pftNegative | |
Definition at line 56 of file qclipperutils_p.h.
| QClipperUtils::QClipperUtils | ( | ) |
Definition at line 58 of file qclipperutils.cpp.
| QClipperUtils::QClipperUtils | ( | const QClipperUtils & | other | ) |
Definition at line 62 of file qclipperutils.cpp.
| QClipperUtils::~QClipperUtils | ( | ) |
Definition at line 67 of file qclipperutils.cpp.
| void QClipperUtils::addClipPolygon | ( | const QList< QDoubleVector2D > & | path | ) |
Definition at line 94 of file qclipperutils.cpp.
| void QClipperUtils::addSubjectPath | ( | const QList< QDoubleVector2D > & | path, |
| bool | closed ) |
Definition at line 89 of file qclipperutils.cpp.
| void QClipperUtils::clearClipper | ( | ) |
Definition at line 84 of file qclipperutils.cpp.
|
static |
Definition at line 72 of file qclipperutils.cpp.
| QList< QList< QDoubleVector2D > > QClipperUtils::execute | ( | Operation | op, |
| PolyFillType | subjFillType = pftNonZero, | ||
| PolyFillType | clipFillType = pftNonZero ) |
Definition at line 99 of file qclipperutils.cpp.
| int QClipperUtils::pointInPolygon | ( | const QDoubleVector2D & | point | ) | const |
Definition at line 114 of file qclipperutils.cpp.
|
static |
Definition at line 77 of file qclipperutils.cpp.
| void QClipperUtils::setPolygon | ( | const QList< QDoubleVector2D > & | polygon | ) |
Definition at line 109 of file qclipperutils.cpp.