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

📄 class_qwt_alpha_color_map.html

📁 QWT5.01用于Qt开发的二维图形库程序
💻 HTML
📖 第 1 页 / 共 2 页
字号:
    <td><p><dl compact><dt><b>Returns:</b></dt><dd>the color </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_alpha_color_map.html#372ba8791102270991473897fb36a965">setColor()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00465">465</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>.    </td>  </tr></table><a class="anchor" name="75c4858f181f327778736b6ebb9f2745"></a><!-- doxytag: member="QwtAlphaColorMap::copy" ref="75c4858f181f327778736b6ebb9f2745" args="() 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"><a class="el" href="class_qwt_color_map.html">QwtColorMap</a> * QwtAlphaColorMap::copy           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const<code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Clone the color map. <p><p>Implements <a class="el" href="class_qwt_color_map.html#97c746ff74f5fe96867dde5bde3e23f5">QwtColorMap</a>.<p>Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00441">441</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>.<p>References <a class="el" href="qwt__color__map_8cpp-source.html#l00402">QwtAlphaColorMap()</a>.    </td>  </tr></table><a class="anchor" name="7d7a1a4648d4d61604677bb772820617"></a><!-- doxytag: member="QwtAlphaColorMap::operator=" ref="7d7a1a4648d4d61604677bb772820617" args="(const QwtAlphaColorMap &amp;)" --><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"><a class="el" href="class_qwt_alpha_color_map.html">QwtAlphaColorMap</a> &amp; QwtAlphaColorMap::operator=           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="class_qwt_alpha_color_map.html">QwtAlphaColorMap</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>other</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Assignment operator <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>other</em>&nbsp;</td><td>Other color map </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>*this </dd></dl><p>Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00432">432</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>.<p>References <a class="el" href="qwt__color__map_8h-source.html#l00181">d_data</a>.    </td>  </tr></table><a class="anchor" name="ec09e7fc85a746653d4065c736166459"></a><!-- doxytag: member="QwtAlphaColorMap::rgb" ref="ec09e7fc85a746653d4065c736166459" args="(const QwtDoubleInterval &amp;, double value) 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">QRgb QwtAlphaColorMap::rgb           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="class_qwt_double_interval.html">QwtDoubleInterval</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>interval</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>value</em></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>Map a value of a given interval into a alpha value. <p>alpha := (value - interval.minValue()) / interval.width();<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>interval</em>&nbsp;</td><td>Range for all values </td></tr>    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>Value to map into a rgb value </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>rgb value, with an alpha value </dd></dl><p>Implements <a class="el" href="class_qwt_color_map.html#be172f151f0a8c24f4a7e0908b0b983f">QwtColorMap</a>.<p>Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00479">479</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>.<p>References <a class="el" href="qwt__double__interval_8h-source.html#l00200">QwtDoubleInterval::isValid()</a>, <a class="el" href="qwt__double__interval_8h-source.html#l00128">QwtDoubleInterval::minValue()</a>, and <a class="el" href="qwt__double__interval_8h-source.html#l00146">QwtDoubleInterval::width()</a>.    </td>  </tr></table><a class="anchor" name="372ba8791102270991473897fb36a965"></a><!-- doxytag: member="QwtAlphaColorMap::setColor" ref="372ba8791102270991473897fb36a965" args="(const QColor &amp;)" --><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 QwtAlphaColorMap::setColor           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const QColor &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>color</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Set the color<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>color</em>&nbsp;</td><td>Color </td></tr>  </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_alpha_color_map.html#4a706714abbd4d82a9a2201a9ecf7aaf">color()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00455">455</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>.    </td>  </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Feb 26 21:22:54 2007 for Qwt User's Guide by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address></body></html>

⌨️ 快捷键说明

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