![]() |
Qt 6.x
The Qt SDK
|
#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(), QDataBuffer< Type >::at(), QDataBuffer< Type >::data(), i, QPolygonClipper< InType, OutType, CastType >::intersectBottom(), QPolygonClipper< InType, OutType, CastType >::intersectLeft(), QPolygonClipper< InType, OutType, CastType >::intersectRight(), QPolygonClipper< InType, OutType, CastType >::intersectTop(), Q_ASSERT, QDataBuffer< Type >::reset(), and QDataBuffer< Type >::size().
|
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().