table of contents
QwtClipper(3) | Qwt User's Guide | QwtClipper(3) |
NAME¶
QwtClipper -
SYNOPSIS¶
#include <qwt_clipper.h>
Static Public Member Functions¶
static QwtArray
< QwtDoubleInterval > clipCircle (const QwtDoubleRect
&, const QwtDoublePoint &, double radius)"
static QwtPolygon clipPolygon (const QRect &, const QwtPolygon
&)
static QwtPolygonF clipPolygonF (const QwtDoubleRect &, const
QwtPolygonF &)
Detailed Description¶
Some clipping algos.
Member Function Documentation¶
QwtArray< QwtDoubleInterval > QwtClipper::clipCircle (const QwtDoubleRect &clipRect, const QwtDoublePoint ¢er, doubleradius) [static]¶
Circle clipping
clipCircle() devides 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:
center Center of the circle
radius Radius of the circle
Returns:
QwtPolygon QwtClipper::clipPolygon (const QRect &clipRect, const QwtPolygon &polygon) [static]¶
Sutherland-Hodgman polygon clipping
Parameters:
polygon Polygon
Returns:
QwtPolygonF QwtClipper::clipPolygonF (const QwtDoubleRect &clipRect, const QwtPolygonF &polygon) [static]¶
Sutherland-Hodgman polygon clipping
Parameters:
polygon Polygon
Returns:
Author¶
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Tue Nov 20 2012 | Version 5.2.3 |