1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
<title>Qwt User's Guide: QwtSymbol Class Reference</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
<link href="tabs.css" rel="stylesheet" type="text/css">
7
<!-- Generated by Doxygen 1.5.0 -->
10
<li><a href="index.html"><span>Main Page</span></a></li>
11
<li id="current"><a href="classes.html"><span>Classes</span></a></li>
12
<li><a href="files.html"><span>Files</span></a></li>
13
<li><a href="pages.html"><span>Related Pages</span></a></li>
17
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
18
<li><a href="annotated.html"><span>Class List</span></a></li>
19
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
20
<li><a href="functions.html"><span>Class Members</span></a></li>
22
<h1>QwtSymbol Class Reference</h1><!-- doxytag: class="QwtSymbol" --><a href="class_qwt_symbol-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
23
A class for drawing symbols.
27
Definition at line <a class="el" href="qwt__symbol_8h-source.html#l00022">22</a> of file <a class="el" href="qwt__symbol_8h-source.html">qwt_symbol.h</a>.<table border="0" cellpadding="0" cellspacing="0">
29
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
30
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_symbol.html#62f457952470c2076962e83ef2c24d2f">Style</a> { <br>
31
<b>Arrow</b>,
33
<b>Ray</b>,
35
<b>TriangleStyle</b>,
37
<b>ThinStyle</b>,
39
<b>Style1</b>,
41
<b>Style2</b>,
43
<b>NoSymbol</b> = -1,
45
<b>Ellipse</b>,
47
<b>Rect</b>,
49
<b>Diamond</b>,
51
<b>Triangle</b>,
53
<b>DTriangle</b>,
55
<b>UTriangle</b>,
57
<b>LTriangle</b>,
59
<b>RTriangle</b>,
61
<b>Cross</b>,
63
<b>XCross</b>,
65
<b>HLine</b>,
67
<b>VLine</b>,
69
<b>Star1</b>,
71
<b>Star2</b>,
73
<b>Hexagon</b>,
75
<b>StyleCnt</b>
79
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
80
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_symbol.html#f57237cb9c77fe480c0512abc2afde2e">QwtSymbol</a> ()</td></tr>
82
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_symbol.html#8f1c507aa09dca81dcd564ef341c1a46">QwtSymbol</a> (<a class="el" href="class_qwt_symbol.html#62f457952470c2076962e83ef2c24d2f">Style</a> st, const QBrush &bd, const QPen &pn, const QSize &s)</td></tr>
84
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_symbol.html#5a30269273545d5ed25f7116a421eda2">~QwtSymbol</a> ()</td></tr>
86
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_symbol.html#6f975eb3cb2c322f80f71254c9bae555">operator!=</a> (const <a class="el" href="class_qwt_symbol.html">QwtSymbol</a> &) const</td></tr>
88
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_symbol.html#94ee19617408f08117e68ac9d47fbcfd">operator==</a> (const <a class="el" href="class_qwt_symbol.html">QwtSymbol</a> &) const</td></tr>
90
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b2c53ac599563fc2463ce5782ad31770"></a><!-- doxytag: member="QwtSymbol::clone" ref="b2c53ac599563fc2463ce5782ad31770" args="() const" -->
91
virtual <a class="el" href="class_qwt_symbol.html">QwtSymbol</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_symbol.html#b2c53ac599563fc2463ce5782ad31770">clone</a> () const</td></tr>
93
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_symbol.html#348247dfc2bf79de957b7eb84a32a720">setSize</a> (const QSize &s)</td></tr>
95
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_symbol.html#041c86efd8763564b07332c1bdb4efb7">setSize</a> (int a, int b=-1)</td></tr>
97
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_symbol.html#e6aa7281d518bdd4adae8a37bbb5e09a">setBrush</a> (const QBrush &b)</td></tr>
99
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_symbol.html#2da17316935164c5f0682ce7e6c55827">setPen</a> (const QPen &p)</td></tr>
101
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_symbol.html#83c0272116817bbf765f14ad7f86e52a">setStyle</a> (<a class="el" href="class_qwt_symbol.html#62f457952470c2076962e83ef2c24d2f">Style</a> s)</td></tr>
103
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QBrush & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_symbol.html#315152dbd66cb5866b4e3ac34e6ee1db">brush</a> () const</td></tr>
105
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QPen & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_symbol.html#4986981bcc60dc4461fbe551ff33fff1">pen</a> () const</td></tr>
107
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QSize & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_symbol.html#a4419a94583e68d068cc5e5914e2047b">size</a> () const</td></tr>
109
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_symbol.html#62f457952470c2076962e83ef2c24d2f">Style</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_symbol.html#f55983488b6b057b7f565e02bc993375">style</a> () const</td></tr>
111
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_symbol.html#5a88bcd704acadbda4ae9dea82b22c57">draw</a> (QPainter *p, const QPoint &pt) const </td></tr>
113
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_symbol.html#653260daa6c4bd2d757384025bfaddf4">draw</a> (QPainter *p, int x, int y) const</td></tr>
115
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_symbol.html#d51082488dd8af1ba1565778a18ce095">draw</a> (QPainter *p, const QRect &r) const</td></tr>
118
<hr><h2>Member Enumeration Documentation</h2>
119
<a class="anchor" name="62f457952470c2076962e83ef2c24d2f"></a><!-- doxytag: member="QwtSymbol::Style" ref="62f457952470c2076962e83ef2c24d2f" args="" -->
120
<div class="memitem">
121
<div class="memproto">
122
<table class="memname">
124
<td class="memname">enum <a class="el" href="class_qwt_symbol.html#62f457952470c2076962e83ef2c24d2f">QwtSymbol::Style</a> </td>
131
Style <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_symbol.html#83c0272116817bbf765f14ad7f86e52a">setStyle()</a>, <a class="el" href="class_qwt_symbol.html#f55983488b6b057b7f565e02bc993375">style()</a> </dd></dl>
134
Definition at line <a class="el" href="qwt__symbol_8h-source.html#l00029">29</a> of file <a class="el" href="qwt__symbol_8h-source.html">qwt_symbol.h</a>.
137
<hr><h2>Constructor & Destructor Documentation</h2>
138
<a class="anchor" name="f57237cb9c77fe480c0512abc2afde2e"></a><!-- doxytag: member="QwtSymbol::QwtSymbol" ref="f57237cb9c77fe480c0512abc2afde2e" args="()" -->
139
<div class="memitem">
140
<div class="memproto">
141
<table class="memname">
143
<td class="memname">QwtSymbol::QwtSymbol </td>
145
<td class="paramname"> </td>
146
<td> ) </td>
147
<td width="100%"></td>
154
Default Constructor<p>
155
The symbol is constructed with gray interior, black outline with zero width, no size and style 'NoSymbol'.
157
Definition at line <a class="el" href="qwt__symbol_8cpp-source.html#l00022">22</a> of file <a class="el" href="qwt__symbol_8cpp-source.html">qwt_symbol.cpp</a>.
160
<a class="anchor" name="8f1c507aa09dca81dcd564ef341c1a46"></a><!-- doxytag: member="QwtSymbol::QwtSymbol" ref="8f1c507aa09dca81dcd564ef341c1a46" args="(Style st, const QBrush &bd, const QPen &pn, const QSize &s)" -->
161
<div class="memitem">
162
<div class="memproto">
163
<table class="memname">
165
<td class="memname">QwtSymbol::QwtSymbol </td>
167
<td class="paramtype"><a class="el" href="class_qwt_symbol.html#62f457952470c2076962e83ef2c24d2f">QwtSymbol::Style</a> </td>
168
<td class="paramname"> <em>style</em>, </td>
171
<td class="paramkey"></td>
173
<td class="paramtype">const QBrush & </td>
174
<td class="paramname"> <em>brush</em>, </td>
177
<td class="paramkey"></td>
179
<td class="paramtype">const QPen & </td>
180
<td class="paramname"> <em>pen</em>, </td>
183
<td class="paramkey"></td>
185
<td class="paramtype">const QSize & </td>
186
<td class="paramname"> <em>size</em></td><td> </td>
191
<td></td><td></td><td width="100%"></td>
200
<dl compact><dt><b>Parameters:</b></dt><dd>
201
<table border="0" cellspacing="2" cellpadding="0">
202
<tr><td valign="top"></td><td valign="top"><em>style</em> </td><td>Symbol Style </td></tr>
203
<tr><td valign="top"></td><td valign="top"><em>brush</em> </td><td>brush to fill the interior </td></tr>
204
<tr><td valign="top"></td><td valign="top"><em>pen</em> </td><td>outline pen </td></tr>
205
<tr><td valign="top"></td><td valign="top"><em>size</em> </td><td>size </td></tr>
210
Definition at line <a class="el" href="qwt__symbol_8cpp-source.html#l00037">37</a> of file <a class="el" href="qwt__symbol_8cpp-source.html">qwt_symbol.cpp</a>.
213
<a class="anchor" name="5a30269273545d5ed25f7116a421eda2"></a><!-- doxytag: member="QwtSymbol::~QwtSymbol" ref="5a30269273545d5ed25f7116a421eda2" args="()" -->
214
<div class="memitem">
215
<div class="memproto">
216
<table class="memname">
218
<td class="memname">QwtSymbol::~QwtSymbol </td>
220
<td class="paramname"> </td>
221
<td> ) </td>
222
<td width="100%"><code> [virtual]</code></td>
233
Definition at line <a class="el" href="qwt__symbol_8cpp-source.html#l00047">47</a> of file <a class="el" href="qwt__symbol_8cpp-source.html">qwt_symbol.cpp</a>.
236
<hr><h2>Member Function Documentation</h2>
237
<a class="anchor" name="6f975eb3cb2c322f80f71254c9bae555"></a><!-- doxytag: member="QwtSymbol::operator!=" ref="6f975eb3cb2c322f80f71254c9bae555" args="(const QwtSymbol &) const" -->
238
<div class="memitem">
239
<div class="memproto">
240
<table class="memname">
242
<td class="memname">bool QwtSymbol::operator!= </td>
244
<td class="paramtype">const <a class="el" href="class_qwt_symbol.html">QwtSymbol</a> & </td>
245
<td class="paramname"> </td>
246
<td> ) </td>
247
<td width="100%"> const</td>
258
Definition at line <a class="el" href="qwt__symbol_8cpp-source.html#l00350">350</a> of file <a class="el" href="qwt__symbol_8cpp-source.html">qwt_symbol.cpp</a>.
261
<a class="anchor" name="94ee19617408f08117e68ac9d47fbcfd"></a><!-- doxytag: member="QwtSymbol::operator==" ref="94ee19617408f08117e68ac9d47fbcfd" args="(const QwtSymbol &) const" -->
262
<div class="memitem">
263
<div class="memproto">
264
<table class="memname">
266
<td class="memname">bool QwtSymbol::operator== </td>
268
<td class="paramtype">const <a class="el" href="class_qwt_symbol.html">QwtSymbol</a> & </td>
269
<td class="paramname"> </td>
270
<td> ) </td>
271
<td width="100%"> const<code> [virtual]</code></td>
282
Definition at line <a class="el" href="qwt__symbol_8cpp-source.html#l00343">343</a> of file <a class="el" href="qwt__symbol_8cpp-source.html">qwt_symbol.cpp</a>.
284
References <a class="el" href="qwt__symbol_8h-source.html#l00069">brush()</a>, <a class="el" href="qwt__symbol_8h-source.html#l00071">pen()</a>, <a class="el" href="qwt__symbol_8h-source.html#l00073">size()</a>, and <a class="el" href="qwt__symbol_8h-source.html#l00075">style()</a>.
287
<a class="anchor" name="348247dfc2bf79de957b7eb84a32a720"></a><!-- doxytag: member="QwtSymbol::setSize" ref="348247dfc2bf79de957b7eb84a32a720" args="(const QSize &s)" -->
288
<div class="memitem">
289
<div class="memproto">
290
<table class="memname">
292
<td class="memname">void QwtSymbol::setSize </td>
294
<td class="paramtype">const QSize & </td>
295
<td class="paramname"> <em>s</em> </td>
296
<td> ) </td>
297
<td width="100%"></td>
304
Set the symbol's size.
308
Definition at line <a class="el" href="qwt__symbol_8cpp-source.html#l00076">76</a> of file <a class="el" href="qwt__symbol_8cpp-source.html">qwt_symbol.cpp</a>.
311
<a class="anchor" name="041c86efd8763564b07332c1bdb4efb7"></a><!-- doxytag: member="QwtSymbol::setSize" ref="041c86efd8763564b07332c1bdb4efb7" args="(int a, int b=-1)" -->
312
<div class="memitem">
313
<div class="memproto">
314
<table class="memname">
316
<td class="memname">void QwtSymbol::setSize </td>
318
<td class="paramtype">int </td>
319
<td class="paramname"> <em>w</em>, </td>
322
<td class="paramkey"></td>
324
<td class="paramtype">int </td>
325
<td class="paramname"> <em>h</em> = <code>-1</code></td><td> </td>
330
<td></td><td></td><td width="100%"></td>
337
Specify the symbol's size.
339
If the 'h' parameter is left out or less than 0, and the 'w' parameter is greater than or equal to 0, the symbol size will be set to (w,w). <dl compact><dt><b>Parameters:</b></dt><dd>
340
<table border="0" cellspacing="2" cellpadding="0">
341
<tr><td valign="top"></td><td valign="top"><em>w</em> </td><td>width </td></tr>
342
<tr><td valign="top"></td><td valign="top"><em>h</em> </td><td>height (defaults to -1) </td></tr>
347
Definition at line <a class="el" href="qwt__symbol_8cpp-source.html#l00068">68</a> of file <a class="el" href="qwt__symbol_8cpp-source.html">qwt_symbol.cpp</a>.
350
<a class="anchor" name="e6aa7281d518bdd4adae8a37bbb5e09a"></a><!-- doxytag: member="QwtSymbol::setBrush" ref="e6aa7281d518bdd4adae8a37bbb5e09a" args="(const QBrush &b)" -->
351
<div class="memitem">
352
<div class="memproto">
353
<table class="memname">
355
<td class="memname">void QwtSymbol::setBrush </td>
357
<td class="paramtype">const QBrush & </td>
358
<td class="paramname"> <em>br</em> </td>
359
<td> ) </td>
360
<td width="100%"></td>
369
The brush is used to draw the interior of the symbol. <dl compact><dt><b>Parameters:</b></dt><dd>
370
<table border="0" cellspacing="2" cellpadding="0">
371
<tr><td valign="top"></td><td valign="top"><em>br</em> </td><td>brush </td></tr>
376
Definition at line <a class="el" href="qwt__symbol_8cpp-source.html#l00088">88</a> of file <a class="el" href="qwt__symbol_8cpp-source.html">qwt_symbol.cpp</a>.
378
Referenced by <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00157">QwtPlotPrintFilter::apply()</a>, and <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00366">QwtPlotPrintFilter::reset()</a>.
381
<a class="anchor" name="2da17316935164c5f0682ce7e6c55827"></a><!-- doxytag: member="QwtSymbol::setPen" ref="2da17316935164c5f0682ce7e6c55827" args="(const QPen &p)" -->
382
<div class="memitem">
383
<div class="memproto">
384
<table class="memname">
386
<td class="memname">void QwtSymbol::setPen </td>
388
<td class="paramtype">const QPen & </td>
389
<td class="paramname"> <em>pn</em> </td>
390
<td> ) </td>
391
<td width="100%"></td>
400
The pen is used to draw the symbol's outline.<p>
401
<dl compact><dt><b>Parameters:</b></dt><dd>
402
<table border="0" cellspacing="2" cellpadding="0">
403
<tr><td valign="top"></td><td valign="top"><em>pn</em> </td><td>pen </td></tr>
408
Definition at line <a class="el" href="qwt__symbol_8cpp-source.html#l00100">100</a> of file <a class="el" href="qwt__symbol_8cpp-source.html">qwt_symbol.cpp</a>.
410
Referenced by <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00157">QwtPlotPrintFilter::apply()</a>, and <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00366">QwtPlotPrintFilter::reset()</a>.
413
<a class="anchor" name="83c0272116817bbf765f14ad7f86e52a"></a><!-- doxytag: member="QwtSymbol::setStyle" ref="83c0272116817bbf765f14ad7f86e52a" args="(Style s)" -->
414
<div class="memitem">
415
<div class="memproto">
416
<table class="memname">
418
<td class="memname">void QwtSymbol::setStyle </td>
420
<td class="paramtype"><a class="el" href="class_qwt_symbol.html#62f457952470c2076962e83ef2c24d2f">QwtSymbol::Style</a> </td>
421
<td class="paramname"> <em>s</em> </td>
422
<td> ) </td>
423
<td width="100%"></td>
430
Specify the symbol style.
432
The following styles are defined:<dl>
434
<dd>No Style. The symbol cannot be drawn. </dd>
436
<dd>Ellipse or circle </dd>
442
<dd>Triangle pointing upwards </dd>
444
<dd>Triangle pointing downwards </dd>
446
<dd>Triangle pointing upwards </dd>
448
<dd>Triangle pointing left </dd>
450
<dd>Triangle pointing right </dd>
454
<dd>Diagonal cross (X) </dd>
456
<dd>Horizontal line </dd>
458
<dd>Vertical line </dd>
460
<dd>X combined with + </dd>
462
<dd>Six-pointed star </dd>
467
<dl compact><dt><b>Parameters:</b></dt><dd>
468
<table border="0" cellspacing="2" cellpadding="0">
469
<tr><td valign="top"></td><td valign="top"><em>s</em> </td><td>style </td></tr>
474
Definition at line <a class="el" href="qwt__symbol_8cpp-source.html#l00337">337</a> of file <a class="el" href="qwt__symbol_8cpp-source.html">qwt_symbol.cpp</a>.
477
<a class="anchor" name="315152dbd66cb5866b4e3ac34e6ee1db"></a><!-- doxytag: member="QwtSymbol::brush" ref="315152dbd66cb5866b4e3ac34e6ee1db" args="() const" -->
478
<div class="memitem">
479
<div class="memproto">
480
<table class="memname">
482
<td class="memname">const QBrush& QwtSymbol::brush </td>
484
<td class="paramname"> </td>
485
<td> ) </td>
486
<td width="100%"> const<code> [inline]</code></td>
497
Definition at line <a class="el" href="qwt__symbol_8h-source.html#l00069">69</a> of file <a class="el" href="qwt__symbol_8h-source.html">qwt_symbol.h</a>.
499
Referenced by <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00157">QwtPlotPrintFilter::apply()</a>, <a class="el" href="qwt__plot__curve_8cpp-source.html#l01244">QwtPlotCurve::drawSymbols()</a>, <a class="el" href="qwt__symbol_8cpp-source.html#l00343">operator==()</a>, and <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00366">QwtPlotPrintFilter::reset()</a>.
502
<a class="anchor" name="4986981bcc60dc4461fbe551ff33fff1"></a><!-- doxytag: member="QwtSymbol::pen" ref="4986981bcc60dc4461fbe551ff33fff1" args="() const" -->
503
<div class="memitem">
504
<div class="memproto">
505
<table class="memname">
507
<td class="memname">const QPen& QwtSymbol::pen </td>
509
<td class="paramname"> </td>
510
<td> ) </td>
511
<td width="100%"> const<code> [inline]</code></td>
522
Definition at line <a class="el" href="qwt__symbol_8h-source.html#l00071">71</a> of file <a class="el" href="qwt__symbol_8h-source.html">qwt_symbol.h</a>.
524
Referenced by <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00157">QwtPlotPrintFilter::apply()</a>, <a class="el" href="qwt__plot__curve_8cpp-source.html#l01244">QwtPlotCurve::drawSymbols()</a>, <a class="el" href="qwt__symbol_8cpp-source.html#l00343">operator==()</a>, and <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00366">QwtPlotPrintFilter::reset()</a>.
527
<a class="anchor" name="a4419a94583e68d068cc5e5914e2047b"></a><!-- doxytag: member="QwtSymbol::size" ref="a4419a94583e68d068cc5e5914e2047b" args="() const" -->
528
<div class="memitem">
529
<div class="memproto">
530
<table class="memname">
532
<td class="memname">const QSize& QwtSymbol::size </td>
534
<td class="paramname"> </td>
535
<td> ) </td>
536
<td width="100%"> const<code> [inline]</code></td>
547
Definition at line <a class="el" href="qwt__symbol_8h-source.html#l00073">73</a> of file <a class="el" href="qwt__symbol_8h-source.html">qwt_symbol.h</a>.
549
Referenced by <a class="el" href="qwt__plot__curve_8cpp-source.html#l01244">QwtPlotCurve::drawSymbols()</a>, and <a class="el" href="qwt__symbol_8cpp-source.html#l00343">operator==()</a>.
552
<a class="anchor" name="f55983488b6b057b7f565e02bc993375"></a><!-- doxytag: member="QwtSymbol::style" ref="f55983488b6b057b7f565e02bc993375" args="() const" -->
553
<div class="memitem">
554
<div class="memproto">
555
<table class="memname">
557
<td class="memname"><a class="el" href="class_qwt_symbol.html#62f457952470c2076962e83ef2c24d2f">Style</a> QwtSymbol::style </td>
559
<td class="paramname"> </td>
560
<td> ) </td>
561
<td width="100%"> const<code> [inline]</code></td>
572
Definition at line <a class="el" href="qwt__symbol_8h-source.html#l00075">75</a> of file <a class="el" href="qwt__symbol_8h-source.html">qwt_symbol.h</a>.
574
Referenced by <a class="el" href="qwt__symbol_8cpp-source.html#l00343">operator==()</a>.
577
<a class="anchor" name="5a88bcd704acadbda4ae9dea82b22c57"></a><!-- doxytag: member="QwtSymbol::draw" ref="5a88bcd704acadbda4ae9dea82b22c57" args="(QPainter *p, const QPoint &pt) const " -->
578
<div class="memitem">
579
<div class="memproto">
580
<table class="memname">
582
<td class="memname">void QwtSymbol::draw </td>
584
<td class="paramtype">QPainter * </td>
585
<td class="paramname"> <em>painter</em>, </td>
588
<td class="paramkey"></td>
590
<td class="paramtype">const QPoint & </td>
591
<td class="paramname"> <em>pos</em></td><td> </td>
596
<td></td><td></td><td width="100%"> const</td>
603
Draw the symbol at a specified point.
605
<dl compact><dt><b>Parameters:</b></dt><dd>
606
<table border="0" cellspacing="2" cellpadding="0">
607
<tr><td valign="top"></td><td valign="top"><em>painter</em> </td><td>Painter </td></tr>
608
<tr><td valign="top"></td><td valign="top"><em>pos</em> </td><td>Center of the symbol </td></tr>
613
Definition at line <a class="el" href="qwt__symbol_8cpp-source.html#l00302">302</a> of file <a class="el" href="qwt__symbol_8cpp-source.html">qwt_symbol.cpp</a>.
615
References <a class="el" href="qwt__painter_8cpp-source.html#l00160">QwtPainter::metricsMap()</a>.
617
Referenced by <a class="el" href="qwt__symbol_8cpp-source.html#l00108">draw()</a>, and <a class="el" href="qwt__plot__curve_8cpp-source.html#l01244">QwtPlotCurve::drawSymbols()</a>.
620
<a class="anchor" name="653260daa6c4bd2d757384025bfaddf4"></a><!-- doxytag: member="QwtSymbol::draw" ref="653260daa6c4bd2d757384025bfaddf4" args="(QPainter *p, int x, int y) const" -->
621
<div class="memitem">
622
<div class="memproto">
623
<table class="memname">
625
<td class="memname">void QwtSymbol::draw </td>
627
<td class="paramtype">QPainter * </td>
628
<td class="paramname"> <em>p</em>, </td>
631
<td class="paramkey"></td>
633
<td class="paramtype">int </td>
634
<td class="paramname"> <em>x</em>, </td>
637
<td class="paramkey"></td>
639
<td class="paramtype">int </td>
640
<td class="paramname"> <em>y</em></td><td> </td>
645
<td></td><td></td><td width="100%"> const</td>
652
Draw the symbol at a point (x,y).
656
Definition at line <a class="el" href="qwt__symbol_8cpp-source.html#l00108">108</a> of file <a class="el" href="qwt__symbol_8cpp-source.html">qwt_symbol.cpp</a>.
658
References <a class="el" href="qwt__symbol_8cpp-source.html#l00302">draw()</a>.
661
<a class="anchor" name="d51082488dd8af1ba1565778a18ce095"></a><!-- doxytag: member="QwtSymbol::draw" ref="d51082488dd8af1ba1565778a18ce095" args="(QPainter *p, const QRect &r) const" -->
662
<div class="memitem">
663
<div class="memproto">
664
<table class="memname">
666
<td class="memname">void QwtSymbol::draw </td>
668
<td class="paramtype">QPainter * </td>
669
<td class="paramname"> <em>painter</em>, </td>
672
<td class="paramkey"></td>
674
<td class="paramtype">const QRect & </td>
675
<td class="paramname"> <em>r</em></td><td> </td>
680
<td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
687
Draw the symbol into a bounding rectangle.
689
This function assumes that the painter has been initialized with brush and pen before. This allows a much more performant implementation when painting many symbols with the same brush and pen like in curves.<p>
690
<dl compact><dt><b>Parameters:</b></dt><dd>
691
<table border="0" cellspacing="2" cellpadding="0">
692
<tr><td valign="top"></td><td valign="top"><em>painter</em> </td><td>Painter </td></tr>
693
<tr><td valign="top"></td><td valign="top"><em>r</em> </td><td>Bounding rectangle </td></tr>
698
Definition at line <a class="el" href="qwt__symbol_8cpp-source.html#l00124">124</a> of file <a class="el" href="qwt__symbol_8cpp-source.html">qwt_symbol.cpp</a>.
700
References <a class="el" href="qwt__painter_8cpp-source.html#l00281">QwtPainter::drawEllipse()</a>, <a class="el" href="qwt__painter_8cpp-source.html#l00424">QwtPainter::drawLine()</a>, <a class="el" href="qwt__painter_8cpp-source.html#l00474">QwtPainter::drawPolygon()</a>, and <a class="el" href="qwt__painter_8cpp-source.html#l00176">QwtPainter::drawRect()</a>.
703
<hr size="1"><address style="align: right;"><small>Generated on Sun Mar 22 16:55:23 2009 for Qwt User's Guide by
704
<a href="http://www.doxygen.org/index.html">
705
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>