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

« back to all changes in this revision

Viewing changes to qwt-5.0.2/doc/html/class_qwt_math_m_l_text_engine.html

  • 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
<!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&apos;s Guide: QwtMathMLTextEngine Class Reference</title>
 
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
 
5
<link href="tabs.css" rel="stylesheet" type="text/css">
 
6
</head><body>
 
7
<!-- Generated by Doxygen 1.4.6 -->
 
8
<div class="tabs">
 
9
  <ul>
 
10
    <li><a href="index.html"><span>Main&nbsp;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&nbsp;Pages</span></a></li>
 
14
  </ul></div>
 
15
<div class="tabs">
 
16
  <ul>
 
17
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
 
18
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
 
19
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
 
20
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
 
21
  </ul></div>
 
22
<h1>QwtMathMLTextEngine Class Reference</h1><!-- doxytag: class="QwtMathMLTextEngine" --><!-- doxytag: inherits="QwtTextEngine" -->Inheritance diagram for QwtMathMLTextEngine:<p><center><img src="class_qwt_math_m_l_text_engine__inherit__graph.png" border="0" usemap="#_qwt_math_m_l_text_engine__inherit__map" alt="Inheritance graph"></center>
 
23
<map name="_qwt_math_m_l_text_engine__inherit__map">
 
24
<area href="class_qwt_text_engine.html" shape="rect" coords="30,8,142,32" alt="">
 
25
</map>
 
26
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for QwtMathMLTextEngine:<p><center><img src="class_qwt_math_m_l_text_engine__coll__graph.png" border="0" usemap="#_qwt_math_m_l_text_engine__coll__map" alt="Collaboration graph"></center>
 
27
<map name="_qwt_math_m_l_text_engine__coll__map">
 
28
<area href="class_qwt_text_engine.html" shape="rect" coords="30,8,142,32" alt="">
 
29
</map>
 
30
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_qwt_math_m_l_text_engine-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
 
31
Text Engine for the MathML renderer of the Qt solutions package. 
 
32
<p>
 
33
The Qt Solution package includes a renderer for MathML <a href="http://www.trolltech.com/products/qt/addon/solutions/catalog/4/Widgets/qtmmlwidget">http://www.trolltech.com/products/qt/addon/solutions/catalog/4/Widgets/qtmmlwidget</a> that is available for owners of a commercial Qt license. You need a version &gt;= 2.1, that is only available for Qt4.<p>
 
34
To enable MathML support the following code needs to be added to the application: <div class="fragment"><pre class="fragment">#include &lt;qwt_mathml_text_engine.h&gt;
 
35
 
 
36
QwtText::setTextEngine(QwtText::MathMLText, new QwtMathMLTextEngine());
 
37
  </pre></div><p>
 
38
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_text_engine.html">QwtTextEngine</a>, <a class="el" href="class_qwt_text.html#ef6a1e71b1feba3116ce69f6c9de70ad">QwtText::setTextEngine</a> </dd></dl>
 
39
<dl compact><dt><b>Warning:</b></dt><dd>Unfortunately the MathML renderer doesn't support rotating of texts. </dd></dl>
 
40
 
 
41
<p>
 
42
 
 
43
<p>
 
44
Definition at line <a class="el" href="qwt__mathml__text__engine_8h-source.html#l00039">39</a> of file <a class="el" href="qwt__mathml__text__engine_8h-source.html">qwt_mathml_text_engine.h</a>.<table border="0" cellpadding="0" cellspacing="0">
 
45
<tr><td></td></tr>
 
46
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
 
47
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_math_m_l_text_engine.html#f88b085974808e0497d120044672f721">QwtMathMLTextEngine</a> ()</td></tr>
 
48
 
 
49
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_math_m_l_text_engine.html#864d4265a7621e7389b21d419e6503ff">~QwtMathMLTextEngine</a> ()</td></tr>
 
50
 
 
51
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_math_m_l_text_engine.html#2af5e9efb10eee9c28cce50699cdfdab">heightForWidth</a> (const QFont &amp;font, int flags, const QString &amp;text, int width) const </td></tr>
 
52
 
 
53
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QSize&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_math_m_l_text_engine.html#ecb16b442a1ff15418dc31860e11c27b">textSize</a> (const QFont &amp;font, int flags, const QString &amp;text) const </td></tr>
 
