⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 class_qwt_simple_compass_rose.html

📁 QWT5.01用于Qt开发的二维图形库程序
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>Qwt User&apos;s Guide: QwtSimpleCompassRose Class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"><link href="tabs.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.6 --><div class="tabs">  <ul>    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>    <li id="current"><a href="classes.html"><span>Classes</span></a></li>    <li><a href="files.html"><span>Files</span></a></li>    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>  </ul></div><div class="tabs">  <ul>    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>  </ul></div><h1>QwtSimpleCompassRose Class Reference</h1><!-- doxytag: class="QwtSimpleCompassRose" --><!-- doxytag: inherits="QwtCompassRose" -->Inheritance diagram for QwtSimpleCompassRose:<p><center><img src="class_qwt_simple_compass_rose__inherit__graph.png" border="0" usemap="#_qwt_simple_compass_rose__inherit__map" alt="Inheritance graph"></center><map name="_qwt_simple_compass_rose__inherit__map"><area href="class_qwt_compass_rose.html" shape="rect" coords="27,8,160,32" alt=""></map><center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for QwtSimpleCompassRose:<p><center><img src="class_qwt_simple_compass_rose__coll__graph.png" border="0" usemap="#_qwt_simple_compass_rose__coll__map" alt="Collaboration graph"></center><map name="_qwt_simple_compass_rose__coll__map"><area href="class_qwt_compass_rose.html" shape="rect" coords="27,8,160,32" alt=""></map><center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_qwt_simple_compass_rose-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>A simple rose for <a class="el" href="class_qwt_compass.html">QwtCompass</a>. <p><p>Definition at line <a class="el" href="qwt__compass__rose_8h-source.html#l00049">49</a> of file <a class="el" href="qwt__compass__rose_8h-source.html">qwt_compass_rose.h</a>.<table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_simple_compass_rose.html#66cc98efe5717eaf11fb0e713cd1aa21">QwtSimpleCompassRose</a> (int numThorns=8, int numThornLevels=-1)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_simple_compass_rose.html#e4067a436f45d2f2ca23d8233539566b">setWidth</a> (double w)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="28e7dcd6574c6239f5d15cdda93ac835"></a><!-- doxytag: member="QwtSimpleCompassRose::width" ref="28e7dcd6574c6239f5d15cdda93ac835" args="() const " -->double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_simple_compass_rose.html#28e7dcd6574c6239f5d15cdda93ac835">width</a> () const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_simple_compass_rose.html#3c86abb463eb4741d1776318d6fa557b">setNumThorns</a> (int count)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_simple_compass_rose.html#7c3270789e94e94b8d515b04372bfe0b">numThorns</a> () const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_simple_compass_rose.html#d91026da3b586a3193a264401221a275">setNumThornLevels</a> (int count)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_simple_compass_rose.html#8fa418ee344d934d556fa5719cd5ece5">numThornLevels</a> () const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="faf84e19eb8eb2360306860b02d46cfc"></a><!-- doxytag: member="QwtSimpleCompassRose::setShrinkFactor" ref="faf84e19eb8eb2360306860b02d46cfc" args="(double factor)" -->void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_simple_compass_rose.html#faf84e19eb8eb2360306860b02d46cfc">setShrinkFactor</a> (double factor)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="49ac7941c4a09f5a33e660b130d7bc2e"></a><!-- doxytag: member="QwtSimpleCompassRose::shrinkFactor" ref="49ac7941c4a09f5a33e660b130d7bc2e" args="() const " -->double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_simple_compass_rose.html#49ac7941c4a09f5a33e660b130d7bc2e">shrinkFactor</a> () const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_simple_compass_rose.html#6208b684cba67d64f4c4717b69cb9146">draw</a> (QPainter *, const QPoint &amp;center, int radius, double north, QPalette::ColorGroup=QPalette::Active) const </td></tr><tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_simple_compass_rose.html#22fec9f17882f4a9e5069e08a2007cd0">drawRose</a> (QPainter *, const QPalette &amp;, const QPoint &amp;center, int radius, double origin, double width, int numThorns, int numThornLevels, double shrinkFactor)</td></tr></table><hr><h2>Constructor &amp; Destructor Documentation</h2><a class="anchor" name="66cc98efe5717eaf11fb0e713cd1aa21"></a><!-- doxytag: member="QwtSimpleCompassRose::QwtSimpleCompassRose" ref="66cc98efe5717eaf11fb0e713cd1aa21" args="(int numThorns=8, int numThornLevels=-1)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">QwtSimpleCompassRose::QwtSimpleCompassRose           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname" nowrap> <em>numThorns</em> = <code>8</code>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>numThornLevels</em> = <code>-1</code></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Constructor<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>numThorns</em>&nbsp;</td><td>Number of thorns </td></tr>    <tr><td valign="top"></td><td valign="top"><em>numThornLevels</em>&nbsp;</td><td>Number of thorn levels </td></tr>  </table></dl><p>Definition at line <a class="el" href="qwt__compass__rose_8cpp-source.html#l00061">61</a> of file <a class="el" href="qwt__compass__rose_8cpp-source.html">qwt_compass_rose.cpp</a>.<p>References <a class="el" href="qwt__compass__rose_8h-source.html#l00027">QwtCompassRose::palette()</a>.    </td>  </tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="6208b684cba67d64f4c4717b69cb9146"></a><!-- doxytag: member="QwtSimpleCompassRose::draw" ref="6208b684cba67d64f4c4717b69cb9146" args="(QPainter *, const QPoint &amp;center, int radius, double north, QPalette::ColorGroup=QPalette::Active) const " --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">void QwtSimpleCompassRose::draw           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">QPainter *&nbsp;</td>          <td class="mdname" nowrap> <em>painter</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>const QPoint &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>center</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>radius</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>double&nbsp;</td>          <td class="mdname" nowrap> <em>north</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>QPalette::ColorGroup&nbsp;</td>          <td class="mdname" nowrap> <em>cg</em> = <code>QPalette::Active</code></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"> const<code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Draw the rose<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>painter</em>&nbsp;</td><td>Painter </td></tr>    <tr><td valign="top"></td><td valign="top"><em>center</em>&nbsp;</td><td>Center point </td></tr>    <tr><td valign="top"></td><td valign="top"><em>radius</em>&nbsp;</td><td>Radius of the rose </td></tr>    <tr><td valign="top"></td><td valign="top"><em>north</em>&nbsp;</td><td>Position </td></tr>    <tr><td valign="top"></td><td valign="top"><em>cg</em>&nbsp;</td><td>Color group </td></tr>  </table></dl><p>Implements <a class="el" href="class_qwt_compass_rose.html#c744f7261c867ce1cdfcb831f44d1f86">QwtCompassRose</a>.<p>Definition at line <a class="el" href="qwt__compass__rose_8cpp-source.html#l00098">98</a> of file <a class="el" href="qwt__compass__rose_8cpp-source.html">qwt_compass_rose.cpp</a>.<p>References <a class="el" href="qwt__compass__rose_8cpp-source.html#l00136">drawRose()</a>, and <a class="el" href="qwt__compass__rose_8h-source.html#l00027">QwtCompassRose::palette()</a>.    </td>  </tr></table><a class="anchor" name="22fec9f17882f4a9e5069e08a2007cd0"></a><!-- doxytag: member="QwtSimpleCompassRose::drawRose" ref="22fec9f17882f4a9e5069e08a2007cd0" args="(QPainter *, const QPalette &amp;, const QPoint &amp;center, int radius, double origin, double width, int numThorns, int numThornLevels, double shrinkFactor)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">void QwtSimpleCompassRose::drawRose           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">QPainter *&nbsp;</td>          <td class="mdname" nowrap> <em>painter</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>const QPalette &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>palette</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>const QPoint &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>center</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>radius</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>double&nbsp;</td>          <td class="mdname" nowrap> <em>north</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>double&nbsp;</td>          <td class="mdname" nowrap> <em>width</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>int&nbsp;</td>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -