qwt_clipper.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Qwt Widget Library
3  * Copyright (C) 1997 Josef Wilgen
4  * Copyright (C) 2002 Uwe Rathmann
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the Qwt License, Version 1.0
8  *****************************************************************************/
9 
10 #ifndef QWT_CLIPPER_H
11 #define QWT_CLIPPER_H
12 
13 #include "qwt_global.h"
14 
15 class QwtInterval;
16 class QPointF;
17 class QRect;
18 class QRectF;
19 class QPolygon;
20 class QPolygonF;
21 
22 #if QT_VERSION < 0x060000
23 template< typename T > class QVector;
24 #endif
25 
30 namespace QwtClipper
31 {
32  QWT_EXPORT void clipPolygon( const QRect&,
33  QPolygon&, bool closePolygon = false );
34 
35  QWT_EXPORT void clipPolygon( const QRectF&,
36  QPolygon&, bool closePolygon = false );
37 
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 
51  const QRectF&, const QPointF&, double radius );
52 };
53 
54 #endif
QwtClipper::clipCircle
QWT_EXPORT QVector< QwtInterval > clipCircle(const QRectF &, const QPointF &, double radius)
Definition: qwt_clipper.cpp:477
QVector
Definition: qwt_clipper.h:23
qwt_global.h
QwtInterval
A class representing an interval.
Definition: qwt_interval.h:22
QwtClipper::clipPolygonF
QWT_EXPORT void clipPolygonF(const QRectF &, QPolygonF &, bool closePolygon=false)
Definition: qwt_clipper.cpp:404
QwtClipper::clipPolygon
QWT_EXPORT void clipPolygon(const QRect &, QPolygon &, bool closePolygon=false)
Definition: qwt_clipper.cpp:390
QwtClipper::clippedPolygonF
QWT_EXPORT QPolygonF clippedPolygonF(const QRectF &, const QPolygonF &, bool closePolygon=false)
Definition: qwt_clipper.cpp:455
QWT_EXPORT
#define QWT_EXPORT
Definition: qwt_global.h:38
QwtClipper
Some clipping algorithms.
Definition: qwt_clipper.h:30
QwtClipper::clippedPolygon
QWT_EXPORT QPolygon clippedPolygon(const QRect &, const QPolygon &, bool closePolygon=false)
Definition: qwt_clipper.cpp:437


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:24