54
 
 
55
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_math_m_l_text_engine.html#476c19642bf2c69a1abf0021547a1d7e">draw</a> (QPainter *painter, const QRect &amp;rect, int flags, const QString &amp;text) const </td></tr>
 
56
 
 
57
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_math_m_l_text_engine.html#59ca5842c32fd12cfd2aeeef5c985600">mightRender</a> (const QString &amp;) const </td></tr>
 
58
 
 
59
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_math_m_l_text_engine.html#21ae25c70e4ff79cde60072e4bd75a29">textMargins</a> (const QFont &amp;, const QString &amp;, int &amp;left, int &amp;right, int &amp;top, int &amp;bottom) const </td></tr>
 
60
 
 
61
</table>
 
62
<hr><h2>Constructor &amp; Destructor Documentation</h2>
 
63
<a class="anchor" name="f88b085974808e0497d120044672f721"></a><!-- doxytag: member="QwtMathMLTextEngine::QwtMathMLTextEngine" ref="f88b085974808e0497d120044672f721" args="()" --><p>
 
64
<table class="mdTable" cellpadding="2" cellspacing="0">
 
65
  <tr>
 
66
    <td class="mdRow">
 
67
      <table cellpadding="0" cellspacing="0" border="0">
 
68
        <tr>
 
69
          <td class="md" nowrap valign="top">QwtMathMLTextEngine::QwtMathMLTextEngine           </td>
 
