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

📄 classfg__osdrawinterface.html

📁 《道法自然》书的源码FishGUI,一个跨平台的界面库
💻 HTML
📖 第 1 页 / 共 3 页
字号:
  </tr></table><a class="anchor" name="a11" doxytag="FG_OSDrawInterface::DrawDotRect" ></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::DrawDotRect </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="structFG__Rect.html">FG_Rect</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>rect</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>rect</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#a12">FG_Win32DrawInterface</a>, and <a class="el" href="classFG__X11DrawInterface.html#a11">FG_X11DrawInterface</a>.<p>参考自 <a class="el" href="FG__OSAdaptor_8cpp-source.html#l00180">FG_OSAdaptor::DrawDotRect()</a>.    </td>  </tr></table><a class="anchor" name="a10" doxytag="FG_OSDrawInterface::DrawPolyLine" ></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::DrawPolyLine </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const short&nbsp;</td>          <td class="mdname" nowrap> <em>n</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="structFG__Point.html">FG_Point</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>vert</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>n</em>&nbsp;</td><td>该折线包含的点数 </td></tr>    <tr><td valign=top><em>vert</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#a11">FG_Win32DrawInterface</a>, and <a class="el" href="classFG__X11DrawInterface.html#a10">FG_X11DrawInterface</a>.<p>参考自 <a class="el" href="FG__OSAdaptor_8cpp-source.html#l00173">FG_OSAdaptor::DrawPolyLine()</a>.    </td>  </tr></table><a class="anchor" name="a6" doxytag="FG_OSDrawInterface::DrawText" ></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::DrawText </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const char *&nbsp;</td>          <td class="mdname" nowrap> <em>Text</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>x</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>y</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>Text</em>&nbsp;</td><td>要绘制的字符串,以<a class="el" href="group__Utility.html#ga11">NULL</a>结束 </td></tr>    <tr><td valign=top><em>x</em>&nbsp;</td><td>文本左上角的横坐标 </td></tr>    <tr><td valign=top><em>y</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#a7">FG_Win32DrawInterface</a>, and <a class="el" href="classFG__X11DrawInterface.html#a6">FG_X11DrawInterface</a>.<p>参考自 <a class="el" href="FG__OSAdaptor_8cpp-source.html#l00141">FG_OSAdaptor::DrawText()</a>.    </td>  </tr></table><a class="anchor" name="a3" doxytag="FG_OSDrawInterface::EndDraw" ></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::EndDraw </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><code> [pure virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>结束重画 <p>该函数把缓冲区内容刷新到屏幕上 <p>Implemented in <a class="el" href="classFG__Win32DrawInterface.html#a4">FG_Win32DrawInterface</a>, and <a class="el" href="classFG__X11DrawInterface.html#a3">FG_X11DrawInterface</a>.<p>参考自 <a class="el" href="FG__OSAdaptor_8cpp-source.html#l00120">FG_OSAdaptor::EndDraw()</a>.    </td>  </tr></table><a class="anchor" name="a4" doxytag="FG_OSDrawInterface::FillRect" ></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::FillRect </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="structFG__Rect.html">FG_Rect</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>rect</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>ForeColor</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>background</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>

⌨️ 快捷键说明

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