Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > b8336ccf169767ec076cad8fc60ead6c > files > 411

lib64qwt-devel-6.0.1-6.mga4.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Qwt User&#39;s Guide: QwtMathMLDocument Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Qwt User's Guide&#160;<span id="projectnumber">6.0.1</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>QwtMathMLDocument Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="QwtMathMLDocument" -->
<p>The <a class="el" href="class_qwt_math_m_l_document.html" title="The QwtMathMLDocument class renders mathematical formulas written in MathML 2.0.">QwtMathMLDocument</a> class renders mathematical formulas written in MathML 2.0.  
<a href="#_details">More...</a></p>

<p><a href="class_qwt_math_m_l_document-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><b>MmlFont</b> { <br/>
&#160;&#160;<b>NormalFont</b>, 
<br/>
&#160;&#160;<b>FrakturFont</b>, 
<br/>
&#160;&#160;<b>SansSerifFont</b>, 
<br/>
&#160;&#160;<b>ScriptFont</b>, 
<br/>
&#160;&#160;<b>MonospaceFont</b>, 
<br/>
&#160;&#160;<b>DoublestruckFont</b>
<br/>
 }</td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_math_m_l_document.html#a372e36680e26ee8f349959ce30949feb">baseFontPointSize</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_math_m_l_document.html#a243260ea9ce5468606279739adfbc3a2">clear</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_math_m_l_document.html#a679627a13a863fda316c7e55c6d15e46">fontName</a> (MmlFont type) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_math_m_l_document.html#a9c156e39133e6fe833771720d9e85a5c">paint</a> (QPainter *p, const QPoint &amp;pos) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_math_m_l_document.html#a144eb567719a791ee7de374d41883a0c">QwtMathMLDocument</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_math_m_l_document.html#aa9c466af2259bebce52b404cfc0fd96c">setBaseFontPointSize</a> (int size)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_math_m_l_document.html#a1f694b8281939dd6dd3c8fd0c5bd35b5">setContent</a> (QString text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_math_m_l_document.html#a2cc36b5310fec8d912f94e81e8ed3c46">setFontName</a> (MmlFont type, const QString &amp;name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QSize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_math_m_l_document.html#ae90842d4e723f3d34b19ede81a71d8f6">size</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_math_m_l_document.html#a4133865bb9ba44b847cf6e31dc762b04">~QwtMathMLDocument</a> ()</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="class_qwt_math_m_l_document.html" title="The QwtMathMLDocument class renders mathematical formulas written in MathML 2.0.">QwtMathMLDocument</a> class renders mathematical formulas written in MathML 2.0. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a144eb567719a791ee7de374d41883a0c"></a><!-- doxytag: member="QwtMathMLDocument::QwtMathMLDocument" ref="a144eb567719a791ee7de374d41883a0c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtMathMLDocument::QwtMathMLDocument </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructs an empty MML document. </p>

</div>
</div>
<a class="anchor" id="a4133865bb9ba44b847cf6e31dc762b04"></a><!-- doxytag: member="QwtMathMLDocument::~QwtMathMLDocument" ref="a4133865bb9ba44b847cf6e31dc762b04" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtMathMLDocument::~QwtMathMLDocument </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destroys the MML document. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a372e36680e26ee8f349959ce30949feb"></a><!-- doxytag: member="QwtMathMLDocument::baseFontPointSize" ref="a372e36680e26ee8f349959ce30949feb" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QwtMathMLDocument::baseFontPointSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the point size of the font used to render expressions whose scriptlevel is 0.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_math_m_l_document.html#aa9c466af2259bebce52b404cfc0fd96c">setBaseFontPointSize()</a> <a class="el" href="class_qwt_math_m_l_document.html#a679627a13a863fda316c7e55c6d15e46">fontName()</a> <a class="el" href="class_qwt_math_m_l_document.html#a2cc36b5310fec8d912f94e81e8ed3c46">setFontName()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a243260ea9ce5468606279739adfbc3a2"></a><!-- doxytag: member="QwtMathMLDocument::clear" ref="a243260ea9ce5468606279739adfbc3a2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtMathMLDocument::clear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Clears the contents of this MML document. </p>

