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: QwtRoundScaleDraw 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>QwtRoundScaleDraw Class Reference</h1><!-- doxytag: class="QwtRoundScaleDraw" --><!-- doxytag: inherits="QwtAbstractScaleDraw" -->Inheritance diagram for QwtRoundScaleDraw:<p><center><img src="class_qwt_round_scale_draw__inherit__graph.png" border="0" usemap="#_qwt_round_scale_draw__inherit__map" alt="Inheritance graph"></center>
23
<map name="_qwt_round_scale_draw__inherit__map">
24
<area href="class_qwt_dial_scale_draw.html" shape="rect" coords="19,157,152,181" alt="">
25
<area href="class_qwt_abstract_scale_draw.html" shape="rect" coords="7,8,164,32" alt="">
27
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for QwtRoundScaleDraw:<p><center><img src="class_qwt_round_scale_draw__coll__graph.png" border="0" usemap="#_qwt_round_scale_draw__coll__map" alt="Collaboration graph"></center>
28
<map name="_qwt_round_scale_draw__coll__map">
29
<area href="class_qwt_abstract_scale_draw.html" shape="rect" coords="7,8,164,32" alt="">
31
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_qwt_round_scale_draw-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
32
A class for drawing round scales.
34
<a class="el" href="class_qwt_round_scale_draw.html">QwtRoundScaleDraw</a> can be used to draw round scales. The circle segment can be adjusted by <a class="el" href="class_qwt_round_scale_draw.html#5d85678fdb9fbb4d622425aab9ecc681">QwtRoundScaleDraw::setAngleRange()</a>. The geometry of the scale can be specified with <a class="el" href="class_qwt_round_scale_draw.html#fe2226d225c3d7f50a85a80c86f5eb6e">QwtRoundScaleDraw::moveCenter()</a> and <a class="el" href="class_qwt_round_scale_draw.html#069d658989db2ad96f26b79a298f7d10">QwtRoundScaleDraw::setRadius()</a>.<p>
35
After a scale division has been specified as a <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> object using <a class="el" href="class_qwt_abstract_scale_draw.html#4399aac94a294f5ed6c52114dde00d2f">QwtAbstractScaleDraw::setScaleDiv(const QwtScaleDiv &s)</a>, the scale can be drawn with the <a class="el" href="class_qwt_abstract_scale_draw.html#c4442d7480db1288971e7eac15142467">QwtAbstractScaleDraw::draw()</a> member.
39
Definition at line <a class="el" href="qwt__round__scale__draw_8h-source.html#l00032">32</a> of file <a class="el" href="qwt__round__scale__draw_8h-source.html">qwt_round_scale_draw.h</a>.<table border="0" cellpadding="0" cellspacing="0">
41
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
42
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_round_scale_draw.html#9c44d19488567825d826528b701587c8">QwtRoundScaleDraw</a> ()</td></tr>
44
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_round_scale_draw.html#d6237d352a7004166dacfe644bfc4308">QwtRoundScaleDraw</a> (const <a class="el" href="class_qwt_round_scale_draw.html">QwtRoundScaleDraw</a> &)</td></tr>
46
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_round_scale_draw.html#81583432e629cd8a14524b05fabb4731">~QwtRoundScaleDraw</a> ()</td></tr>
48
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_round_scale_draw.html">QwtRoundScaleDraw</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_round_scale_draw.html#dc6fc2de0c09ea6b70258a129fecac3a">operator=</a> (const <a class="el" href="class_qwt_round_scale_draw.html">QwtRoundScaleDraw</a> &other)</td></tr>
50
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_round_scale_draw.html#069d658989db2ad96f26b79a298f7d10">setRadius</a> (int radius)</td></tr>
52
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_round_scale_draw.html#52de381651527d25721576daea310ead">radius</a> () const</td></tr>
54
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fe2226d225c3d7f50a85a80c86f5eb6e"></a><!-- doxytag: member="QwtRoundScaleDraw::moveCenter" ref="fe2226d225c3d7f50a85a80c86f5eb6e" args="(int x, int y)" -->
55
void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_round_scale_draw.html#fe2226d225c3d7f50a85a80c86f5eb6e">moveCenter</a> (int x, int y)</td></tr>
57
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_round_scale_draw.html#536cdecd6046e4a8434e117c9cd5c180">moveCenter</a> (const QPoint &)</td></tr>
59
<tr><td class="memItemLeft" nowrap align="right" valign="top">QPoint </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_round_scale_draw.html#8653bb6898adb0d563343cd843559e18">center</a> () const</td></tr>
61
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_round_scale_draw.html#5d85678fdb9fbb4d622425aab9ecc681">setAngleRange</a> (double angle1, double angle2)</td></tr>
63
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_round_scale_draw.html#7c357fc6d4c615c1848e696f7fe7912c">extent</a> (const QPen &, const QFont &) const</td></tr>
65
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
66
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_round_scale_draw.html#58fb1c23cc215724883eb96cbf551b06">drawTick</a> (QPainter *p, double val, int len) const</td></tr>
68
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_round_scale_draw.html#845dc48b006ee168415112f39e80da09">drawBackbone</a> (QPainter *p) const </td></tr>
70
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_round_scale_draw.html#35cc3c8f1fe89b27e7bf2d57c7560bd8">drawLabel</a> (QPainter *p, double val) const</td></tr>
73
<hr><h2>Constructor & Destructor Documentation</h2>
74
<a class="anchor" name="9c44d19488567825d826528b701587c8"></a><!-- doxytag: member="QwtRoundScaleDraw::QwtRoundScaleDraw" ref="9c44d19488567825d826528b701587c8" args="()" -->
76
<div class="memproto">
77
<table class="memname">
79
<td class="memname">QwtRoundScaleDraw::QwtRoundScaleDraw </td>
81
<td class="paramname"> </td>
82
<td> ) </td>
83
<td width="100%"></td>
92
The range of the scale is initialized to [0, 100], The center is set to (50, 50) with a radius of 50. The angle range is set to [-135, 135].
94
Definition at line <a class="el" href="qwt__round__scale__draw_8cpp-source.html#l00046">46</a> of file <a class="el" href="qwt__round__scale__draw_8cpp-source.html">qwt_round_scale_draw.cpp</a>.
96
References <a class="el" href="qwt__abstract__scale__draw_8cpp-source.html#l00132">QwtAbstractScaleDraw::scaleMap()</a>, <a class="el" href="qwt__scale__map_8cpp-source.html#l00180">QwtScaleMap::setPaintInterval()</a>, and <a class="el" href="qwt__round__scale__draw_8cpp-source.html#l00084">setRadius()</a>.
99
<a class="anchor" name="d6237d352a7004166dacfe644bfc4308"></a><!-- doxytag: member="QwtRoundScaleDraw::QwtRoundScaleDraw" ref="d6237d352a7004166dacfe644bfc4308" args="(const QwtRoundScaleDraw &)" -->
100
<div class="memitem">
101
<div class="memproto">
102
<table class="memname">
104
<td class="memname">QwtRoundScaleDraw::QwtRoundScaleDraw </td>
106
<td class="paramtype">const <a class="el" href="class_qwt_round_scale_draw.html">QwtRoundScaleDraw</a> & </td>
107
<td class="paramname"> </td>
108
<td> ) </td>
109
<td width="100%"></td>
120
Definition at line <a class="el" href="qwt__round__scale__draw_8cpp-source.html#l00055">55</a> of file <a class="el" href="qwt__round__scale__draw_8cpp-source.html">qwt_round_scale_draw.cpp</a>.
122
References <a class="el" href="qwt__round__scale__draw_8h-source.html#l00059">d_data</a>.
125
<a class="anchor" name="81583432e629cd8a14524b05fabb4731"></a><!-- doxytag: member="QwtRoundScaleDraw::~QwtRoundScaleDraw" ref="81583432e629cd8a14524b05fabb4731" args="()" -->
126
<div class="memitem">
127
<div class="memproto">
128
<table class="memname">
130
<td class="memname">QwtRoundScaleDraw::~QwtRoundScaleDraw </td>
132
<td class="paramname"> </td>
133
<td> ) </td>
134
<td width="100%"><code> [virtual]</code></td>
145
Definition at line <a class="el" href="qwt__round__scale__draw_8cpp-source.html#l00063">63</a> of file <a class="el" href="qwt__round__scale__draw_8cpp-source.html">qwt_round_scale_draw.cpp</a>.
148
<hr><h2>Member Function Documentation</h2>
149
<a class="anchor" name="dc6fc2de0c09ea6b70258a129fecac3a"></a><!-- doxytag: member="QwtRoundScaleDraw::operator=" ref="dc6fc2de0c09ea6b70258a129fecac3a" args="(const QwtRoundScaleDraw &other)" -->
150
<div class="memitem">
151
<div class="memproto">
152
<table class="memname">
154
<td class="memname"><a class="el" href="class_qwt_round_scale_draw.html">QwtRoundScaleDraw</a> & QwtRoundScaleDraw::operator= </td>
156
<td class="paramtype">const <a class="el" href="class_qwt_round_scale_draw.html">QwtRoundScaleDraw</a> & </td>
157
<td class="paramname"> <em>other</em> </td>
158
<td> ) </td>
159
<td width="100%"></td>
170
Definition at line <a class="el" href="qwt__round__scale__draw_8cpp-source.html#l00069">69</a> of file <a class="el" href="qwt__round__scale__draw_8cpp-source.html">qwt_round_scale_draw.cpp</a>.
172
References <a class="el" href="qwt__round__scale__draw_8h-source.html#l00059">d_data</a>.
175
<a class="anchor" name="069d658989db2ad96f26b79a298f7d10"></a><!-- doxytag: member="QwtRoundScaleDraw::setRadius" ref="069d658989db2ad96f26b79a298f7d10" args="(int radius)" -->
176
<div class="memitem">
177
<div class="memproto">
178
<table class="memname">
180
<td class="memname">void QwtRoundScaleDraw::setRadius </td>
182
<td class="paramtype">int </td>
183
<td class="paramname"> <em>radius</em> </td>
184
<td> ) </td>
185
<td width="100%"></td>
192
Change of radius the scale<p>
193
Radius is the radius of the backbone without ticks and labels.<p>
194
<dl compact><dt><b>Parameters:</b></dt><dd>
195
<table border="0" cellspacing="2" cellpadding="0">
196
<tr><td valign="top"></td><td valign="top"><em>radius</em> </td><td>New Radius </td></tr>
199
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_round_scale_draw.html#fe2226d225c3d7f50a85a80c86f5eb6e">moveCenter</a> </dd></dl>
202
Definition at line <a class="el" href="qwt__round__scale__draw_8cpp-source.html#l00084">84</a> of file <a class="el" href="qwt__round__scale__draw_8cpp-source.html">qwt_round_scale_draw.cpp</a>.
204
Referenced by <a class="el" href="qwt__round__scale__draw_8cpp-source.html#l00046">QwtRoundScaleDraw()</a>.
207
<a class="anchor" name="52de381651527d25721576daea310ead"></a><!-- doxytag: member="QwtRoundScaleDraw::radius" ref="52de381651527d25721576daea310ead" args="() const" -->
208
<div class="memitem">
209
<div class="memproto">
210
<table class="memname">
212
<td class="memname">int QwtRoundScaleDraw::radius </td>
214
<td class="paramname"> </td>
215
<td> ) </td>
216
<td width="100%"> const</td>
224
Radius is the radius of the backbone without ticks and labels.<p>
225
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_round_scale_draw.html#069d658989db2ad96f26b79a298f7d10">setRadius()</a>, <a class="el" href="class_qwt_round_scale_draw.html#7c357fc6d4c615c1848e696f7fe7912c">extent()</a> </dd></dl>
228
Definition at line <a class="el" href="qwt__round__scale__draw_8cpp-source.html#l00096">96</a> of file <a class="el" href="qwt__round__scale__draw_8cpp-source.html">qwt_round_scale_draw.cpp</a>.
230
Referenced by <a class="el" href="qwt__round__scale__draw_8cpp-source.html#l00239">drawBackbone()</a>, <a class="el" href="qwt__round__scale__draw_8cpp-source.html#l00160">drawLabel()</a>, and <a class="el" href="qwt__round__scale__draw_8cpp-source.html#l00205">drawTick()</a>.
233
<a class="anchor" name="536cdecd6046e4a8434e117c9cd5c180"></a><!-- doxytag: member="QwtRoundScaleDraw::moveCenter" ref="536cdecd6046e4a8434e117c9cd5c180" args="(const QPoint &)" -->
234
<div class="memitem">
235
<div class="memproto">
236
<table class="memname">
238
<td class="memname">void QwtRoundScaleDraw::moveCenter </td>
240
<td class="paramtype">const QPoint & </td>
241
<td class="paramname"> <em>center</em> </td>
242
<td> ) </td>
243
<td width="100%"></td>
250
Move the center of the scale draw, leaving the radius unchanged<p>
251
<dl compact><dt><b>Parameters:</b></dt><dd>
252
<table border="0" cellspacing="2" cellpadding="0">
253
<tr><td valign="top"></td><td valign="top"><em>center</em> </td><td>New center </td></tr>
256
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_round_scale_draw.html#069d658989db2ad96f26b79a298f7d10">setRadius</a> </dd></dl>
259
Definition at line <a class="el" href="qwt__round__scale__draw_8cpp-source.html#l00107">107</a> of file <a class="el" href="qwt__round__scale__draw_8cpp-source.html">qwt_round_scale_draw.cpp</a>.
262
<a class="anchor" name="8653bb6898adb0d563343cd843559e18"></a><!-- doxytag: member="QwtRoundScaleDraw::center" ref="8653bb6898adb0d563343cd843559e18" args="() const" -->
263
<div class="memitem">
264
<div class="memproto">
265
<table class="memname">
267
<td class="memname">QPoint QwtRoundScaleDraw::center </td>
269
<td class="paramname"> </td>
270
<td> ) </td>
271
<td width="100%"> const</td>
278
Get the center of the scale.
282
Definition at line <a class="el" href="qwt__round__scale__draw_8cpp-source.html#l00113">113</a> of file <a class="el" href="qwt__round__scale__draw_8cpp-source.html">qwt_round_scale_draw.cpp</a>.
285
<a class="anchor" name="5d85678fdb9fbb4d622425aab9ecc681"></a><!-- doxytag: member="QwtRoundScaleDraw::setAngleRange" ref="5d85678fdb9fbb4d622425aab9ecc681" args="(double angle1, double angle2)" -->
286
<div class="memitem">
287
<div class="memproto">
288
<table class="memname">
290
<td class="memname">void QwtRoundScaleDraw::setAngleRange </td>
292
<td class="paramtype">double </td>
293
<td class="paramname"> <em>angle1</em>, </td>
296
<td class="paramkey"></td>
298
<td class="paramtype">double </td>
299
<td class="paramname"> <em>angle2</em></td><td> </td>
304
<td></td><td></td><td width="100%"></td>
311
Adjust the baseline circle segment for round scales.
313
The baseline will be drawn from min(angle1,angle2) to max(angle1, angle2). The default setting is [ -135, 135 ]. An angle of 0 degrees corresponds to the 12 o'clock position, and positive angles count in a clockwise direction. <dl compact><dt><b>Parameters:</b></dt><dd>
314
<table border="0" cellspacing="2" cellpadding="0">
315
<tr><td valign="top"></td><td valign="top"><em>angle1</em> </td><td></td></tr>
316
<tr><td valign="top"></td><td valign="top"><em>angle2</em> </td><td>boundaries of the angle interval in degrees. </td></tr>
319
<dl class="warning" compact><dt><b>Warning:</b></dt><dd><ul>
321
The angle range is limited to [-360, 360] degrees. Angles exceeding this range will be clipped. </li>
323
For angles more than 359 degrees above or below min(angle1, angle2), scale marks will not be drawn. </li>
325
If you need a counterclockwise scale, use QwtScaleDiv::setRange </li>
330
Definition at line <a class="el" href="qwt__round__scale__draw_8cpp-source.html#l00135">135</a> of file <a class="el" href="qwt__round__scale__draw_8cpp-source.html">qwt_round_scale_draw.cpp</a>.
332
References <a class="el" href="qwt__abstract__scale__draw_8cpp-source.html#l00132">QwtAbstractScaleDraw::scaleMap()</a>, and <a class="el" href="qwt__scale__map_8cpp-source.html#l00180">QwtScaleMap::setPaintInterval()</a>.
334
Referenced by <a class="el" href="qwt__knob_8cpp-source.html#l00134">QwtKnob::setTotalAngle()</a>.
337
<a class="anchor" name="7c357fc6d4c615c1848e696f7fe7912c"></a><!-- doxytag: member="QwtRoundScaleDraw::extent" ref="7c357fc6d4c615c1848e696f7fe7912c" args="(const QPen &, const QFont &) const" -->
338
<div class="memitem">
339
<div class="memproto">
340
<table class="memname">
342
<td class="memname">int QwtRoundScaleDraw::extent </td>
344
<td class="paramtype">const QPen & </td>
345
<td class="paramname"> <em>pen</em>, </td>
348
<td class="paramkey"></td>
350
<td class="paramtype">const QFont & </td>
351
<td class="paramname"> <em>font</em></td><td> </td>
356
<td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
363
Calculate the extent of the scale<p>
364
The extent is the distcance between the baseline to the outermost pixel of the scale draw. <a class="el" href="class_qwt_round_scale_draw.html#52de381651527d25721576daea310ead">radius()</a> + <a class="el" href="class_qwt_round_scale_draw.html#7c357fc6d4c615c1848e696f7fe7912c">extent()</a> is an upper limit for the radius of the bounding circle.<p>
365
<dl compact><dt><b>Parameters:</b></dt><dd>
366
<table border="0" cellspacing="2" cellpadding="0">
367
<tr><td valign="top"></td><td valign="top"><em>pen</em> </td><td>Pen that is used for painting backbone and ticks </td></tr>
368
<tr><td valign="top"></td><td valign="top"><em>font</em> </td><td>Font used for painting the labels</td></tr>
371
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_abstract_scale_draw.html#2a9633476aa1c99e25fa07d87db3e415">setMinimumExtent()</a>, <a class="el" href="class_qwt_abstract_scale_draw.html#3ddfc4b108cbf093c89a4596109b63fd">minimumExtent()</a> </dd></dl>
372
<dl class="warning" compact><dt><b>Warning:</b></dt><dd>The implemented algo is not too smart and calculates only an upper limit, that might be a few pixels too large </dd></dl>
375
Implements <a class="el" href="class_qwt_abstract_scale_draw.html#99524bfda72b2b53de2b9d773259318b">QwtAbstractScaleDraw</a>.
377
Definition at line <a class="el" href="qwt__round__scale__draw_8cpp-source.html#l00267">267</a> of file <a class="el" href="qwt__round__scale__draw_8cpp-source.html">qwt_round_scale_draw.cpp</a>.
379
References <a class="el" href="qwt__scale__div_8cpp-source.html#l00115">QwtScaleDiv::contains()</a>, <a class="el" href="qwt__abstract__scale__draw_8cpp-source.html#l00099">QwtAbstractScaleDraw::hasComponent()</a>, <a class="el" href="qwt__text_8h-source.html#l00152">QwtText::isEmpty()</a>, <a class="el" href="qwt__abstract__scale__draw_8cpp-source.html#l00361">QwtAbstractScaleDraw::label()</a>, <a class="el" href="qwt__abstract__scale__draw_8cpp-source.html#l00345">QwtAbstractScaleDraw::majTickLength()</a>, <a class="el" href="qwt__abstract__scale__draw_8cpp-source.html#l00126">QwtAbstractScaleDraw::map()</a>, <a class="el" href="qwt__abstract__scale__draw_8cpp-source.html#l00293">QwtAbstractScaleDraw::minimumExtent()</a>, <a class="el" href="qwt__abstract__scale__draw_8cpp-source.html#l00138">QwtAbstractScaleDraw::scaleDiv()</a>, <a class="el" href="qwt__abstract__scale__draw_8cpp-source.html#l00263">QwtAbstractScaleDraw::spacing()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00510">QwtText::textSize()</a>, <a class="el" href="qwt__abstract__scale__draw_8cpp-source.html#l00379">QwtAbstractScaleDraw::tickLabel()</a>, <a class="el" href="qwt__scale__div_8cpp-source.html#l00160">QwtScaleDiv::ticks()</a>, and <a class="el" href="qwt__scale__map_8h-source.html#l00175">QwtScaleMap::transform()</a>.
381
Referenced by <a class="el" href="qwt__knob_8cpp-source.html#l00536">QwtKnob::minimumSizeHint()</a>.
384
<a class="anchor" name="58fb1c23cc215724883eb96cbf551b06"></a><!-- doxytag: member="QwtRoundScaleDraw::drawTick" ref="58fb1c23cc215724883eb96cbf551b06" args="(QPainter *p, double val, int len) const" -->
385
<div class="memitem">
386
<div class="memproto">
387
<table class="memname">
389
<td class="memname">void QwtRoundScaleDraw::drawTick </td>
391
<td class="paramtype">QPainter * </td>
392
<td class="paramname"> <em>painter</em>, </td>
395
<td class="paramkey"></td>
397
<td class="paramtype">double </td>
398
<td class="paramname"> <em>value</em>, </td>
401
<td class="paramkey"></td>
403
<td class="paramtype">int </td>
404
<td class="paramname"> <em>len</em></td><td> </td>
409
<td></td><td></td><td width="100%"> const<code> [protected, virtual]</code></td>
417
<dl compact><dt><b>Parameters:</b></dt><dd>
418
<table border="0" cellspacing="2" cellpadding="0">
419
<tr><td valign="top"></td><td valign="top"><em>painter</em> </td><td>Painter </td></tr>
420
<tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>Value of the tick </td></tr>
421
<tr><td valign="top"></td><td valign="top"><em>len</em> </td><td>Lenght of the tick</td></tr>
424
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_round_scale_draw.html#845dc48b006ee168415112f39e80da09">drawBackbone()</a>, <a class="el" href="class_qwt_round_scale_draw.html#35cc3c8f1fe89b27e7bf2d57c7560bd8">drawLabel()</a> </dd></dl>
427
Implements <a class="el" href="class_qwt_abstract_scale_draw.html#c6731a1766e5c5a845dbeff37747b8f0">QwtAbstractScaleDraw</a>.
429
Definition at line <a class="el" href="qwt__round__scale__draw_8cpp-source.html#l00205">205</a> of file <a class="el" href="qwt__round__scale__draw_8cpp-source.html">qwt_round_scale_draw.cpp</a>.
431
References <a class="el" href="qwt__painter_8cpp-source.html#l00424">QwtPainter::drawLine()</a>, <a class="el" href="qwt__abstract__scale__draw_8cpp-source.html#l00126">QwtAbstractScaleDraw::map()</a>, <a class="el" href="qwt__round__scale__draw_8cpp-source.html#l00096">radius()</a>, and <a class="el" href="qwt__scale__map_8h-source.html#l00175">QwtScaleMap::transform()</a>.
434
<a class="anchor" name="845dc48b006ee168415112f39e80da09"></a><!-- doxytag: member="QwtRoundScaleDraw::drawBackbone" ref="845dc48b006ee168415112f39e80da09" args="(QPainter *p) const " -->
435
<div class="memitem">
436
<div class="memproto">
437
<table class="memname">
439
<td class="memname">void QwtRoundScaleDraw::drawBackbone </td>
441
<td class="paramtype">QPainter * </td>
442
<td class="paramname"> <em>painter</em> </td>
443
<td> ) </td>
444
<td width="100%"> const<code> [protected, virtual]</code></td>
451
Draws the baseline of the scale <dl compact><dt><b>Parameters:</b></dt><dd>
452
<table border="0" cellspacing="2" cellpadding="0">
453
<tr><td valign="top"></td><td valign="top"><em>painter</em> </td><td>Painter</td></tr>
456
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_round_scale_draw.html#58fb1c23cc215724883eb96cbf551b06">drawTick()</a>, <a class="el" href="class_qwt_round_scale_draw.html#35cc3c8f1fe89b27e7bf2d57c7560bd8">drawLabel()</a> </dd></dl>
459
Implements <a class="el" href="class_qwt_abstract_scale_draw.html#546662a216e35819b673afc29bf468e8">QwtAbstractScaleDraw</a>.
461
Definition at line <a class="el" href="qwt__round__scale__draw_8cpp-source.html#l00239">239</a> of file <a class="el" href="qwt__round__scale__draw_8cpp-source.html">qwt_round_scale_draw.cpp</a>.
463
References <a class="el" href="qwt__abstract__scale__draw_8cpp-source.html#l00126">QwtAbstractScaleDraw::map()</a>, and <a class="el" href="qwt__round__scale__draw_8cpp-source.html#l00096">radius()</a>.
466
<a class="anchor" name="35cc3c8f1fe89b27e7bf2d57c7560bd8"></a><!-- doxytag: member="QwtRoundScaleDraw::drawLabel" ref="35cc3c8f1fe89b27e7bf2d57c7560bd8" args="(QPainter *p, double val) const" -->
467
<div class="memitem">
468
<div class="memproto">
469
<table class="memname">
471
<td class="memname">void QwtRoundScaleDraw::drawLabel </td>
473
<td class="paramtype">QPainter * </td>
474
<td class="paramname"> <em>painter</em>, </td>
477
<td class="paramkey"></td>
479
<td class="paramtype">double </td>
480
<td class="paramname"> <em>value</em></td><td> </td>
485
<td></td><td></td><td width="100%"> const<code> [protected, virtual]</code></td>
492
Draws the label for a major scale tick<p>
493
<dl compact><dt><b>Parameters:</b></dt><dd>
494
<table border="0" cellspacing="2" cellpadding="0">
495
<tr><td valign="top"></td><td valign="top"><em>painter</em> </td><td>Painter </td></tr>
496
<tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>Value</td></tr>
499
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_round_scale_draw.html#58fb1c23cc215724883eb96cbf551b06">drawTick()</a>, <a class="el" href="class_qwt_round_scale_draw.html#845dc48b006ee168415112f39e80da09">drawBackbone()</a> </dd></dl>
502
Implements <a class="el" href="class_qwt_abstract_scale_draw.html#c49fa39668e35ef92a49834a545711b9">QwtAbstractScaleDraw</a>.
504
Definition at line <a class="el" href="qwt__round__scale__draw_8cpp-source.html#l00160">160</a> of file <a class="el" href="qwt__round__scale__draw_8cpp-source.html">qwt_round_scale_draw.cpp</a>.
506
References <a class="el" href="qwt__text_8cpp-source.html#l00564">QwtText::draw()</a>, <a class="el" href="qwt__abstract__scale__draw_8cpp-source.html#l00099">QwtAbstractScaleDraw::hasComponent()</a>, <a class="el" href="qwt__text_8h-source.html#l00152">QwtText::isEmpty()</a>, <a class="el" href="qwt__abstract__scale__draw_8cpp-source.html#l00361">QwtAbstractScaleDraw::label()</a>, <a class="el" href="qwt__abstract__scale__draw_8cpp-source.html#l00345">QwtAbstractScaleDraw::majTickLength()</a>, <a class="el" href="qwt__abstract__scale__draw_8cpp-source.html#l00126">QwtAbstractScaleDraw::map()</a>, <a class="el" href="qwt__round__scale__draw_8cpp-source.html#l00096">radius()</a>, <a class="el" href="qwt__abstract__scale__draw_8cpp-source.html#l00263">QwtAbstractScaleDraw::spacing()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00510">QwtText::textSize()</a>, <a class="el" href="qwt__abstract__scale__draw_8cpp-source.html#l00379">QwtAbstractScaleDraw::tickLabel()</a>, and <a class="el" href="qwt__scale__map_8h-source.html#l00175">QwtScaleMap::transform()</a>.
509
<hr size="1"><address style="align: right;"><small>Generated on Thu May 1 15:45:42 2008 for Qwt User's Guide by
510
<a href="http://www.doxygen.org/index.html">
511
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>