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

📄 classfg__win32drawinterface.html

📁 《道法自然》书的源码FishGUI,一个跨平台的界面库
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<p>Implements <a class="el" href="classFG__OSDrawInterface.html#a8">FG_OSDrawInterface</a>.<p>在文件<a class="el" href="FG__Win32DrawInterface_8cpp-source.html">FG_Win32DrawInterface.cpp</a>第<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00170">170</a>行定义。<p>参考 <a class="el" href="FG__Win32DrawInterface_8h-source.html#l00101">m_hMemDC</a>及<a class="el" href="FG__Common_8h-source.html#l00055">WORD</a>.    </td>  </tr></table><a class="anchor" name="a8" doxytag="FG_Win32DrawInterface::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_Win32DrawInterface::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__Win32DrawInterface_8cpp-source.html">FG_Win32DrawInterface.cpp</a>第<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00157">157</a>行定义。<p>参考 <a class="el" href="FG__Win32DrawInterface_8h-source.html#l00101">m_hMemDC</a>及<a class="el" href="FG__Common_8h-source.html#l00055">WORD</a>.    </td>  </tr></table><a class="anchor" name="a6" doxytag="FG_Win32DrawInterface::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_Win32DrawInterface::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>    <tr><td valign=top><em>color</em>&nbsp;</td><td>线的颜色 </td></tr>  </table></dl><p>Implements <a class="el" href="classFG__OSDrawInterface.html#a5">FG_OSDrawInterface</a>.<p>在文件<a class="el" href="FG__Win32DrawInterface_8cpp-source.html">FG_Win32DrawInterface.cpp</a>第<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00124">124</a>行定义。<p>参考 <a class="el" href="FG__Common_8h-source.html#l00072">COLORVAL</a>、<a class="el" href="FG__Win32DrawInterface_8h-source.html#l00101">m_hMemDC</a>及<a class="el" href="FG__Common_8h-source.html#l00046">NULL</a>.    </td>  </tr></table><a class="anchor" name="a2" doxytag="FG_Win32DrawInterface::SetHDC" ></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_Win32DrawInterface::SetHDC </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const HDC&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>hdc</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>设置Win32的绘图设备句柄. <p><dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>hdc</em>&nbsp;</td><td>要设置的绘图设备句柄 </td></tr>  </table></dl><p>在文件<a class="el" href="FG__Win32DrawInterface_8h-source.html">FG_Win32DrawInterface.h</a>第<a class="el" href="FG__Win32DrawInterface_8h-source.html#l00064">64</a>行定义。<p>参考 <a class="el" href="FG__Win32DrawInterface_8h-source.html#l00098">m_hDC</a>.    </td>  </tr></table><hr><h2>成员数据文档</h2><a class="anchor" name="p2" doxytag="FG_Win32DrawInterface::m_hBitmap" ></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"> HBITMAP <a class="el" href="classFG__Win32DrawInterface.html#p2">FG_Win32DrawInterface::m_hBitmap</a><code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>内存缓冲区所用的位图句柄. <p><p>在文件<a class="el" href="FG__Win32DrawInterface_8h-source.html">FG_Win32DrawInterface.h</a>第<a class="el" href="FG__Win32DrawInterface_8h-source.html#l00104">104</a>行定义。<p>参考自 <a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00061">BeginDraw()</a>及<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00052">~FG_Win32DrawInterface()</a>.    </td>  </tr></table><a class="anchor" name="p0" doxytag="FG_Win32DrawInterface::m_hDC" ></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"> HDC <a class="el" href="classFG__Win32DrawInterface.html#p0">FG_Win32DrawInterface::m_hDC</a><code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Win32绘图设备句柄. <p><p>在文件<a class="el" href="FG__Win32DrawInterface_8h-source.html">FG_Win32DrawInterface.h</a>第<a class="el" href="FG__Win32DrawInterface_8h-source.html#l00098">98</a>行定义。<p>参考自 <a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00061">BeginDraw()</a>、<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00183">DrawBitmap()</a>、<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00090">EndDraw()</a>及<a class="el" href="FG__Win32DrawInterface_8h-source.html#l00064">SetHDC()</a>.    </td>  </tr></table><a class="anchor" name="p3" doxytag="FG_Win32DrawInterface::m_hFont" ></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"> HFONT <a class="el" href="classFG__Win32DrawInterface.html#p3">FG_Win32DrawInterface::m_hFont</a><code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>字体句柄 <p><p>在文件<a class="el" href="FG__Win32DrawInterface_8h-source.html">FG_Win32DrawInterface.h</a>第<a class="el" href="FG__Win32DrawInterface_8h-source.html#l00107">107</a>行定义。<p>参考自 <a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00061">BeginDraw()</a>及<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00052">~FG_Win32DrawInterface()</a>.    </td>  </tr></table><a class="anchor" name="p1" doxytag="FG_Win32DrawInterface::m_hMemDC" ></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"> HDC <a class="el" href="classFG__Win32DrawInterface.html#p1">FG_Win32DrawInterface::m_hMemDC</a><code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>兼容的内存绘图设备句柄,用作绘图缓冲区 <p><p>在文件<a class="el" href="FG__Win32DrawInterface_8h-source.html">FG_Win32DrawInterface.h</a>第<a class="el" href="FG__Win32DrawInterface_8h-source.html#l00101">101</a>行定义。<p>参考自 <a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00061">BeginDraw()</a>、<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00183">DrawBitmap()</a>、<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00232">DrawDotRect()</a>、<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00204">DrawPolyLine()</a>、<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00146">DrawText()</a>、<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00090">EndDraw()</a>、<a class="el" href="FG__Win32DrawInterface_8h-source.html#l00053">FG_Win32DrawInterface()</a>、<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00102">FillRect()</a>、<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00170">GetTextHeight()</a>、<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00157">GetTextWidth()</a>、<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00124">Line()</a>及<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00052">~FG_Win32DrawInterface()</a>.    </td>  </tr></table><hr>该类的文档由以下文件生成:<ul><li><a class="el" href="FG__Win32DrawInterface_8h-source.html">FG_Win32DrawInterface.h</a><li><a class="el" href="FG__Win32DrawInterface_8cpp-source.html">FG_Win32DrawInterface.cpp</a></ul><hr><center>由 DoxyGen 1.3.6 于 Wed Jun 9 22:38:36 2004 生成<br>版权所有 (C) 2003,2004 王咏武</body></html>

⌨️ 快捷键说明

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