</div>
</div>
<a class="anchor" id="a679627a13a863fda316c7e55c6d15e46"></a><!-- doxytag: member="QwtMathMLDocument::fontName" ref="a679627a13a863fda316c7e55c6d15e46" args="(MmlFont type) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString QwtMathMLDocument::fontName </td>
          <td>(</td>
          <td class="paramtype">QwtMathMLDocument::MmlFont&#160;</td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the name of the font used to render the font <em>type</em>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_math_m_l_document.html#a2cc36b5310fec8d912f94e81e8ed3c46">setFontName()</a> <a class="el" href="class_qwt_math_m_l_document.html#aa9c466af2259bebce52b404cfc0fd96c">setBaseFontPointSize()</a> <a class="el" href="class_qwt_math_m_l_document.html#a372e36680e26ee8f349959ce30949feb">baseFontPointSize()</a> QwtMathMLDocument::MmlFont </dd></dl>

</div>
</div>
<a class="anchor" id="a9c156e39133e6fe833771720d9e85a5c"></a><!-- doxytag: member="QwtMathMLDocument::paint" ref="a9c156e39133e6fe833771720d9e85a5c" args="(QPainter *p, const QPoint &amp;pos) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtMathMLDocument::paint </td>
          <td>(</td>
          <td class="paramtype">QPainter *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QPoint &amp;&#160;</td>
          <td class="paramname"><em>pos</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Renders this MML document with the painter <em>p</em> at position <em>pos</em>. </p>

</div>
</div>
<a class="anchor" id="aa9c466af2259bebce52b404cfc0fd96c"></a><!-- doxytag: member="QwtMathMLDocument::setBaseFontPointSize" ref="aa9c466af2259bebce52b404cfc0fd96c" args="(int size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtMathMLDocument::setBaseFontPointSize </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sets the point <em>size</em> of the font used to render expressions whose scriptlevel is 0.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_math_m_l_document.html#a372e36680e26ee8f349959ce30949feb">baseFontPointSize()</a> <a class="el" href="class_qwt_math_m_l_document.html#a679627a13a863fda316c7e55c6d15e46">fontName()</a> <a class="el" href="class_qwt_math_m_l_document.html#a2cc36b5310fec8d912f94e81e8ed3c46">setFontName()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a1f694b8281939dd6dd3c8fd0c5bd35b5"></a><!-- doxytag: member="QwtMathMLDocument::setContent" ref="a1f694b8281939dd6dd3c8fd0c5bd35b5" args="(QString text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QwtMathMLDocument::setContent </td>
          <td>(</td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QString *&#160;</td>
          <td class="paramname"><em>errorMsg</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>errorLine</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>errorColumn</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sets the MathML expression to be rendered. The expression is given in the string <em>text</em>. If the expression is successfully parsed, this method returns true; otherwise it returns false. If an error occured <em>errorMsg</em> is set to a diagnostic message, while <em>errorLine</em> and <em>errorColumn</em> contain the location of the error. Any of <em>errorMsg</em>, <em>errorLine</em> and <em>errorColumn</em> may be 0, in which case they are not set.</p>
<p><em>text</em> should contain MathML 2.0 presentation markup elements enclosed in a &lt;math&gt; element. </p>

</div>
</div>
<a class="anchor" id="a2cc36b5310fec8d912f94e81e8ed3c46"></a><!-- doxytag: member="QwtMathMLDocument::setFontName" ref="a2cc36b5310fec8d912f94e81e8ed3c46" args="(MmlFont type, const QString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtMathMLDocument::setFontName </td>
          <td>(</td>
          <td class="paramtype">QwtMathMLDocument::MmlFont&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sets the name of the font used to render the font <em>type</em> to <em>name</em>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_math_m_l_document.html#a679627a13a863fda316c7e55c6d15e46">fontName()</a> <a class="el" href="class_qwt_math_m_l_document.html#aa9c466af2259bebce52b404cfc0fd96c">setBaseFontPointSize()</a> <a class="el" href="class_qwt_math_m_l_document.html#a372e36680e26ee8f349959ce30949feb">baseFontPointSize()</a> QwtMathMLDocument::MmlFont </dd></dl>

</div>
</div>
<a class="anchor" id="ae90842d4e723f3d34b19ede81a71d8f6"></a><!-- doxytag: member="QwtMathMLDocument::size" ref="ae90842d4e723f3d34b19ede81a71d8f6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QSize QwtMathMLDocument::size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the size of this MML document, as rendered, in pixels. </p>

</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>Generated by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>