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

📄 structfg__rect.html

📁 《道法自然》书的源码FishGUI,一个跨平台的界面库
💻 HTML
📖 第 1 页 / 共 5 页
字号:
          <td class="mdname1" valign="top" nowrap> <em>x</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>重载-=运算符. <p>矩形的x轴和y轴方向各缩小x个像素 <dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>x</em>&nbsp;</td><td>要缩小的像素数 </td></tr>  </table></dl><dl compact><dt><b>返回:</b></dt><dd>返回结果矩形 </dd></dl><p>在文件<a class="el" href="FG__Rect_8cpp-source.html">FG_Rect.cpp</a>第<a class="el" href="FG__Rect_8cpp-source.html#l00229">229</a>行定义。<p>参考 <a class="el" href="FG__Rect_8h-source.html#l00059">wBottom</a>、<a class="el" href="FG__Rect_8h-source.html#l00053">wLeft</a>、<a class="el" href="FG__Rect_8h-source.html#l00057">wRight</a>及<a class="el" href="FG__Rect_8h-source.html#l00055">wTop</a>.    </td>  </tr></table><a class="anchor" name="a19" doxytag="FG_Rect::operator==" ></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"> bool FG_Rect::operator== </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="mdname1" valign="top" nowrap> <em>Rect</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const</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>  </table></dl><dl compact><dt><b>返回:</b></dt><dd>true 相同 false 不同 </dd></dl><p>在文件<a class="el" href="FG__Rect_8cpp-source.html">FG_Rect.cpp</a>第<a class="el" href="FG__Rect_8cpp-source.html#l00260">260</a>行定义。<p>参考 <a class="el" href="FG__Rect_8h-source.html#l00059">wBottom</a>、<a class="el" href="FG__Rect_8h-source.html#l00053">wLeft</a>、<a class="el" href="FG__Rect_8h-source.html#l00057">wRight</a>及<a class="el" href="FG__Rect_8h-source.html#l00055">wTop</a>.    </td>  </tr></table><a class="anchor" name="a11" doxytag="FG_Rect::operator|=" ></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> &amp; FG_Rect::operator|= </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="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>重载|=运算符. <p>两个矩形执行|=运算,即能包含两个矩形的最小矩形 <dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>Other</em>&nbsp;</td><td>执行|=运算的另一个矩形 </td></tr>  </table></dl><dl compact><dt><b>返回:</b></dt><dd>返回结果矩形 </dd></dl><p>在文件<a class="el" href="FG__Rect_8cpp-source.html">FG_Rect.cpp</a>第<a class="el" href="FG__Rect_8cpp-source.html#l00134">134</a>行定义。<p>参考 <a class="el" href="FG__Rect_8h-source.html#l00059">wBottom</a>、<a class="el" href="FG__Rect_8h-source.html#l00053">wLeft</a>、<a class="el" href="FG__Rect_8h-source.html#l00057">wRight</a>及<a class="el" href="FG__Rect_8h-source.html#l00055">wTop</a>.    </td>  </tr></table><a class="anchor" name="a7" doxytag="FG_Rect::Overlap" ></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"> bool FG_Rect::Overlap </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="mdname1" valign="top" nowrap> <em>Rect</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const</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>  </table></dl><dl compact><dt><b>返回:</b></dt><dd>true 两个矩形互相重载 false 两个矩形不互相重载 </dd></dl><p>在文件<a class="el" href="FG__Rect_8cpp-source.html">FG_Rect.cpp</a>第<a class="el" href="FG__Rect_8cpp-source.html#l00082">82</a>行定义。<p>参考 <a class="el" href="FG__Rect_8h-source.html#l00059">wBottom</a>、<a class="el" href="FG__Rect_8h-source.html#l00053">wLeft</a>、<a class="el" href="FG__Rect_8h-source.html#l00057">wRight</a>及<a class="el" href="FG__Rect_8h-source.html#l00055">wTop</a>.    </td>  </tr></table><a class="anchor" name="a3" doxytag="FG_Rect::Set" ></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_Rect::Set </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="structFG__Point.html">FG_Point</a>&nbsp;</td>          <td class="mdname" nowrap> <em>ul</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>br</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [inline]</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>ul</em>&nbsp;</td><td>新矩形左上角的坐标 </td></tr>    <tr><td valign=top><em>br</em>&nbsp;</td><td>新矩形右下角的坐标 </td></tr>  </table></dl><p>在文件<a class="el" href="FG__Rect_8h-source.html">FG_Rect.h</a>第<a class="el" href="FG__Rect_8h-source.html#l00095">95</a>行定义。<p>参考 <a class="el" href="FG__Rect_8h-source.html#l00059">wBottom</a>、<a class="el" href="FG__Rect_8h-source.html#l00053">wLeft</a>、<a class="el" href="FG__Rect_8h-source.html#l00057">wRight</a>、<a class="el" href="FG__Rect_8h-source.html#l00055">wTop</a>、<a class="el" href="FG__Point_8h-source.html#l00051">FG_Point::x</a>及<a class="el" href="FG__Point_8h-source.html#l00053">FG_Point::y</a>.    </td>  </tr></table><a class="anchor" name="a2" doxytag="FG_Rect::Set" ></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_Rect::Set </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></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [inline]</code></td>        </tr>

⌨️ 快捷键说明

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