~l3on/ubuntu/oneiric/qwt/fix-921430

« back to all changes in this revision

Viewing changes to qwt-5.0.1/doc/man/man3/QwtPlotSvgItem.3

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2007-10-05 15:20:41 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071005152041-qmybqh4fj9jejyo2
Tags: 5.0.2-2
* Handle nostrip build option. (Closes: #437877)
* Build libqwt5-doc package in binary-indep target. (Closes: #443110)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH "QwtPlotSvgItem" 3 "26 Feb 2007" "Version 5.0.1" "Qwt User's Guide" \" -*- nroff -*-
2
 
.ad l
3
 
.nh
4
 
.SH NAME
5
 
QwtPlotSvgItem \- 
6
 
.SH SYNOPSIS
7
 
.br
8
 
.PP
9
 
Inherits \fBQwtPlotItem\fP.
10
 
.PP
11
 
.SH "Detailed Description"
12
 
.PP 
13
 
A plot item, which displays data in Scalable Vector Graphics (SVG) format. 
14
 
 
15
 
SVG images are often used to display maps 
16
 
.PP
17
 
Definition at line 31 of file qwt_plot_svgitem.h.
18
 
.SS "Public Member Functions"
19
 
 
20
 
.in +1c
21
 
.ti -1c
22
 
.RI "\fBQwtPlotSvgItem\fP (const QString &title=QString::null)"
23
 
.br
24
 
.ti -1c
25
 
.RI "\fBQwtPlotSvgItem\fP (const \fBQwtText\fP &title)"
26
 
.br
27
 
.ti -1c
28
 
.RI "virtual \fB~QwtPlotSvgItem\fP ()"
29
 
.br
30
 
.ti -1c
31
 
.RI "bool \fBloadFile\fP (const QwtDoubleRect &, const QString &fileName)"
32
 
.br
33
 
.ti -1c
34
 
.RI "bool \fBloadData\fP (const QwtDoubleRect &, const QByteArray &)"
35
 
.br
36
 
.ti -1c
37
 
.RI "virtual QwtDoubleRect \fBboundingRect\fP () const "
38
 
.br
39
 
.ti -1c
40
 
.RI "virtual void \fBdraw\fP (QPainter *p, const \fBQwtScaleMap\fP &xMap, const \fBQwtScaleMap\fP &yMap, const QRect &rect) const "
41
 
.br
42
 
.ti -1c
43
 
.RI "virtual int \fBrtti\fP () const "
44
 
.br
45
 
.in -1c
46
 
.SS "Protected Member Functions"
47
 
 
48
 
.in +1c
49
 
.ti -1c
50
 
.RI "void \fBrender\fP (QPainter *painter, const QwtDoubleRect &viewBox, const QRect &rect) const "
51
 
.br
52
 
.ti -1c
53
 
.RI "QwtDoubleRect \fBviewBox\fP (const QwtDoubleRect &area) const "
54
 
.br
55
 
.in -1c
56
 
.SH "Constructor & Destructor Documentation"
57
 
.PP 
58
 
.SS "QwtPlotSvgItem::QwtPlotSvgItem (const QString & title = \fCQString::null\fP)\fC [explicit]\fP"
59
 
.PP
60
 
Constructor. 
61
 
.PP
62
 
Sets the following item attributes:
63
 
.IP "\(bu" 2
64
 
QwtPlotItem::AutoScale: true
65
 
.IP "\(bu" 2
66
 
QwtPlotItem::Legend: false
67
 
.PP
68
 
.PP
69
 
\fBParameters:\fP
70
 
.RS 4
71
 
\fItitle\fP Title 
72
 
.RE
73
 
.PP
74
 
 
75
 
.PP
76
 
Definition at line 51 of file qwt_plot_svgitem.cpp.
77
 
.SS "QwtPlotSvgItem::QwtPlotSvgItem (const \fBQwtText\fP & title)\fC [explicit]\fP"
78
 
.PP
79
 
Constructor. 
80
 
.PP
81
 
Sets the following item attributes:
82
 
.IP "\(bu" 2
83
 
QwtPlotItem::AutoScale: true
84
 
.IP "\(bu" 2
85
 
QwtPlotItem::Legend: false
86
 
.PP
87
 
.PP
88
 
\fBParameters:\fP
89
 
.RS 4
90
 
\fItitle\fP Title 
91
 
.RE
92
 
.PP
93
 
 
94
 
.PP
95
 
Definition at line 66 of file qwt_plot_svgitem.cpp.
96
 
.SS "QwtPlotSvgItem::~QwtPlotSvgItem ()\fC [virtual]\fP"
97
 
.PP
98
 
Destructor. 
99
 
.PP
100
 
Definition at line 73 of file qwt_plot_svgitem.cpp.
101
 
.SH "Member Function Documentation"
102
 
.PP 
103
 
.SS "QwtDoubleRect QwtPlotSvgItem::boundingRect () const\fC [virtual]\fP"
104
 
.PP
105
 
Bounding rect of the item. 
106
 
.PP
107
 
Reimplemented from \fBQwtPlotItem\fP.
108
 
.PP
109
 
Definition at line 142 of file qwt_plot_svgitem.cpp.
110
 
.PP
111
 
Referenced by draw(), and viewBox().
112
 
.SS "void QwtPlotSvgItem::draw (QPainter * painter, const \fBQwtScaleMap\fP & xMap, const \fBQwtScaleMap\fP & yMap, const QRect & canvasRect) const\fC [virtual]\fP"
113
 
.PP
114
 
Draw the SVG item
115
 
.PP
116
 
\fBParameters:\fP
117
 
.RS 4
118
 
\fIpainter\fP Painter 
119
 
.br
120
 
\fIxMap\fP X-Scale Map 
121
 
.br
122
 
\fIyMap\fP Y-Scale Map 
123
 
.br
124
 
\fIcanvasRect\fP Contents rect of the plot canvas 
125
 
.RE
126
 
.PP
127
 
 
128
 
.PP
129
 
Implements \fBQwtPlotItem\fP.
130
 
.PP
131
 
Definition at line 170 of file qwt_plot_svgitem.cpp.
132
 
.PP
133
 
References boundingRect(), QwtPlotItem::invTransform(), render(), QwtPlotItem::transform(), and viewBox().
134
 
.SS "bool QwtPlotSvgItem::loadData (const QwtDoubleRect & rect, const QByteArray & data)"
135
 
.PP
136
 
Load SVG data
137
 
.PP
138
 
\fBParameters:\fP
139
 
.RS 4
140
 
\fIrect\fP Bounding rectangle 
141
 
.br
142
 
\fIdata\fP in SVG format
143
 
.RE
144
 
.PP
145
 
\fBReturns:\fP
146
 
.RS 4
147
 
true, if the SVG data could be loaded 
148
 
.RE
149
 
.PP
150
 
 
151
 
.PP
152
 
Definition at line 123 of file qwt_plot_svgitem.cpp.
153
 
.PP
154
 
References QwtPlotItem::itemChanged().
155
 
.SS "bool QwtPlotSvgItem::loadFile (const QwtDoubleRect & rect, const QString & fileName)"
156
 
.PP
157
 
Load a SVG file
158
 
.PP
159
 
\fBParameters:\fP
160
 
.RS 4
161
 
\fIrect\fP Bounding rectangle 
162
 
.br
163
 
\fIfileName\fP SVG file name
164
 
.RE
165
 
.PP
166
 
\fBReturns:\fP
167
 
.RS 4
168
 
true, if the SVG file could be loaded 
169
 
.RE
170
 
.PP
171
 
 
172
 
.PP
173
 
Definition at line 102 of file qwt_plot_svgitem.cpp.
174
 
.PP
175
 
References QwtPlotItem::itemChanged().
176
 
.SS "void QwtPlotSvgItem::render (QPainter * painter, const QwtDoubleRect & viewBox, const QRect & rect) const\fC [protected]\fP"
177
 
.PP
178
 
Render the SVG data
179
 
.PP
180
 
\fBParameters:\fP
181
 
.RS 4
182
 
\fIpainter\fP Painter 
183
 
.br
184
 
\fIviewBox\fP View Box, see QSvgRenderer::viewBox 
185
 
.br
186
 
\fIrect\fP Traget rectangle on the paint device 
187
 
.RE
188
 
.PP
189
 
 
190
 
.PP
191
 
Definition at line 194 of file qwt_plot_svgitem.cpp.
192
 
.PP
193
 
Referenced by draw().
194
 
.SS "int QwtPlotSvgItem::rtti () const\fC [virtual]\fP"
195
 
.PP
196
 
\fBReturns:\fP
197
 
.RS 4
198
 
QwtPlotItem::Rtti_PlotSVG 
199
 
.RE
200
 
.PP
201
 
 
202
 
.PP
203
 
Reimplemented from \fBQwtPlotItem\fP.
204
 
.PP
205
 
Definition at line 89 of file qwt_plot_svgitem.cpp.
206
 
.SS "QwtDoubleRect QwtPlotSvgItem::viewBox (const QwtDoubleRect & rect) const\fC [protected]\fP"
207
 
.PP
208
 
Calculate the viewBox from an rect and \fBboundingRect()\fP.
209
 
.PP
210
 
\fBParameters:\fP
211
 
.RS 4
212
 
\fIrect\fP Rectangle in scale coordinates 
213
 
.RE
214
 
.PP
215
 
\fBReturns:\fP
216
 
.RS 4
217
 
viewBox View Box, see QSvgRenderer::viewBox 
218
 
.RE
219
 
.PP
220
 
 
221
 
.PP
222
 
Definition at line 254 of file qwt_plot_svgitem.cpp.
223
 
.PP
224
 
References boundingRect(), QwtScaleMap::setPaintInterval(), QwtScaleMap::setScaleInterval(), and QwtScaleMap::xTransform().
225
 
.PP
226
 
Referenced by draw().
227
 
 
228
 
.SH "Author"
229
 
.PP 
230
 
Generated automatically by Doxygen for Qwt User's Guide from the source code.