|
QWT API (中文) 7.3.0
Qt绘图库 - 中文API文档
|
Namespace for clipping algorithms 更多...
函数 | |
| QWTCORE_EXPORT void | clipPolygon (const QRect &, QPolygon &, bool closePolygon=false) |
| Sutherland-Hodgman polygon clipping algorithm (integer coordinates) | |
| QWTCORE_EXPORT void | clipPolygon (const QRectF &, QPolygon &, bool closePolygon=false) |
| Sutherland-Hodgman polygon clipping algorithm | |
| QWTCORE_EXPORT void | clipPolygonF (const QRectF &, QPolygonF &, bool closePolygon=false) |
| Sutherland-Hodgman polygon clipping algorithm (float coordinates) | |
| QWTCORE_EXPORT QPolygon | clippedPolygon (const QRect &, const QPolygon &, bool closePolygon=false) |
| Return clipped polygon (integer rectangle) | |
| QWTCORE_EXPORT QPolygon | clippedPolygon (const QRectF &, const QPolygon &, bool closePolygon=false) |
| Return clipped polygon (float rectangle) | |
| QWTCORE_EXPORT QPolygonF | clippedPolygonF (const QRectF &, const QPolygonF &, bool closePolygon=false) |
| Return clipped float polygon | |
| QWTCORE_EXPORT QVector< QwtInterval > | clipCircle (const QRectF &, const QPointF &, double radius) |
| Clip circle and return arcs as intervals | |
Namespace for clipping algorithms
| QVector< QwtInterval > QwtClipper::clipCircle | ( | const QRectF & | clipRect, |
| const QPointF & | center, | ||
| double | radius | ||
| ) |
Clip circle and return arcs as intervals
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π] is returned.
| clipRect | Clip rectangle |
| center | Center of the circle |
| radius | Radius of the circle |
| QPolygon QwtClipper::clippedPolygon | ( | const QRect & | clipRect, |
| const QPolygon & | polygon, | ||
| bool | closePolygon = false |
||
| ) |
Return clipped polygon (integer rectangle)
| clipRect | Clip rectangle |
| polygon | Polygon to clip |
| closePolygon | True if the polygon is closed |
| QPolygon QwtClipper::clippedPolygon | ( | const QRectF & | clipRect, |
| const QPolygon & | polygon, | ||
| bool | closePolygon = false |
||
| ) |
Return clipped polygon (float rectangle)
| clipRect | Clip rectangle |
| polygon | Polygon to clip |
| closePolygon | True if the polygon is closed |
| QPolygonF QwtClipper::clippedPolygonF | ( | const QRectF & | clipRect, |
| const QPolygonF & | polygon, | ||
| bool | closePolygon = false |
||
| ) |
Return clipped float polygon
| clipRect | Clip rectangle |
| polygon | Polygon to clip |
| closePolygon | True if the polygon is closed |
| void QwtClipper::clipPolygon | ( | const QRect & | clipRect, |
| QPolygon & | polygon, | ||
| bool | closePolygon = false |
||
| ) |
Sutherland-Hodgman polygon clipping algorithm (integer coordinates)
| clipRect | Clip rectangle |
| polygon | Polygon to be clipped (modified in place) |
| closePolygon | True if the polygon is closed |
| void QwtClipper::clipPolygon | ( | const QRectF & | clipRect, |
| QPolygon & | polygon, | ||
| bool | closePolygon = false |
||
| ) |
Sutherland-Hodgman polygon clipping algorithm
| clipRect | Clip rectangle |
| polygon | Polygon to be clipped (modified in place) |
| closePolygon | True if the polygon is closed |
| void QwtClipper::clipPolygonF | ( | const QRectF & | clipRect, |
| QPolygonF & | polygon, | ||
| bool | closePolygon = false |
||
| ) |
Sutherland-Hodgman polygon clipping algorithm (float coordinates)
| clipRect | Clip rectangle |
| polygon | Polygon to be clipped (modified in place) |
| closePolygon | True if the polygon is closed |