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

📄 classwgui_1_1crect.html

📁 一个小巧的嵌入式图形系统wGUI, 可以用VC编译
💻 HTML
📖 第 1 页 / 共 3 页
字号:
  <tr>    <td>      &nbsp;    </td>    <td><p>Subtraction operator to subtract a <a class="el" href="classwGui_1_1CPoint.html">CPoint</a>, will offset the <a class="el" href="classwGui_1_1CRect.html">CRect</a> <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>p</em>&nbsp;</td><td>A point to offset the <a class="el" href="classwGui_1_1CRect.html">CRect</a> by </td></tr></table></dl><p>Definition at line <a class="el" href="wg__rect_8cpp-source.html#l00082">82</a> of file <a class="el" href="wg__rect_8cpp-source.html">wg_rect.cpp</a>.<p>References <a class="el" href="wg__rect_8h-source.html#l00190">m_Bottom</a>, <a class="el" href="wg__rect_8h-source.html#l00181">m_Left</a>, <a class="el" href="wg__rect_8h-source.html#l00184">m_Right</a>, <a class="el" href="wg__rect_8h-source.html#l00187">m_Top</a>, <a class="el" href="wg__point_8h-source.html#l00064">wGui::CPoint::XPos()</a>, and <a class="el" href="wg__point_8h-source.html#l00067">wGui::CPoint::YPos()</a>.    </td>  </tr></table><a name="a30" doxytag="wGui::CRect::Overlaps"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> bool wGui::CRect::Overlaps </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const CRect &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>r</em>          </td>          <td class="md" valign="top">)&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>Tests to see if the two CRects overlap <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>r</em>&nbsp;</td><td>The other <a class="el" href="classwGui_1_1CRect.html">CRect</a> to test with </td></tr></table></dl><dl compact><dt><b>Returns: </b></dt><dd>true if the CRects overlap </dl><p>Definition at line <a class="el" href="wg__rect_8cpp-source.html#l00112">112</a> of file <a class="el" href="wg__rect_8cpp-source.html">wg_rect.cpp</a>.<p>References <a class="el" href="wg__rect_8h-source.html#l00100">BottomLeft()</a>, <a class="el" href="wg__rect_8h-source.html#l00103">BottomRight()</a>, <a class="el" href="wg__rect_8cpp-source.html#l00167">HitTest()</a>, <a class="el" href="classwGui_1_1CRect.html#s5s4">RELPOS_INSIDE</a>, <a class="el" href="wg__rect_8h-source.html#l00094">TopLeft()</a>, and <a class="el" href="wg__rect_8h-source.html#l00097">TopRight()</a>.<p>Referenced by <a class="el" href="wg__listbox_8cpp-source.html#l00116">wGui::CListBox::Draw()</a>.    </td>  </tr></table><a name="a22" doxytag="wGui::CRect::SDLRect"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> SDL_Rect wGui::CRect::SDLRect </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">void&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&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>Converts the <a class="el" href="classwGui_1_1CRect.html">CRect</a> into a SDL style rect <dl compact><dt><b>Returns: </b></dt><dd>An SDL_Rect of the same size </dl><p>Definition at line <a class="el" href="wg__rect_8cpp-source.html#l00038">38</a> of file <a class="el" href="wg__rect_8cpp-source.html">wg_rect.cpp</a>.<p>References <a class="el" href="wg__rect_8h-source.html#l00130">Height()</a>, <a class="el" href="wg__rect_8h-source.html#l00190">m_Bottom</a>, <a class="el" href="wg__rect_8h-source.html#l00181">m_Left</a>, <a class="el" href="wg__rect_8h-source.html#l00184">m_Right</a>, <a class="el" href="wg__rect_8h-source.html#l00187">m_Top</a>, and <a class="el" href="wg__rect_8h-source.html#l00127">Width()</a>.<p>Referenced by <a class="el" href="wg__picture_8cpp-source.html#l00068">wGui::CPicture::Draw()</a>, <a class="el" href="wg__painter_8cpp-source.html#l00122">wGui::CPainter::DrawRect()</a>, and <a class="el" href="wg__frame_8cpp-source.html#l00163">wGui::CFrame::HandleMessage()</a>.    </td>  </tr></table><a name="a8" doxytag="wGui::CRect::SetBottom"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void wGui::CRect::SetBottom </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const int&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>bottom</em>          </td>          <td class="md" valign="top">)&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>Set the Bottom poisition <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>bottom</em>&nbsp;</td><td>The new Bottom coordinate </td></tr></table></dl><p>Definition at line <a class="el" href="wg__rect_8h-source.html#l00079">79</a> of file <a class="el" href="wg__rect_8h-source.html">wg_rect.h</a>.<p>References <a class="el" href="wg__rect_8h-source.html#l00190">m_Bottom</a>.<p>Referenced by <a class="el" href="wg__listbox_8cpp-source.html#l00116">wGui::CListBox::Draw()</a>, <a class="el" href="wg__editbox_8cpp-source.html#l00103">wGui::CEditBox::Draw()</a>, <a class="el" href="wg__view_8cpp-source.html#l00112">wGui::CView::HandleMessage()</a>, <a class="el" href="wg__scrollbar_8cpp-source.html#l00093">wGui::CScrollBar::SetPosition()</a>, and <a class="el" href="wg__scrollbar_8cpp-source.html#l00142">wGui::CScrollBar::SetWindowRect()</a>.    </td>  </tr></table><a name="a6" doxytag="wGui::CRect::SetLeft"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void wGui::CRect::SetLeft </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const int&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>left</em>          </td>          <td class="md" valign="top">)&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>Set the Left poisition <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>left</em>&nbsp;</td><td>The new Left coordinate </td></tr></table></dl><p>Definition at line <a class="el" href="wg__rect_8h-source.html#l00071">71</a> of file <a class="el" href="wg__rect_8h-source.html">wg_rect.h</a>.<p>References <a class="el" href="wg__rect_8h-source.html#l00181">m_Left</a>.<p>Referenced by <a class="el" href="wg__menu_8cpp-source.html#l00455">wGui::CPopupMenu::Draw()</a>, <a class="el" href="wg__editbox_8cpp-source.html#l00103">wGui::CEditBox::Draw()</a>, <a class="el" href="wg__scrollbar_8cpp-source.html#l00093">wGui::CScrollBar::SetPosition()</a>, and <a class="el" href="wg__scrollbar_8cpp-source.html#l00142">wGui::CScrollBar::SetWindowRect()</a>.    </td>  </tr></table><a name="a7" doxytag="wGui::CRect::SetRight"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void wGui::CRect::SetRight </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const int&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>right</em>          </td>          <td class="md" valign="top">)&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>Set the Right poisition <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>right</em>&nbsp;</td><td>The new Right coordinate </td></tr></table></dl><p>Definition at line <a class="el" href="wg__rect_8h-source.html#l00075">75</a> of file <a class="el" href="wg__rect_8h-source.html">wg_rect.h</a>.<p>References <a class="el" href="wg__rect_8h-source.html#l00184">m_Right</a>.<p>Referenced by <a class="el" href="wg__progress_8cpp-source.html#l00065">wGui::CProgress::Draw()</a>, <a class="el" href="wg__frame_8cpp-source.html#l00075">wGui::CFrame::Draw()</a>, <a class="el" href="wg__editbox_8cpp-source.html#l00103">wGui::CEditBox::Draw()</a>, <a class="el" href="wg__view_8cpp-source.html#l00112">wGui::CView::HandleMessage()</a>, <a class="el" href="wg__scrollbar_8cpp-source.html#l00093">wGui::CScrollBar::SetPosition()</a>, and <a class="el" href="wg__scrollbar_8cpp-source.html#l00142">wGui::CScrollBar::SetWindowRect()</a>.    </td>  </tr></table><a name="a5" doxytag="wGui::CRect::SetTop"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void wGui::CRect::SetTop </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const int&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>top</em>          </td>          <td class="md" valign="top">)&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>Set the Top poisition <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>top</em>&nbsp;</td><td>The new Top coordinate </td></tr></table></dl><p>Definition at line <a class="el" href="wg__rect_8h-source.html#l00067">67</a> of file <a class="el" href="wg__rect_8h-source.html">wg_rect.h</a>.<p>References <a class="el" href="wg__rect_8h-source.html#l00187">m_Top</a>.<p>Referenced by <a class="el" href="wg__view_8cpp-source.html#l00088">wGui::CView::AttachMenu()</a>, <a class="el" href="wg__frame_8cpp-source.html#l00102">wGui::CFrame::AttachMenu()</a>, <a class="el" href="wg__groupbox_8cpp-source.html#l00032">wGui::CGroupBox::CGroupBox()</a>, <a class="el" href="wg__editbox_8cpp-source.html#l00103">wGui::CEditBox::Draw()</a>, <a class="el" href="wg__scrollbar_8cpp-source.html#l00093">wGui::CScrollBar::SetPosition()</a>, <a class="el" href="wg__scrollbar_8cpp-source.html#l00142">wGui::CScrollBar::SetWindowRect()</a>, and <a class="el" href="wg__groupbox_8cpp-source.html#l00086">wGui::CGroupBox::SetWindowRect()</a>.    </td>  </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="wg__rect_8h-source.html">wg_rect.h</a><li><a class="el" href="wg__rect_8cpp-source.html">wg_rect.cpp</a></ul><hr><address style="align: right;"><small>Generated on Sat Oct 25 12:43:28 2003 for wGui by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>

⌨️ 快捷键说明

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