![]() |
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 39 of file qclipperutils_p.h.
| Enumerator | |
|---|---|
| Union | |
| Intersection | |
| Difference | |
| Xor | |
Definition at line 47 of file qclipperutils_p.h.
| Enumerator | |
|---|---|
| pftEvenOdd | |
| pftNonZero | |
| pftPositive | |
| pftNegative | |
Definition at line 55 of file qclipperutils_p.h.
| QClipperUtils::QClipperUtils | ( | ) |
Definition at line 57 of file qclipperutils.cpp.
| QClipperUtils::QClipperUtils | ( | const QClipperUtils & | other | ) |
Definition at line 61 of file qclipperutils.cpp.
| QClipperUtils::~QClipperUtils | ( | ) |
Definition at line 66 of file qclipperutils.cpp.
| void QClipperUtils::addClipPolygon | ( | const QList< QDoubleVector2D > & | path | ) |
Definition at line 93 of file qclipperutils.cpp.
| void QClipperUtils::addSubjectPath | ( | const QList< QDoubleVector2D > & | path, |
| bool | closed ) |
Definition at line 88 of file qclipperutils.cpp.
| void QClipperUtils::clearClipper | ( | ) |
Definition at line 83 of file qclipperutils.cpp.
|
static |
Definition at line 71 of file qclipperutils.cpp.
| QList< QList< QDoubleVector2D > > QClipperUtils::execute | ( | Operation | op, |
| PolyFillType | subjFillType = pftNonZero, | ||
| PolyFillType | clipFillType = pftNonZero ) |
Definition at line 98 of file qclipperutils.cpp.
| int QClipperUtils::pointInPolygon | ( | const QDoubleVector2D & | point | ) | const |
Definition at line 113 of file qclipperutils.cpp.
|
static |
Definition at line 76 of file qclipperutils.cpp.
| void QClipperUtils::setPolygon | ( | const QList< QDoubleVector2D > & | polygon | ) |
Definition at line 108 of file qclipperutils.cpp.