File: QwtClipper.3

package info (click to toggle)
qwt 6.1.2-6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 23,848 kB
  • ctags: 15,811
  • sloc: cpp: 57,382; makefile: 41
file content (112 lines) | stat: -rw-r--r-- 2,584 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
.TH "QwtClipper" 3 "Thu Dec 11 2014" "Version 6.1.2" "Qwt User's Guide" \" -*- nroff -*-
.ad l
.nh
.SH NAME
QwtClipper \- 
.PP
Some clipping algorithms\&.  

.SH SYNOPSIS
.br
.PP
.PP
\fC#include <qwt_clipper\&.h>\fP
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "static QPolygon \fBclipPolygon\fP (const QRect &, const QPolygon &, bool closePolygon=false)"
.br
.ti -1c
.RI "static QPolygon \fBclipPolygon\fP (const QRectF &, const QPolygon &, bool closePolygon=false)"
.br
.ti -1c
.RI "static QPolygonF \fBclipPolygonF\fP (const QRectF &, const QPolygonF &, bool closePolygon=false)"
.br
.ti -1c
.RI "static QVector< \fBQwtInterval\fP > \fBclipCircle\fP (const QRectF &, const QPointF &, double radius)"
.br
.in -1c
.SH "Detailed Description"
.PP 
Some clipping algorithms\&. 
.SH "Member Function Documentation"
.PP 
.SS "QVector< \fBQwtInterval\fP > QwtClipper::clipCircle (const QRectF &clipRect, const QPointF &center, doubleradius)\fC [static]\fP"
Circle clipping
.PP
\fBclipCircle()\fP 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\&.
.PP
\fBParameters:\fP
.RS 4
\fIclipRect\fP Clip rectangle 
.br
\fIcenter\fP Center of the circle 
.br
\fIradius\fP Radius of the circle
.RE
.PP
\fBReturns:\fP
.RS 4
Arcs of the circle 
.RE
.PP

.SS "QPolygon QwtClipper::clipPolygon (const QRect &clipRect, const QPolygon &polygon, boolclosePolygon = \fCfalse\fP)\fC [static]\fP"
Sutherland-Hodgman polygon clipping
.PP
\fBParameters:\fP
.RS 4
\fIclipRect\fP Clip rectangle 
.br
\fIpolygon\fP Polygon 
.br
\fIclosePolygon\fP True, when the polygon is closed
.RE
.PP
\fBReturns:\fP
.RS 4
Clipped polygon 
.RE
.PP

.SS "QPolygon QwtClipper::clipPolygon (const QRectF &clipRect, const QPolygon &polygon, boolclosePolygon = \fCfalse\fP)\fC [static]\fP"
Sutherland-Hodgman polygon clipping
.PP
\fBParameters:\fP
.RS 4
\fIclipRect\fP Clip rectangle 
.br
\fIpolygon\fP Polygon 
.br
\fIclosePolygon\fP True, when the polygon is closed
.RE
.PP
\fBReturns:\fP
.RS 4
Clipped polygon 
.RE
.PP

.SS "QPolygonF QwtClipper::clipPolygonF (const QRectF &clipRect, const QPolygonF &polygon, boolclosePolygon = \fCfalse\fP)\fC [static]\fP"
Sutherland-Hodgman polygon clipping
.PP
\fBParameters:\fP
.RS 4
\fIclipRect\fP Clip rectangle 
.br
\fIpolygon\fP Polygon 
.br
\fIclosePolygon\fP True, when the polygon is closed
.RE
.PP
\fBReturns:\fP
.RS 4
Clipped polygon 
.RE
.PP


.SH "Author"
.PP 
Generated automatically by Doxygen for Qwt User's Guide from the source code\&.