📄 structfg__rect.html
字号:
</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>x1</em> </td><td>新矩形左上角的横坐标 </td></tr> <tr><td valign=top><em>y1</em> </td><td>新矩形左上角的纵坐标 </td></tr> <tr><td valign=top><em>x2</em> </td><td>新矩形右下角的横坐标 </td></tr> <tr><td valign=top><em>y2</em> </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#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>.<p>参考自 <a class="el" href="FG__Object_8cpp-source.html#l00147">FG_Object::GetClientRect()</a>、<a class="el" href="MainWindow_8cpp-source.html#l00095">MainWindow::MainWindow()</a>、<a class="el" href="Win1_8cpp-source.html#l00074">Win1::Win1()</a>及<a class="el" href="Win2_8cpp-source.html#l00081">Win2::Win2()</a>. </td> </tr></table><a class="anchor" name="a9" doxytag="FG_Rect::Shift" ></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::Shift </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const short </td> <td class="mdname" nowrap> <em>xShift</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap>const short </td> <td class="mdname" nowrap> <em>yShift</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></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> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>xShift</em> </td><td>横坐标平移的像素数 </td></tr> <tr><td valign=top><em>yShift</em> </td><td>纵坐标平移的像素数 </td></tr> </table></dl><p>在文件<a class="el" href="FG__Rect_8cpp-source.html">FG_Rect.cpp</a>第<a class="el" href="FG__Rect_8cpp-source.html#l00103">103</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>.<p>参考自 <a class="el" href="FG__Rect_8cpp-source.html#l00095">MoveTo()</a>. </td> </tr></table><a class="anchor" name="a20" doxytag="FG_Rect::Width" ></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"> short FG_Rect::Width </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [inline]</code></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>矩形的宽度 </dd></dl><p>在文件<a class="el" href="FG__Rect_8h-source.html">FG_Rect.h</a>第<a class="el" href="FG__Rect_8h-source.html#l00247">247</a>行定义。<p>参考 <a class="el" href="FG__Rect_8h-source.html#l00053">wLeft</a>及<a class="el" href="FG__Rect_8h-source.html#l00057">wRight</a>.<p>参考自 <a class="el" href="FG__X11DrawInterface_8cpp-source.html#l00214">FG_X11DrawInterface::DrawDotRect()</a>、<a class="el" href="FG__X11DrawInterface_8cpp-source.html#l00112">FG_X11DrawInterface::EndDraw()</a>、<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00090">FG_Win32DrawInterface::EndDraw()</a>及<a class="el" href="FG__X11DrawInterface_8cpp-source.html#l00125">FG_X11DrawInterface::FillRect()</a>. </td> </tr></table><hr><h2>成员数据文档</h2><a class="anchor" name="o3" doxytag="FG_Rect::wBottom" ></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"> short <a class="el" href="structFG__Rect.html#o3">FG_Rect::wBottom</a> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>矩形右下角的纵坐标 <p><p>在文件<a class="el" href="FG__Rect_8h-source.html">FG_Rect.h</a>第<a class="el" href="FG__Rect_8h-source.html#l00059">59</a>行定义。<p>参考自 <a class="el" href="FG__Rect_8cpp-source.html#l00043">Contains()</a>、<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00232">FG_Win32DrawInterface::DrawDotRect()</a>、<a class="el" href="FG__Rect_8h-source.html#l00064">FG_Rect()</a>、<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00102">FG_Win32DrawInterface::FillRect()</a>、<a class="el" href="FG__Rect_8h-source.html#l00254">Height()</a>、<a class="el" href="MainWindow_8cpp-source.html#l00095">MainWindow::MainWindow()</a>、<a class="el" href="MyButton_8cpp-source.html#l00047">MyButton::OnDraw()</a>、<a class="el" href="FG__Window_8cpp-source.html#l00145">FG_Window::OnDraw()</a>、<a class="el" href="FG__RadioButton_8cpp-source.html#l00064">FG_RadioButton::OnDraw()</a>、<a class="el" href="FG__Label_8cpp-source.html#l00047">FG_Label::OnDraw()</a>、<a class="el" href="FG__Group_8cpp-source.html#l00047">FG_Group::OnDraw()</a>、<a class="el" href="FG__Edit_8cpp-source.html#l00073">FG_Edit::OnDraw()</a>、<a class="el" href="FG__CheckBox_8cpp-source.html#l00049">FG_CheckBox::OnDraw()</a>、<a class="el" href="FG__Button_8cpp-source.html#l00053">FG_Button::OnDraw()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00157">operator &()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00112">operator &=()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00247">operator!=()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00180">operator+()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00190">operator++()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00200">operator+=()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00209">operator--()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00229">operator-=()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00260">operator==()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00134">operator|=()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00082">Overlap()</a>、<a class="el" href="FG__Rect_8h-source.html#l00082">Set()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00103">Shift()</a>、<a class="el" href="Win1_8cpp-source.html#l00074">Win1::Win1()</a>及<a class="el" href="Win2_8cpp-source.html#l00081">Win2::Win2()</a>. </td> </tr></table><a class="anchor" name="o0" doxytag="FG_Rect::wLeft" ></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"> short <a class="el" href="structFG__Rect.html#o0">FG_Rect::wLeft</a> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>矩形左上角的横坐标 <p><p>在文件<a class="el" href="FG__Rect_8h-source.html">FG_Rect.h</a>第<a class="el" href="FG__Rect_8h-source.html#l00053">53</a>行定义。<p>参考自 <a class="el" href="FG__Rect_8cpp-source.html#l00043">Contains()</a>、<a class="el" href="FG__X11DrawInterface_8cpp-source.html#l00214">FG_X11DrawInterface::DrawDotRect()</a>、<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00232">FG_Win32DrawInterface::DrawDotRect()</a>、<a class="el" href="FG__X11DrawInterface_8cpp-source.html#l00112">FG_X11DrawInterface::EndDraw()</a>、<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00090">FG_Win32DrawInterface::EndDraw()</a>、<a class="el" href="FG__Rect_8h-source.html#l00064">FG_Rect()</a>、<a class="el" href="FG__X11DrawInterface_8cpp-source.html#l00125">FG_X11DrawInterface::FillRect()</a>、<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00102">FG_Win32DrawInterface::FillRect()</a>、<a class="el" href="MainWindow_8cpp-source.html#l00095">MainWindow::MainWindow()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00095">MoveTo()</a>、<a class="el" href="MyButton_8cpp-source.html#l00047">MyButton::OnDraw()</a>、<a class="el" href="FG__Window_8cpp-source.html#l00145">FG_Window::OnDraw()</a>、<a class="el" href="FG__RadioButton_8cpp-source.html#l00064">FG_RadioButton::OnDraw()</a>、<a class="el" href="FG__Label_8cpp-source.html#l00047">FG_Label::OnDraw()</a>、<a class="el" href="FG__Group_8cpp-source.html#l00047">FG_Group::OnDraw()</a>、<a class="el" href="FG__Edit_8cpp-source.html#l00073">FG_Edit::OnDraw()</a>、<a class="el" href="FG__CheckBox_8cpp-source.html#l00049">FG_CheckBox::OnDraw()</a>、<a class="el" href="FG__Button_8cpp-source.html#l00053">FG_Button::OnDraw()</a>、<a class="el" href="FG__Bitmap_8cpp-source.html#l00047">FG_Bitmap::OnDraw()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00157">operator &()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00112">operator &=()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00247">operator!=()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00180">operator+()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00190">operator++()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00200">operator+=()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00209">operator--()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00229">operator-=()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00260">operator==()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00134">operator|=()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00082">Overlap()</a>、<a class="el" href="FG__Rect_8h-source.html#l00082">Set()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00103">Shift()</a>、<a class="el" href="FG__Rect_8h-source.html#l00247">Width()</a>、<a class="el" href="Win1_8cpp-source.html#l00074">Win1::Win1()</a>及<a class="el" href="Win2_8cpp-source.html#l00081">Win2::Win2()</a>. </td> </tr></table><a class="anchor" name="o2" doxytag="FG_Rect::wRight" ></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"> short <a class="el" href="structFG__Rect.html#o2">FG_Rect::wRight</a> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>矩形右下角的横坐标 <p><p>在文件<a class="el" href="FG__Rect_8h-source.html">FG_Rect.h</a>第<a class="el" href="FG__Rect_8h-source.html#l00057">57</a>行定义。<p>参考自 <a class="el" href="FG__Rect_8cpp-source.html#l00043">Contains()</a>、<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00232">FG_Win32DrawInterface::DrawDotRect()</a>、<a class="el" href="FG__Rect_8h-source.html#l00064">FG_Rect()</a>、<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00102">FG_Win32DrawInterface::FillRect()</a>、<a class="el" href="MainWindow_8cpp-source.html#l00095">MainWindow::MainWindow()</a>、<a class="el" href="MyButton_8cpp-source.html#l00047">MyButton::OnDraw()</a>、<a class="el" href="FG__Label_8cpp-source.html#l00047">FG_Label::OnDraw()</a>、<a class="el" href="FG__Group_8cpp-source.html#l00047">FG_Group::OnDraw()</a>、<a class="el" href="FG__Button_8cpp-source.html#l00053">FG_Button::OnDraw()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00157">operator &()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00112">operator &=()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00247">operator!=()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00180">operator+()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00190">operator++()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00200">operator+=()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00209">operator--()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00229">operator-=()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00260">operator==()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00134">operator|=()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00082">Overlap()</a>、<a class="el" href="FG__Rect_8h-source.html#l00082">Set()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00103">Shift()</a>、<a class="el" href="FG__Rect_8h-source.html#l00247">Width()</a>、<a class="el" href="Win1_8cpp-source.html#l00074">Win1::Win1()</a>及<a class="el" href="Win2_8cpp-source.html#l00081">Win2::Win2()</a>. </td> </tr></table><a class="anchor" name="o1" doxytag="FG_Rect::wTop" ></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"> short <a class="el" href="structFG__Rect.html#o1">FG_Rect::wTop</a> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>矩形左上角的纵坐标 <p><p>在文件<a class="el" href="FG__Rect_8h-source.html">FG_Rect.h</a>第<a class="el" href="FG__Rect_8h-source.html#l00055">55</a>行定义。<p>参考自 <a class="el" href="FG__Rect_8cpp-source.html#l00043">Contains()</a>、<a class="el" href="FG__X11DrawInterface_8cpp-source.html#l00214">FG_X11DrawInterface::DrawDotRect()</a>、<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00232">FG_Win32DrawInterface::DrawDotRect()</a>、<a class="el" href="FG__X11DrawInterface_8cpp-source.html#l00112">FG_X11DrawInterface::EndDraw()</a>、<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00090">FG_Win32DrawInterface::EndDraw()</a>、<a class="el" href="FG__Rect_8h-source.html#l00064">FG_Rect()</a>、<a class="el" href="FG__X11DrawInterface_8cpp-source.html#l00125">FG_X11DrawInterface::FillRect()</a>、<a class="el" href="FG__Win32DrawInterface_8cpp-source.html#l00102">FG_Win32DrawInterface::FillRect()</a>、<a class="el" href="FG__Window_8cpp-source.html#l00097">FG_Window::GetClientRect()</a>、<a class="el" href="FG__Rect_8h-source.html#l00254">Height()</a>、<a class="el" href="MainWindow_8cpp-source.html#l00095">MainWindow::MainWindow()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00095">MoveTo()</a>、<a class="el" href="MyButton_8cpp-source.html#l00047">MyButton::OnDraw()</a>、<a class="el" href="FG__Window_8cpp-source.html#l00145">FG_Window::OnDraw()</a>、<a class="el" href="FG__RadioButton_8cpp-source.html#l00064">FG_RadioButton::OnDraw()</a>、<a class="el" href="FG__Label_8cpp-source.html#l00047">FG_Label::OnDraw()</a>、<a class="el" href="FG__Group_8cpp-source.html#l00047">FG_Group::OnDraw()</a>、<a class="el" href="FG__Edit_8cpp-source.html#l00073">FG_Edit::OnDraw()</a>、<a class="el" href="FG__CheckBox_8cpp-source.html#l00049">FG_CheckBox::OnDraw()</a>、<a class="el" href="FG__Button_8cpp-source.html#l00053">FG_Button::OnDraw()</a>、<a class="el" href="FG__Bitmap_8cpp-source.html#l00047">FG_Bitmap::OnDraw()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00157">operator &()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00112">operator &=()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00247">operator!=()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00180">operator+()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00190">operator++()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00200">operator+=()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00209">operator--()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00229">operator-=()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00260">operator==()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00134">operator|=()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00082">Overlap()</a>、<a class="el" href="FG__Rect_8h-source.html#l00082">Set()</a>、<a class="el" href="FG__Rect_8cpp-source.html#l00103">Shift()</a>、<a class="el" href="Win1_8cpp-source.html#l00074">Win1::Win1()</a>及<a class="el" href="Win2_8cpp-source.html#l00081">Win2::Win2()</a>. </td> </tr></table><hr>该结构的文档由以下文件生成:<ul><li><a class="el" href="FG__Rect_8h-source.html">FG_Rect.h</a><li><a class="el" href="FG__Rect_8cpp-source.html">FG_Rect.cpp</a></ul><hr><center>由 DoxyGen 1.3.6 于 Wed Jun 9 22:37:12 2004 生成<br>版权所有 (C) 2003,2004 王咏武</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -