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

📄 classfg__osdrawinterface.html

📁 《道法自然》书的源码FishGUI,一个跨平台的界面库
💻 HTML
📖 第 1 页 / 共 3 页
字号:
</table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>填充矩形. <p><dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>rect</em>&nbsp;</td><td>要填充的矩形 </td></tr>    <tr><td valign=top><em>ForeColor</em>&nbsp;</td><td>前景色 </td></tr>    <tr><td valign=top><em>background</em>&nbsp;</td><td>背景色 </td></tr>  </table></dl><p>Implemented in <a class="el" href="classFG__Win32DrawInterface.html#a5">FG_Win32DrawInterface</a>, and <a class="el" href="classFG__X11DrawInterface.html#a4">FG_X11DrawInterface</a>.<p>参考自 <a class="el" href="FG__OSAdaptor_8cpp-source.html#l00127">FG_OSAdaptor::FillRect()</a>.    </td>  </tr></table><a class="anchor" name="a8" doxytag="FG_OSDrawInterface::GetTextHeight" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> virtual <a class="el" href="group__Utility.html#ga1">WORD</a> FG_OSDrawInterface::GetTextHeight </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const char *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>Text</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [pure virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>得到文本的高度 <p><dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>Text</em>&nbsp;</td><td>要计算高度的字符串,以<a class="el" href="group__Utility.html#ga11">NULL</a>结束 </td></tr>  </table></dl><dl compact><dt><b>返回:</b></dt><dd>文本的高度的像素数 </dd></dl><p>Implemented in <a class="el" href="classFG__Win32DrawInterface.html#a9">FG_Win32DrawInterface</a>, and <a class="el" href="classFG__X11DrawInterface.html#a8">FG_X11DrawInterface</a>.<p>参考自 <a class="el" href="FG__OSAdaptor_8cpp-source.html#l00157">FG_OSAdaptor::GetTextHeight()</a>.    </td>  </tr></table><a class="anchor" name="a7" doxytag="FG_OSDrawInterface::GetTextWidth" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> virtual <a class="el" href="group__Utility.html#ga1">WORD</a> FG_OSDrawInterface::GetTextWidth </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const char *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>Text</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [pure virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>得到文本的宽度 <p><dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>Text</em>&nbsp;</td><td>要计算宽度的字符串,以<a class="el" href="group__Utility.html#ga11">NULL</a>结束 </td></tr>  </table></dl><dl compact><dt><b>返回:</b></dt><dd>文本的宽度的像素数 </dd></dl><p>Implemented in <a class="el" href="classFG__Win32DrawInterface.html#a8">FG_Win32DrawInterface</a>, and <a class="el" href="classFG__X11DrawInterface.html#a7">FG_X11DrawInterface</a>.<p>参考自 <a class="el" href="FG__OSAdaptor_8cpp-source.html#l00148">FG_OSAdaptor::GetTextWidth()</a>.    </td>  </tr></table><a class="anchor" name="a5" doxytag="FG_OSDrawInterface::Line" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> virtual void FG_OSDrawInterface::Line </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const short&nbsp;</td>          <td class="mdname" nowrap> <em>x1</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>const short&nbsp;</td>          <td class="mdname" nowrap> <em>y1</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>const short&nbsp;</td>          <td class="mdname" nowrap> <em>x2</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>const short&nbsp;</td>          <td class="mdname" nowrap> <em>y2</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="group__Color.html#ga0">COLORVAL</a>&nbsp;</td>          <td class="mdname" nowrap> <em>color</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [pure virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>画线 <p><dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>x1</em>&nbsp;</td><td>第一点的横坐标 </td></tr>    <tr><td valign=top><em>y1</em>&nbsp;</td><td>第一点的横坐标 </td></tr>    <tr><td valign=top><em>x2</em>&nbsp;</td><td>第二点的横坐标 </td></tr>    <tr><td valign=top><em>y2</em>&nbsp;</td><td>第二点的横坐标 </td></tr>    <tr><td valign=top><em>color</em>&nbsp;</td><td>线的颜色 </td></tr>  </table></dl><p>Implemented in <a class="el" href="classFG__Win32DrawInterface.html#a6">FG_Win32DrawInterface</a>, and <a class="el" href="classFG__X11DrawInterface.html#a5">FG_X11DrawInterface</a>.<p>参考自 <a class="el" href="FG__OSAdaptor_8cpp-source.html#l00134">FG_OSAdaptor::Line()</a>.    </td>  </tr></table><hr><h2>成员数据文档</h2><a class="anchor" name="p1" doxytag="FG_OSDrawInterface::m_iDrawCount" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> int <a class="el" href="classFG__OSDrawInterface.html#p1">FG_OSDrawInterface::m_iDrawCount</a><code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p><a class="el" href="classFG__OSDrawInterface.html#a2">FG_OSDrawInterface::BeginDraw</a>被调用的次数 <p><a class="el" href="classFG__OSDrawInterface.html#a2">FG_OSDrawInterface::BeginDraw</a>被调用时,该值加1。<br> <a class="el" href="classFG__OSDrawInterface.html#a3">FG_OSDrawInterface::EndDraw</a>被调用时,该值减1。 <p>在文件<a class="el" href="FG__OSDrawInterface_8h-source.html">FG_OSDrawInterface.h</a>第<a class="el" href="FG__OSDrawInterface_8h-source.html#l00163">163</a>行定义。<p>参考自 <a class="el" href="FG__OSDrawInterface_8h-source.html#l00054">FG_OSDrawInterface()</a>.    </td>  </tr></table><a class="anchor" name="p0" doxytag="FG_OSDrawInterface::m_Invalid" ></a><p><table class="mdTable" width="100%" 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="structFG__Rect.html">FG_Rect</a> <a class="el" href="classFG__OSDrawInterface.html#p0">FG_OSDrawInterface::m_Invalid</a><code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>当前的需要重画的无效区域 <p>调用<a class="el" href="classFG__OSDrawInterface.html#a2">FG_OSDrawInterface::BeginDraw</a>的参数rect会组合进该无效区域中。<br> 调用<a class="el" href="classFG__OSDrawInterface.html#a3">FG_OSDrawInterface::EndDraw</a>时,该无效区域被清空。 <p>在文件<a class="el" href="FG__OSDrawInterface_8h-source.html">FG_OSDrawInterface.h</a>第<a class="el" href="FG__OSDrawInterface_8h-source.html#l00155">155</a>行定义。    </td>  </tr></table><hr>该类的文档由以下文件生成:<ul><li><a class="el" href="FG__OSDrawInterface_8h-source.html">FG_OSDrawInterface.h</a></ul><hr><center>由 DoxyGen 1.3.6 于 Wed Jun 9 22:38:03 2004 生成<br>版权所有 (C) 2003,2004 王咏武</body></html>

⌨️ 快捷键说明

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