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

📄 classfg__x11drawinterface.html

📁 《道法自然》书的源码FishGUI,一个跨平台的界面库
💻 HTML
📖 第 1 页 / 共 4 页
字号:
</table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>结束重画 <p>该函数把缓冲区内容刷新到屏幕上 <p>Implements <a class="el" href="classFG__OSDrawInterface.html#a3">FG_OSDrawInterface</a>.<p>在文件<a class="el" href="FG__X11DrawInterface_8cpp-source.html">FG_X11DrawInterface.cpp</a>第<a class="el" href="FG__X11DrawInterface_8cpp-source.html#l00112">112</a>行定义。<p>参考 <a class="el" href="FG__Rect_8h-source.html#l00254">FG_Rect::Height()</a>、<a class="el" href="FG__X11DrawInterface_8h-source.html#l00112">m_Buffer</a>、<a class="el" href="FG__X11DrawInterface_8h-source.html#l00109">m_CopyGC</a>、<a class="el" href="FG__X11DrawInterface_8h-source.html#l00097">m_Display</a>、<a class="el" href="FG__X11DrawInterface_8h-source.html#l00094">m_Win</a>、<a class="el" href="FG__Rect_8h-source.html#l00247">FG_Rect::Width()</a>、<a class="el" href="FG__Rect_8h-source.html#l00053">FG_Rect::wLeft</a>及<a class="el" href="FG__Rect_8h-source.html#l00055">FG_Rect::wTop</a>.    </td>  </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__X11DrawInterface_a3_cgraph.png" border="0" usemap="#classFG__X11DrawInterface_a3_cgraph_map" alt=""></center><map name="classFG__X11DrawInterface_a3_cgraph_map"><area href="structFG__Rect.html#a21" shape="rect" coords="259,6,363,33" alt=""><area href="structFG__Rect.html#a20" shape="rect" coords="260,57,361,84" alt=""></map><a class="anchor" name="a4" doxytag="FG_X11DrawInterface::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"> void FG_X11DrawInterface::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> [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>ForeColor</em>&nbsp;</td><td>前景色 </td></tr>    <tr><td valign=top><em>background</em>&nbsp;</td><td>背景色 </td></tr>  </table></dl><p>Implements <a class="el" href="classFG__OSDrawInterface.html#a4">FG_OSDrawInterface</a>.<p>在文件<a class="el" href="FG__X11DrawInterface_8cpp-source.html">FG_X11DrawInterface.cpp</a>第<a class="el" href="FG__X11DrawInterface_8cpp-source.html#l00125">125</a>行定义。<p>参考 <a class="el" href="FG__Common_8h-source.html#l00072">COLORVAL</a>、<a class="el" href="FG__Rect_8h-source.html#l00254">FG_Rect::Height()</a>、<a class="el" href="FG__X11DrawInterface_8h-source.html#l00112">m_Buffer</a>、<a class="el" href="FG__X11DrawInterface_8h-source.html#l00097">m_Display</a>、<a class="el" href="FG__X11DrawInterface_8h-source.html#l00106">m_GC</a>、<a class="el" href="FG__Rect_8h-source.html#l00247">FG_Rect::Width()</a>、<a class="el" href="FG__Rect_8h-source.html#l00053">FG_Rect::wLeft</a>及<a class="el" href="FG__Rect_8h-source.html#l00055">FG_Rect::wTop</a>.    </td>  </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__X11DrawInterface_a4_cgraph.png" border="0" usemap="#classFG__X11DrawInterface_a4_cgraph_map" alt=""></center><map name="classFG__X11DrawInterface_a4_cgraph_map"><area href="structFG__Rect.html#a21" shape="rect" coords="251,6,355,33" alt=""><area href="structFG__Rect.html#a20" shape="rect" coords="252,57,353,84" alt=""></map><a class="anchor" name="a8" doxytag="FG_X11DrawInterface::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"> <a class="el" href="group__Utility.html#ga1">WORD</a> FG_X11DrawInterface::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> [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>Implements <a class="el" href="classFG__OSDrawInterface.html#a8">FG_OSDrawInterface</a>.<p>在文件<a class="el" href="FG__X11DrawInterface_8cpp-source.html">FG_X11DrawInterface.cpp</a>第<a class="el" href="FG__X11DrawInterface_8cpp-source.html#l00161">161</a>行定义。<p>参考 <a class="el" href="FG__X11DrawInterface_8h-source.html#l00118">m_FontSet</a>及<a class="el" href="FG__Common_8h-source.html#l00055">WORD</a>.<p>参考自 <a class="el" href="FG__X11DrawInterface_8cpp-source.html#l00144">DrawText()</a>.    </td>  </tr></table><a class="anchor" name="a7" doxytag="FG_X11DrawInterface::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"> <a class="el" href="group__Utility.html#ga1">WORD</a> FG_X11DrawInterface::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> [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>Implements <a class="el" href="classFG__OSDrawInterface.html#a7">FG_OSDrawInterface</a>.<p>在文件<a class="el" href="FG__X11DrawInterface_8cpp-source.html">FG_X11DrawInterface.cpp</a>第<a class="el" href="FG__X11DrawInterface_8cpp-source.html#l00152">152</a>行定义。<p>参考 <a class="el" href="FG__X11DrawInterface_8h-source.html#l00118">m_FontSet</a>及<a class="el" href="FG__Common_8h-source.html#l00055">WORD</a>.    </td>  </tr></table><a class="anchor" name="a5" doxytag="FG_X11DrawInterface::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"> void FG_X11DrawInterface::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> [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>

⌨️ 快捷键说明

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