📄 structfg__rect.html
字号:
<td class="md" nowrap valign="top"> <a class="el" href="structFG__Rect.html">FG_Rect</a> & FG_Rect::operator &= </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structFG__Rect.html">FG_Rect</a> & </td> <td class="mdname1" valign="top" nowrap> <em>Other</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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> </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#l00112">112</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="a18" 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">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structFG__Rect.html">FG_Rect</a> & </td> <td class="mdname1" valign="top" nowrap> <em>Rect</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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> </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#l00247">247</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="a13" 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> FG_Rect::operator+ </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structFG__Point.html">FG_Point</a> & </td> <td class="mdname1" valign="top" nowrap> <em>Point</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>重载+运算符. <p>矩形的x轴方向向左右扩大Poing.x个像素,矩形的y轴方向向上下扩大Poing.y个像素 <dl compact><dt><b>参数:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>Point</em> </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#l00180">180</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="a14" 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"> const <a class="el" href="structFG__Rect.html">FG_Rect</a> FG_Rect::operator++ </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>重载后置++运算符. <p>矩形的x轴和y轴方向各扩大一个像素 <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#l00190">190</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="a15" 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> & FG_Rect::operator+= </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const int </td> <td class="mdname1" valign="top" nowrap> <em>x</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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> </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#l00200">200</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="a16" 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"> const <a class="el" href="structFG__Rect.html">FG_Rect</a> FG_Rect::operator-- </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>重载后置--运算符. <p>矩形的x轴和y轴方向各缩小一个像素 <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#l00209">209</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="a17" 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> & FG_Rect::operator-= </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const int </td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -