~ubuntu-branches/ubuntu/oneiric/qwt/oneiric-proposed

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2008-05-26 10:26:31 UTC
  • mfrom: (1.1.3 upstream) (2.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080526102631-bp95mfccnrb957nx
Tags: 5.1.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH "QwtPlotSvgItem" 3 "24 May 2008" "Version 5.1.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 \fBQwtDoubleRect\fP &, const QString &fileName)"
 
32
.br
 
33
.ti -1c
 
34
.RI "bool \fBloadData\fP (const \fBQwtDoubleRect\fP &, const QByteArray &)"
 
35
.br
 
36
.ti -1c
 
37
.RI "virtual \fBQwtDoubleRect\fP \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 \fBQwtDoubleRect\fP &viewBox, const QRect &rect) const"
 
51
.br
 
52
.ti -1c
 
53
.RI "\fBQwtDoubleRect\fP \fBviewBox\fP (const \fBQwtDoubleRect\fP &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 "bool QwtPlotSvgItem::loadFile (const \fBQwtDoubleRect\fP & rect, const QString & fileName)"
 
104
.PP
 
105
Load a SVG file
 
106
.PP
 
107
\fBParameters:\fP
 
108
.RS 4
 
109
\fIrect\fP Bounding rectangle 
 
110
.br
 
111
\fIfileName\fP SVG file name
 
112
.RE
 
113
.PP
 
114
\fBReturns:\fP
 
115
.RS 4
 
116
true, if the SVG file could be loaded 
 
117
.RE
 
118
.PP
 
119
 
 
120
.PP
 
121
Definition at line 102 of file qwt_plot_svgitem.cpp.
 
122
.PP
 
123
References QwtPlotItem::itemChanged().
 
124
.SS "bool QwtPlotSvgItem::loadData (const \fBQwtDoubleRect\fP & rect, const QByteArray & data)"
 
125
.PP
 
126
Load SVG data
 
127
.PP
 
128
\fBParameters:\fP
 
129
.RS 4
 
130
\fIrect\fP Bounding rectangle 
 
131
.br
 
132
\fIdata\fP in SVG format
 
133
.RE
 
134
.PP
 
135
\fBReturns:\fP
 
136
.RS 4
 
137
true, if the SVG data could be loaded 
 
138
.RE
 
139
.PP
 
140
 
 
141
.PP
 
142
Definition at line 123 of file qwt_plot_svgitem.cpp.
 
143
.PP
 
144
References QwtPlotItem::itemChanged().
 
145
.SS "\fBQwtDoubleRect\fP QwtPlotSvgItem::boundingRect () const\fC [virtual]\fP"
 
146
.PP
 
147
Bounding rect of the item. 
 
148
.PP
 
149
Reimplemented from \fBQwtPlotItem\fP.
 
150
.PP
 
151
Definition at line 142 of file qwt_plot_svgitem.cpp.
 
152
.PP
 
153
Referenced by draw(), and viewBox().
 
154
.SS "void QwtPlotSvgItem::draw (QPainter * painter, const \fBQwtScaleMap\fP & xMap, const \fBQwtScaleMap\fP & yMap, const QRect & canvasRect) const\fC [virtual]\fP"
 
155
.PP
 
156
Draw the SVG item
 
157
.PP
 
158
\fBParameters:\fP
 
159
.RS 4
 
160
\fIpainter\fP Painter 
 
161
.br
 
162
\fIxMap\fP X-Scale Map 
 
163
.br
 
164
\fIyMap\fP Y-Scale Map 
 
165
.br
 
166
\fIcanvasRect\fP Contents rect of the plot canvas 
 
167
.RE
 
168
.PP
 
169
 
 
170
.PP
 
171
Implements \fBQwtPlotItem\fP.
 
172
.PP
 
173
Definition at line 170 of file qwt_plot_svgitem.cpp.
 
174
.PP
 
175
References boundingRect(), QwtPlotItem::invTransform(), render(), QwtPlotItem::transform(), and viewBox().
 
176
.SS "int QwtPlotSvgItem::rtti () const\fC [virtual]\fP"
 
177
.PP
 
178
\fBReturns:\fP
 
179
.RS 4
 
180
QwtPlotItem::Rtti_PlotSVG 
 
181
.RE
 
182
.PP
 
183
 
 
184
.PP
 
185
Reimplemented from \fBQwtPlotItem\fP.
 
186
.PP
 
187
Definition at line 89 of file qwt_plot_svgitem.cpp.
 
188
.SS "void QwtPlotSvgItem::render (QPainter * painter, const \fBQwtDoubleRect\fP & viewBox, const QRect & rect) const\fC [protected]\fP"
 
189
.PP
 
190
Render the SVG data
 
191
.PP
 
192
\fBParameters:\fP
 
193
.RS 4
 
194
\fIpainter\fP Painter 
 
195
.br
 
196
\fIviewBox\fP View Box, see QSvgRenderer::viewBox 
 
197
.br
 
198
\fIrect\fP Traget rectangle on the paint device 
 
199
.RE
 
200
.PP
 
201
 
 
202
.PP
 
203
Definition at line 194 of file qwt_plot_svgitem.cpp.
 
204
.PP
 
205
Referenced by draw().
 
206
.SS "\fBQwtDoubleRect\fP QwtPlotSvgItem::viewBox (const \fBQwtDoubleRect\fP & 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.