Changeset 11158 in ntrip for trunk/BNC/qwt/qwt_clipper.h
- Timestamp:
- Nov 3, 2026, 10:53:35 AM (4 weeks ago)
- File:
-
- 1 edited
-
trunk/BNC/qwt/qwt_clipper.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/qwt/qwt_clipper.h
r9383 r11158 1 /* -*- mode: C++ ; c-file-style: "stroustrup" -*-*****************************1 /****************************************************************************** 2 2 * Qwt Widget Library 3 3 * Copyright (C) 1997 Josef Wilgen … … 12 12 13 13 #include "qwt_global.h" 14 #include "qwt_interval.h"15 #include <qpolygon.h>16 #include <qvector.h>17 14 15 class QwtInterval; 16 class QPointF; 18 17 class QRect; 19 18 class QRectF; 19 class QPolygon; 20 class QPolygonF; 21 22 #if QT_VERSION < 0x060000 23 template< typename T > class QVector; 24 #endif 20 25 21 26 /*! 22 \brief Some clipping algorithms 23 */ 27 \brief Some clipping algorithms 28 */ 24 29 25 class QWT_EXPORTQwtClipper30 namespace QwtClipper 26 31 { 27 public: 28 static QPolygon clipPolygon( const QRect &, 29 const QPolygon &, bool closePolygon = false ); 30 static QPolygon clipPolygon( const QRectF &, 31 const QPolygon &, bool closePolygon = false ); 32 QWT_EXPORT void clipPolygon( const QRect&, 33 QPolygon&, bool closePolygon = false ); 32 34 33 static QPolygonFclipPolygonF( const QRectF&,34 const QPolygonF&, bool closePolygon = false );35 QWT_EXPORT void clipPolygon( const QRectF&, 36 QPolygon&, bool closePolygon = false ); 35 37 36 static QVector<QwtInterval> clipCircle( 37 const QRectF &, const QPointF &, double radius ); 38 QWT_EXPORT void clipPolygonF( const QRectF&, 39 QPolygonF&, bool closePolygon = false ); 40 41 QWT_EXPORT QPolygon clippedPolygon( const QRect&, 42 const QPolygon&, bool closePolygon = false ); 43 44 QWT_EXPORT QPolygon clippedPolygon( const QRectF&, 45 const QPolygon&, bool closePolygon = false ); 46 47 QWT_EXPORT QPolygonF clippedPolygonF( const QRectF&, 48 const QPolygonF&, bool closePolygon = false ); 49 50 QWT_EXPORT QVector< QwtInterval > clipCircle( 51 const QRectF&, const QPointF&, double radius ); 38 52 }; 39 53
Note:
See TracChangeset
for help on using the changeset viewer.
