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 <qpolygonclipper_p.h>
Public Member Functions | |
QPolygonClipper () | |
~QPolygonClipper () | |
void | setBoundingRect (const QRect bounds) |
QRect | boundingRect () |
OutType | intersectLeft (const OutType &p1, const OutType &p2) |
OutType | intersectRight (const OutType &p1, const OutType &p2) |
OutType | intersectTop (const OutType &p1, const OutType &p2) |
OutType | intersectBottom (const OutType &p1, const OutType &p2) |
void | clipPolygon (const InType *inPoints, int inCount, OutType **outPoints, int *outCount, bool closePolygon=true) |
Definition at line 25 of file qpolygonclipper_p.h.
|
inline |
Definition at line 28 of file qpolygonclipper_p.h.
|
inline |
Definition at line 34 of file qpolygonclipper_p.h.
|
inline |
Definition at line 46 of file qpolygonclipper_p.h.
|
inline |
Definition at line 91 of file qpolygonclipper_p.h.
References QDataBuffer< Type >::add(), i, QPolygonClipper< InType, OutType, CastType >::intersectBottom(), QPolygonClipper< InType, OutType, CastType >::intersectLeft(), QPolygonClipper< InType, OutType, CastType >::intersectRight(), QPolygonClipper< InType, OutType, CastType >::intersectTop(), Q_ASSERT, and QDataBuffer< Type >::reset().
|
inline |
Definition at line 81 of file qpolygonclipper_p.h.
Referenced by QPolygonClipper< InType, OutType, CastType >::clipPolygon().
|
inline |
Definition at line 51 of file qpolygonclipper_p.h.
Referenced by QPolygonClipper< InType, OutType, CastType >::clipPolygon().
|
inline |
Definition at line 61 of file qpolygonclipper_p.h.
Referenced by QPolygonClipper< InType, OutType, CastType >::clipPolygon().
|
inline |
Definition at line 71 of file qpolygonclipper_p.h.
Referenced by QPolygonClipper< InType, OutType, CastType >::clipPolygon().
|
inline |
Definition at line 38 of file qpolygonclipper_p.h.
References QRect::height(), QRect::width(), QRect::x(), and QRect::y().