70
          <td class="md" valign="top">(&nbsp;</td>
 
71
          <td class="mdname1" valign="top" nowrap>          </td>
 
72
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
73
          <td class="md" nowrap></td>
 
74
        </tr>
 
75
      </table>
 
76
    </td>
 
77
  </tr>
 
78
</table>
 
79
<table cellspacing="5" cellpadding="0" border="0">
 
80
  <tr>
 
81
    <td>
 
82
      &nbsp;
 
83
    </td>
 
84
    <td>
 
85
 
 
86
<p>
 
87
Constructor. 
 
88
<p>
 
89
 
 
90
<p>
 
91
Definition at line <a class="el" href="qwt__mathml__text__engine_8cpp-source.html#l00022">22</a> of file <a class="el" href="qwt__mathml__text__engine_8cpp-source.html">qwt_mathml_text_engine.cpp</a>.    </td>
 
92
  </tr>
 
93
</table>
 
94
<a class="anchor" name="864d4265a7621e7389b21d419e6503ff"></a><!-- doxytag: member="QwtMathMLTextEngine::~QwtMathMLTextEngine" ref="864d4265a7621e7389b21d419e6503ff" args="()" --><p>
 
95
<table class="mdTable" cellpadding="2" cellspacing="0">
 
96
  <tr>
 
97
    <td class="mdRow">
 
98
      <table cellpadding="0" cellspacing="0" border="0">
 
99
        <tr>
 
100
          <td class="md" nowrap valign="top">QwtMathMLTextEngine::~QwtMathMLTextEngine           </td>
 
101
          <td class="md" valign="top">(&nbsp;</td>
 
102
          <td class="mdname1" valign="top" nowrap>          </td>
 
103
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
104
          <td class="md" nowrap><code> [virtual]</code></td>
 
105
        </tr>
 
106
      </table>
 
107
    </td>
 
108
  </tr>
 
109
</table>
 
110
<table cellspacing="5" cellpadding="0" border="0">
 
111
  <tr>
 
112
    <td>
 
113
      &nbsp;
 
114
    </td>
 
115
    <td>
 
116
 
 
117
<p>
 
118
Destructor. 
 
119
<p>
 
120
 
 
121
<p>
 
122
Definition at line <a class="el" href="qwt__mathml__text__engine_8cpp-source.html#l00027">27</a> of file <a class="el" href="qwt__mathml__text__engine_8cpp-source.html">qwt_mathml_text_engine.cpp</a>.    </td>
 
123
  </tr>
 
124
</table>
 
125
<hr><h2>Member Function Documentation</h2>
 
126
<a class="anchor" name="476c19642bf2c69a1abf0021547a1d7e"></a><!-- doxytag: member="QwtMathMLTextEngine::draw" ref="476c19642bf2c69a1abf0021547a1d7e" args="(QPainter *painter, const QRect &amp;rect, int flags, const QString &amp;text) const " --><p>
 
127
<table class="mdTable" cellpadding="2" cellspacing="0">
 
128
  <tr>
 
129
    <td class="mdRow">
 
130
      <table cellpadding="0" cellspacing="0" border="0">
 
131
        <tr>
 
132
          <td class="md" nowrap valign="top">void QwtMathMLTextEngine::draw           </td>
 
133
          <td class="md" valign="top">(&nbsp;</td>
 
134
          <td class="md" nowrap valign="top">QPainter *&nbsp;</td>
 
135
          <td class="mdname" nowrap> <em>painter</em>, </td>
 
136
        </tr>
 
137
        <tr>
 
138
          <td class="md" nowrap align="right"></td>
 
139
          <td class="md"></td>
 
140
          <td class="md" nowrap>const QRect &amp;&nbsp;</td>
 
141
          <td class="mdname" nowrap> <em>rect</em>, </td>
 
142
        </tr>
 
143
        <tr>
 
144
          <td class="md" nowrap align="right"></td>
 
145
          <td class="md"></td>
 
146
          <td class="md" nowrap>int&nbsp;</td>
 
147
          <td class="mdname" nowrap> <em>flags</em>, </td>
 
148
        </tr>
 
149
        <tr>
 
150
          <td class="md" nowrap align="right"></td>
 
151
          <td class="md"></td>
 
152
          <td class="md" nowrap>const QString &amp;&nbsp;</td>
 
153
          <td class="mdname" nowrap> <em>text</em></td>
 
154
        </tr>
 
155
        <tr>
 
156
          <td class="md"></td>
 
157
          <td class="md">)&nbsp;</td>
 
158
          <td class="md" colspan="2"> const<code> [virtual]</code></td>
 
159
        </tr>
 
160
      </table>
 
161
    </td>
 
162
  </tr>
 
163
</table>
 
164
<table cellspacing="5" cellpadding="0" border="0">
 
165
  <tr>
 
166
    <td>
 
167
      &nbsp;
 
168
    </td>
 
169
    <td>
 
170
 
 
171
<p>
 
172
Draw the text in a clipping rectangle<p>
 
173
<dl compact><dt><b>Parameters:</b></dt><dd>
 
174
  <table border="0" cellspacing="2" cellpadding="0">
 
175
    <tr><td valign="top"></td><td valign="top"><em>painter</em>&nbsp;</td><td>Painter </td></tr>
 
176
    <tr><td valign="top"></td><td valign="top"><em>rect</em>&nbsp;</td><td>Clipping rectangle </td></tr>
 
177
    <tr><td valign="top"></td><td valign="top"><em>flags</em>&nbsp;</td><td>Bitwise OR of the flags like in for QPainter::drawText </td></tr>
 
178
    <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>Text to be rendered </td></tr>
 
179
  </table>
 
180
</dl>
 
181
 
 
182
<p>
 
183
Implements <a class="el" href="class_qwt_text_engine.html#cf750dd01aa35f5c9fc836460c30d663">QwtTextEngine</a>.
 
184
<p>
 
185
Definition at line <a class="el" href="qwt__mathml__text__engine_8cpp-source.html#l00097">97</a> of file <a class="el" href="qwt__mathml__text__engine_8cpp-source.html">qwt_mathml_text_engine.cpp</a>.    </td>
 
186
  </tr>
 
187
</table>
 
188
<a class="anchor" name="2af5e9efb10eee9c28cce50699cdfdab"></a><!-- doxytag: member="QwtMathMLTextEngine::heightForWidth" ref="2af5e9efb10eee9c28cce50699cdfdab" args="(const QFont &amp;font, int flags, const QString &amp;text, int width) const " --><p>
 
189
<table class="mdTable" cellpadding="2" cellspacing="0">
 
190
  <tr>
 
191
    <td class="mdRow">
 
192
      <table cellpadding="0" cellspacing="0" border="0">
 
193
        <tr>
 
194
          <td class="md" nowrap valign="top">int QwtMathMLTextEngine::heightForWidth           </td>
 
195
          <td class="md" valign="top">(&nbsp;</td>
 
196
          <td class="md" nowrap valign="top">const QFont &amp;&nbsp;</td>
 
197
          <td class="mdname" nowrap> <em>font</em>, </td>
 
198
        </tr>
 
199
        <tr>
 
200
          <td class="md" nowrap align="right"></td>
 
201
          <td class="md"></td>
 
202
          <td class="md" nowrap>int&nbsp;</td>
 
203
          <td class="mdname" nowrap> <em>flags</em>, </td>
 
204
        </tr>
 
205
        <tr>
 
206
          <td class="md" nowrap align="right"></td>
 
207
          <td class="md"></td>
 
208
          <td class="md" nowrap>const QString &amp;&nbsp;</td>
 
209
          <td class="mdname" nowrap> <em>text</em>, </td>
 
210
        </tr>
 
211
        <tr>
 
212
          <td class="md" nowrap align="right"></td>
 
213
          <td class="md"></td>
 
214
          <td class="md" nowrap>int&nbsp;</td>
 
215
          <td class="mdname" nowrap> <em>width</em></td>
 
216
        </tr>
 
217
        <tr>
 
218
          <td class="md"></td>
 
219
          <td class="md">)&nbsp;</td>
 
220
          <td class="md" colspan="2"> const<code> [virtual]</code></td>
 
221
        </tr>
 
222
      </table>
 
223
    </td>
 
224
  </tr>
 
225
</table>
 
226
<table cellspacing="5" cellpadding="0" border="0">
 
227
  <tr>
 
228
    <td>
 
229
      &nbsp;
 
230
    </td>
 
231
    <td>
 
232
 
 
233
<p>
 
234
Find the height for a given width<p>
 
235
<dl compact><dt><b>Parameters:</b></dt><dd>
 
236
  <table border="0" cellspacing="2" cellpadding="0">
 
237
    <tr><td valign="top"></td><td valign="top"><em>font</em>&nbsp;</td><td>Font of the text </td></tr>
 
238
    <tr><td valign="top"></td><td valign="top"><em>flags</em>&nbsp;</td><td>Bitwise OR of the flags used like in QPainter::drawText </td></tr>
 
239
    <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>Text to be rendered </td></tr>
 
240
    <tr><td valign="top"></td><td valign="top"><em>width</em>&nbsp;</td><td>Width</td></tr>
 
241
  </table>
 
242
</dl>
 
243
<dl compact><dt><b>Returns:</b></dt><dd>Calculated height </dd></dl>
 
244
 
 
245
<p>
 
246
Implements <a class="el" href="class_qwt_text_engine.html#ac1112e5b1005d020d596dd174bbabf6">QwtTextEngine</a>.
 
247
<p>
 
248
Definition at line <a class="el" href="qwt__mathml__text__engine_8cpp-source.html#l00041">41</a> of file <a class="el" href="qwt__mathml__text__engine_8cpp-source.html">qwt_mathml_text_engine.cpp</a>.
 
249
<p>
 
250
References <a class="el" href="qwt__mathml__text__engine_8cpp-source.html#l00056">textSize()</a>.    </td>
 
251
  </tr>
 
252
</table>
 
253
<a class="anchor" name="59ca5842c32fd12cfd2aeeef5c985600"></a><!-- doxytag: member="QwtMathMLTextEngine::mightRender" ref="59ca5842c32fd12cfd2aeeef5c985600" args="(const QString &amp;) const " --><p>
 
254
<table class="mdTable" cellpadding="2" cellspacing="0">
 
255
  <tr>
 
256
    <td class="mdRow">
 
257
      <table cellpadding="0" cellspacing="0" border="0">
 
258
        <tr>
 
259
          <td class="md" nowrap valign="top">bool QwtMathMLTextEngine::mightRender           </td>
 
260
          <td class="md" valign="top">(&nbsp;</td>
 
261
          <td class="md" nowrap valign="top">const QString &amp;&nbsp;</td>
 
262
          <td class="mdname1" valign="top" nowrap> <em>text</em>          </td>
 
263
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
264
          <td class="md" nowrap> const<code> [virtual]</code></td>
 
265
        </tr>
 
266
      </table>
 
267
    </td>
 
268
  </tr>
 
269
</table>
 
270
<table cellspacing="5" cellpadding="0" border="0">
 
271
  <tr>
 
272
    <td>
 
273
      &nbsp;
 
274
    </td>
 
275
    <td>
 
276
 
 
277
<p>
 
278
Test if a string can be rendered by <a class="el" href="class_qwt_math_m_l_text_engine.html">QwtMathMLTextEngine</a><p>
 
279
<dl compact><dt><b>Parameters:</b></dt><dd>
 
280
  <table border="0" cellspacing="2" cellpadding="0">
 
281
    <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>Text to be tested </td></tr>
 
282
  </table>
 
283
</dl>
 
284
<dl compact><dt><b>Returns:</b></dt><dd>true, if text begins with "&lt;math&gt;". </dd></dl>
 
285
 
 
286
<p>
 
287
Implements <a class="el" href="class_qwt_text_engine.html#98316f2f6f4f50216ceffbe9babe2901">QwtTextEngine</a>.
 
288
<p>
 
289
Definition at line <a class="el" href="qwt__mathml__text__engine_8cpp-source.html#l00131">131</a> of file <a class="el" href="qwt__mathml__text__engine_8cpp-source.html">qwt_mathml_text_engine.cpp</a>.    </td>
 
290
  </tr>
 
291
</table>
 
292
<a class="anchor" name="21ae25c70e4ff79cde60072e4bd75a29"></a><!-- doxytag: member="QwtMathMLTextEngine::textMargins" ref="21ae25c70e4ff79cde60072e4bd75a29" args="(const QFont &amp;, const QString &amp;, int &amp;left, int &amp;right, int &amp;top, int &amp;bottom) const " --><p>
 
293
<table class="mdTable" cellpadding="2" cellspacing="0">
 
294
  <tr>
 
295
    <td class="mdRow">
 
296
      <table cellpadding="0" cellspacing="0" border="0">
 
297
        <tr>
 
298
          <td class="md" nowrap valign="top">void QwtMathMLTextEngine::textMargins           </td>
 
299
          <td class="md" valign="top">(&nbsp;</td>
 
300
          <td class="md" nowrap valign="top">const QFont &amp;&nbsp;</td>
 
301
          <td class="mdname" nowrap>, </td>
 
302
        </tr>
 
303
        <tr>
 
304
          <td class="md" nowrap align="right"></td>
 
305
          <td class="md"></td>
 
306
          <td class="md" nowrap>const QString &amp;&nbsp;</td>
 
307
          <td class="mdname" nowrap>, </td>
 
308
        </tr>
 
309
        <tr>
 
310
          <td class="md" nowrap align="right"></td>
 
311
          <td class="md"></td>
 
312
          <td class="md" nowrap>int &amp;&nbsp;</td>
 
313
          <td class="mdname" nowrap> <em>left</em>, </td>
 
314
        </tr>
 
315
        <tr>
 
316
          <td class="md" nowrap align="right"></td>
 
317
          <td class="md"></td>
 
318
          <td class="md" nowrap>int &amp;&nbsp;</td>
 
319
          <td class="mdname" nowrap> <em>right</em>, </td>
 
320
        </tr>
 
321
        <tr>
 
322
          <td class="md" nowrap align="right"></td>
 
323
          <td class="md"></td>
 
324
          <td class="md" nowrap>int &amp;&nbsp;</td>
 
325
          <td class="mdname" nowrap> <em>top</em>, </td>
 
326
        </tr>
 
327
        <tr>
 
328
          <td class="md" nowrap align="right"></td>
 
329
          <td class="md"></td>
 
330
          <td class="md" nowrap>int &amp;&nbsp;</td>
 
331
          <td class="mdname" nowrap> <em>bottom</em></td>
 
332
        </tr>
 
333
        <tr>
 
334
          <td class="md"></td>
 
335
          <td class="md">)&nbsp;</td>
 
336
          <td class="md" colspan="2"> const<code> [virtual]</code></td>
 
337
        </tr>
 
338
      </table>
 
339
    </td>
 
340
  </tr>
 
341
</table>
 
342
<table cellspacing="5" cellpadding="0" border="0">
 
343
  <tr>
 
344
    <td>
 
345
      &nbsp;
 
346
    </td>
 
347
    <td>
 
348
 
 
349
<p>
 
350
Return margins around the texts<p>
 
351
<dl compact><dt><b>Parameters:</b></dt><dd>
 
352
  <table border="0" cellspacing="2" cellpadding="0">
 
353
    <tr><td valign="top"></td><td valign="top"><em>left</em>&nbsp;</td><td>Return 0 </td></tr>
 
354
    <tr><td valign="top"></td><td valign="top"><em>right</em>&nbsp;</td><td>Return 0 </td></tr>
 
355
    <tr><td valign="top"></td><td valign="top"><em>top</em>&nbsp;</td><td>Return 0 </td></tr>
 
356
    <tr><td valign="top"></td><td valign="top"><em>bottom</em>&nbsp;</td><td>Return 0 </td></tr>
 
357
  </table>
 
358
</dl>
 
359
 
 
360
<p>
 
361
Implements <a class="el" href="class_qwt_text_engine.html#d84ebda640e65f23ebd758cd545a5b9a">QwtTextEngine</a>.
 
362
<p>
 
363
Definition at line <a class="el" href="qwt__mathml__text__engine_8cpp-source.html#l00083">83</a> of file <a class="el" href="qwt__mathml__text__engine_8cpp-source.html">qwt_mathml_text_engine.cpp</a>.    </td>
 
364
  </tr>
 
365
</table>
 
366
<a class="anchor" name="ecb16b442a1ff15418dc31860e11c27b"></a><!-- doxytag: member="QwtMathMLTextEngine::textSize" ref="ecb16b442a1ff15418dc31860e11c27b" args="(const QFont &amp;font, int flags, const QString &amp;text) const " --><p>
 
367
<table class="mdTable" cellpadding="2" cellspacing="0">
 
368
  <tr>
 
369
    <td class="mdRow">
 
370
      <table cellpadding="0" cellspacing="0" border="0">
 
371
        <tr>
 
372
          <td class="md" nowrap valign="top">QSize QwtMathMLTextEngine::textSize           </td>
 
373
          <td class="md" valign="top">(&nbsp;</td>
 
374
          <td class="md" nowrap valign="top">const QFont &amp;&nbsp;</td>
 
375
          <td class="mdname" nowrap> <em>font</em>, </td>
 
376
        </tr>
 
377
        <tr>
 
378
          <td class="md" nowrap align="right"></td>
 
379
          <td class="md"></td>
 
380
          <td class="md" nowrap>int&nbsp;</td>
 
381
          <td class="mdname" nowrap> <em>flags</em>, </td>
 
382
        </tr>
 
383
        <tr>
 
384
          <td class="md" nowrap align="right"></td>
 
385
          <td class="md"></td>
 
386
          <td class="md" nowrap>const QString &amp;&nbsp;</td>
 
387
          <td class="mdname" nowrap> <em>text</em></td>
 
388
        </tr>
 
389
        <tr>
 
390
          <td class="md"></td>
 
391
          <td class="md">)&nbsp;</td>
 
392
          <td class="md" colspan="2"> const<code> [virtual]</code></td>
 
393
        </tr>
 
394
      </table>
 
395
    </td>
 
396
  </tr>
 
397
</table>
 
398
<table cellspacing="5" cellpadding="0" border="0">
 
399
  <tr>
 
400
    <td>
 
401
      &nbsp;
 
402
    </td>
 
403
    <td>
 
404
 
 
405
<p>
 
406
Returns the size, that is needed to render text<p>
 
407
<dl compact><dt><b>Parameters:</b></dt><dd>
 
408
  <table border="0" cellspacing="2" cellpadding="0">
 
409
    <tr><td valign="top"></td><td valign="top"><em>font</em>&nbsp;</td><td>Font of the text </td></tr>
 
410
    <tr><td valign="top"></td><td valign="top"><em>flags</em>&nbsp;</td><td>Bitwise OR of the flags used like in QPainter::drawText </td></tr>
 
411
    <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>Text to be rendered</td></tr>
 
412
  </table>
 
413
</dl>
 
414
<dl compact><dt><b>Returns:</b></dt><dd>Caluclated size </dd></dl>
 
415
 
 
416
<p>
 
417
Implements <a class="el" href="class_qwt_text_engine.html#73214e1778edf6eb870fc96bf9c5091e">QwtTextEngine</a>.
 
418
<p>
 
419
Definition at line <a class="el" href="qwt__mathml__text__engine_8cpp-source.html#l00056">56</a> of file <a class="el" href="qwt__mathml__text__engine_8cpp-source.html">qwt_mathml_text_engine.cpp</a>.
 
420
<p>
 
421
Referenced by <a class="el" href="qwt__mathml__text__engine_8cpp-source.html#l00041">heightForWidth()</a>.    </td>
 
422
  </tr>
 
423
</table>
 
424
<hr size="1"><address style="align: right;"><small>Generated on Mon Jun 11 07:42:16 2007 for Qwt User's Guide by&nbsp;
 
425
<a href="http://www.doxygen.org/index.html">
 
426
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
 
427
</body>
 
428
</html>