QwtClipper(3) | Qwt User's Guide | QwtClipper(3) |
QwtClipper - Some clipping algorithms.
#include <qwt_clipper.h>
static QPolygon clipPolygon (const QRect &, const
QPolygon &, bool closePolygon=false)
static QPolygon clipPolygon (const QRectF &, const QPolygon &,
bool closePolygon=false)
static QPolygonF clipPolygonF (const QRectF &, const QPolygonF
&, bool closePolygon=false)
static QVector< QwtInterval > clipCircle (const QRectF
&, const QPointF &, double radius)
Some clipping algorithms.
Circle clipping
clipCircle() divides a circle into intervals of angles representing arcs of the circle. When the circle is completely inside the clip rectangle an interval [0.0, 2 * M_PI] is returned.
Parameters:
Returns:
Sutherland-Hodgman polygon clipping
Parameters:
Returns:
Sutherland-Hodgman polygon clipping
Parameters:
Returns:
Sutherland-Hodgman polygon clipping
Parameters:
Returns:
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Wed Jan 2 2019 | Version 6.1.4 |