#include <qwt_rect.h>
Public Member Functions | |
| QwtRect () | |
| Constructor. | |
| QwtRect (const QRect &r) | |
| Copy constructor. | |
| QwtPolygon | clip (const QwtPolygon &) const |
| Sutherland-Hodgman polygon clipping. | |
Some extensions for QRect
Definition at line 22 of file qwt_rect.h.
| QwtRect::QwtRect | ( | ) |
| QwtRect::QwtRect | ( | const QRect & | r ) |
| QwtPolygon QwtRect::clip | ( | const QwtPolygon & | pa ) | const |
Sutherland-Hodgman polygon clipping.
Definition at line 26 of file qwt_rect.cpp.
References QwtClipper::clipPolygon().
{
return QwtClipper::clipPolygon(*this, pa);
}
1.7.2