diff options
Diffstat (limited to 'doc/html/classirr_1_1core_1_1rect.html')
| -rw-r--r-- | doc/html/classirr_1_1core_1_1rect.html | 874 |
1 files changed, 874 insertions, 0 deletions
diff --git a/doc/html/classirr_1_1core_1_1rect.html b/doc/html/classirr_1_1core_1_1rect.html new file mode 100644 index 0000000..3a6a3a5 --- /dev/null +++ b/doc/html/classirr_1_1core_1_1rect.html @@ -0,0 +1,874 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<title>Irrlicht 3D Engine: irr::core::rect< T > Class Template Reference</title> + +<link href="tabs.css" rel="stylesheet" type="text/css"/> +<link href="doxygen.css" rel="stylesheet" type="text/css" /> +<link href="navtree.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="jquery.js"></script> +<script type="text/javascript" src="resize.js"></script> +<script type="text/javascript" src="navtree.js"></script> +<script type="text/javascript"> + $(document).ready(initResizable); +</script> +<link href="search/search.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="search/search.js"></script> +<script type="text/javascript"> + $(document).ready(function() { searchBox.OnSelectItem(0); }); +</script> + +</head> +<body> +<div id="top"><!-- do not remove this div! --> + + +<div id="titlearea"> +<table cellspacing="0" cellpadding="0"> + <tbody> + <tr style="height: 56px;"> + + <td id="projectlogo"><img alt="Logo" src="irrlichtlogo.png"/></td> + + + <td style="padding-left: 0.5em;"> + <div id="projectname">Irrlicht 3D Engine + + </div> + + </td> + + + + + <td> <div id="MSearchBox" class="MSearchBoxInactive"> + <span class="left"> + <img id="MSearchSelect" src="search/mag_sel.png" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + alt=""/> + <input type="text" id="MSearchField" value="Search" accesskey="S" + onfocus="searchBox.OnSearchFieldFocus(true)" + onblur="searchBox.OnSearchFieldFocus(false)" + onkeyup="searchBox.OnSearchFieldChange(event)"/> + </span><span class="right"> + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> + </span> + </div> +</td> + + + </tr> + </tbody> +</table> +</div> + +<!-- Generated by Doxygen 1.7.5.1 --> +<script type="text/javascript"> +var searchBox = new SearchBox("searchBox", "search",false,'Search'); +</script> +<script type="text/javascript" src="dynsections.js"></script> +</div> +<div id="side-nav" class="ui-resizable side-nav-resizable"> + <div id="nav-tree"> + <div id="nav-tree-contents"> + </div> + </div> + <div id="splitbar" style="-moz-user-select:none;" + class="ui-resizable-handle"> + </div> +</div> +<script type="text/javascript"> + initNavTree('classirr_1_1core_1_1rect.html',''); +</script> +<div id="doc-content"> +<div class="header"> + <div class="summary"> +<a href="#pub-methods">Public Member Functions</a> | +<a href="#pub-attribs">Public Attributes</a> </div> + <div class="headertitle"> +<div class="title">irr::core::rect< T > Class Template Reference</div> </div> +</div> +<div class="contents"> +<!-- doxytag: class="irr::core::rect" --> +<p>Rectangle template. + <a href="classirr_1_1core_1_1rect.html#details">More...</a></p> + +<p><code>#include <<a class="el" href="rect_8h_source.html">rect.h</a>></code></p> + +<p><a href="classirr_1_1core_1_1rect-members.html">List of all members.</a></p> +<h2><a name="pub-methods"></a> +Public Member Functions</h2> +<ul> +<li><a class="el" href="classirr_1_1core_1_1rect.html#a04c79e7af6ff14b62e569628c4f83e44">rect</a> () +<dl class="el"><dd class="mdescRight">Default constructor creating empty rectangle at (0,0) <a href="#a04c79e7af6ff14b62e569628c4f83e44"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1rect.html#af7d59f53cd24d5f9f587896160ece50a">rect</a> (T x, T y, T x2, T y2) +<dl class="el"><dd class="mdescRight">Constructor with two corners. <a href="#af7d59f53cd24d5f9f587896160ece50a"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1rect.html#a8f207109cebad893de44b01cc67e9e34">rect</a> (const position2d< T > &upperLeft, const position2d< T > &lowerRight) +<dl class="el"><dd class="mdescRight">Constructor with two corners. <a href="#a8f207109cebad893de44b01cc67e9e34"></a><br/></dl><li>template<class U > <a class="el" href="classirr_1_1core_1_1rect.html#a54526b73a11cf90a4f4ff0c6d1556fcc">rect</a> (const position2d< T > &pos, const <a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< U > &size) +<dl class="el"><dd class="mdescRight">Constructor with upper left corner and dimension. <a href="#a54526b73a11cf90a4f4ff0c6d1556fcc"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1rect.html#a0b7496319a32ceda640c730f5822f1ef">addInternalPoint</a> (const position2d< T > &p) +<dl class="el"><dd class="mdescRight">Adds a point to the rectangle. <a href="#a0b7496319a32ceda640c730f5822f1ef"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1rect.html#a25b80222bc003a238fa8f5157bdb8b9d">addInternalPoint</a> (T x, T y) +<dl class="el"><dd class="mdescRight">Adds a point to the bounding rectangle. <a href="#a25b80222bc003a238fa8f5157bdb8b9d"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1rect.html#a86645d45a8bed1a3539bba9865e93de4">clipAgainst</a> (const <a class="el" href="classirr_1_1core_1_1rect.html">rect</a>< T > &other) +<dl class="el"><dd class="mdescRight">Clips this rectangle with another one. <a href="#a86645d45a8bed1a3539bba9865e93de4"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1rect.html#a4515d2a1349dc805775854a422465f63">constrainTo</a> (const <a class="el" href="classirr_1_1core_1_1rect.html">rect</a>< T > &other) +<dl class="el"><dd class="mdescRight">Moves this rectangle to fit inside another one. <a href="#a4515d2a1349dc805775854a422465f63"></a><br/></dl><li>T <a class="el" href="classirr_1_1core_1_1rect.html#aec261cb39303c6051faf8202741f2b53">getArea</a> () const +<dl class="el"><dd class="mdescRight">Returns size of rectangle. <a href="#aec261cb39303c6051faf8202741f2b53"></a><br/></dl><li>position2d< T > <a class="el" href="classirr_1_1core_1_1rect.html#a44fa44c31767208d5bf2b6e6980a742c">getCenter</a> () const +<dl class="el"><dd class="mdescRight">Get the center of the rectangle. <a href="#a44fa44c31767208d5bf2b6e6980a742c"></a><br/></dl><li>T <a class="el" href="classirr_1_1core_1_1rect.html#a61b4192aa7aee5b55c288b1eac29d76b">getHeight</a> () const +<dl class="el"><dd class="mdescRight">Get height of rectangle. <a href="#a61b4192aa7aee5b55c288b1eac29d76b"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > <a class="el" href="classirr_1_1core_1_1rect.html#adffacbb0f07d8268a32af2a32b3ac3ac">getSize</a> () const +<dl class="el"><dd class="mdescRight">Get the dimensions of the rectangle. <a href="#adffacbb0f07d8268a32af2a32b3ac3ac"></a><br/></dl><li>T <a class="el" href="classirr_1_1core_1_1rect.html#ae313a3674095733348d5e8bcb75c49b4">getWidth</a> () const +<dl class="el"><dd class="mdescRight">Get width of rectangle. <a href="#ae313a3674095733348d5e8bcb75c49b4"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1rect.html#a3276400775d230f377ff1e2755cbb4ef">isPointInside</a> (const position2d< T > &pos) const +<dl class="el"><dd class="mdescRight">Returns if a 2d point is within this rectangle. <a href="#a3276400775d230f377ff1e2755cbb4ef"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1rect.html#abb2b27935e617dfad6445b2f25f7513d">isRectCollided</a> (const <a class="el" href="classirr_1_1core_1_1rect.html">rect</a>< T > &other) const +<dl class="el"><dd class="mdescRight">Check if the rectangle collides with another rectangle. <a href="#abb2b27935e617dfad6445b2f25f7513d"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1rect.html#a1ab043c2f686a7d02fc72a1655162faf">isValid</a> () const +<dl class="el"><dd class="mdescRight">Returns if the rect is valid to draw. <a href="#a1ab043c2f686a7d02fc72a1655162faf"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1rect.html#a68e23478fc9788779820988f106b9fd2">operator!=</a> (const <a class="el" href="classirr_1_1core_1_1rect.html">rect</a>< T > &other) const +<dl class="el"><dd class="mdescRight">inequality operator <a href="#a68e23478fc9788779820988f106b9fd2"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1rect.html">rect</a>< T > <a class="el" href="classirr_1_1core_1_1rect.html#a699b98aff4bf8b7d92cef6d3c940354f">operator+</a> (const position2d< T > &pos) const +<dl class="el"><dd class="mdescRight">move right by given numbers <a href="#a699b98aff4bf8b7d92cef6d3c940354f"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1rect.html">rect</a>< T > & <a class="el" href="classirr_1_1core_1_1rect.html#a4f4f1c3c3321d1ca5e9f617ebf47421c">operator+=</a> (const position2d< T > &pos) +<dl class="el"><dd class="mdescRight">move right by given numbers <a href="#a4f4f1c3c3321d1ca5e9f617ebf47421c"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1rect.html">rect</a>< T > <a class="el" href="classirr_1_1core_1_1rect.html#a031c021cf1ccbc4efe5b5242e85cdc6d">operator-</a> (const position2d< T > &pos) const +<dl class="el"><dd class="mdescRight">move left by given numbers <a href="#a031c021cf1ccbc4efe5b5242e85cdc6d"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1rect.html">rect</a>< T > & <a class="el" href="classirr_1_1core_1_1rect.html#a3ef4f6f13ec79c3d5745df3a76f9e1e1">operator-=</a> (const position2d< T > &pos) +<dl class="el"><dd class="mdescRight">move left by given numbers <a href="#a3ef4f6f13ec79c3d5745df3a76f9e1e1"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1rect.html#abcba5b76777333253cd37ed041e7c3a7">operator<</a> (const <a class="el" href="classirr_1_1core_1_1rect.html">rect</a>< T > &other) const +<dl class="el"><dd class="mdescRight">compares size of rectangles <a href="#abcba5b76777333253cd37ed041e7c3a7"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1rect.html#ae788c2c726f187fc4681f9ca6eef2b19">operator==</a> (const <a class="el" href="classirr_1_1core_1_1rect.html">rect</a>< T > &other) const +<dl class="el"><dd class="mdescRight">equality operator <a href="#ae788c2c726f187fc4681f9ca6eef2b19"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1rect.html#a45c7665e74aed626bb5c01729f206775">repair</a> () +<dl class="el"><dd class="mdescRight">If the lower right corner of the rect is smaller then the upper left, the points are swapped. <a href="#a45c7665e74aed626bb5c01729f206775"></a><br/></dl></ul> +<h2><a name="pub-attribs"></a> +Public Attributes</h2> +<ul> +<li>position2d< T > <a class="el" href="classirr_1_1core_1_1rect.html#aa7c7e38bbff5f32992f69b36fc8cec1e">LowerRightCorner</a> +<dl class="el"><dd class="mdescRight">Lower right corner. <a href="#aa7c7e38bbff5f32992f69b36fc8cec1e"></a><br/></dl><li>position2d< T > <a class="el" href="classirr_1_1core_1_1rect.html#abd47b3a4967b2153e58984d964af6573">UpperLeftCorner</a> +<dl class="el"><dd class="mdescRight">Upper left corner. <a href="#abd47b3a4967b2153e58984d964af6573"></a><br/></dl></ul> +<hr/><a name="details" id="details"></a><h2>Detailed Description</h2> +<div class="textblock"><h3>template<class T><br/> +class irr::core::rect< T ></h3> + +<p>Rectangle template. </p> +<p>Mostly used by 2D GUI elements and for 2D drawing methods. It has 2 positions instead of position and dimension and a fast method for collision detection with other rectangles and points.</p> +<p>Coordinates are (0,0) for top-left corner, and increasing to the right and to the bottom. </p> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00026">26</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> +</div><hr/><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" id="a04c79e7af6ff14b62e569628c4f83e44"></a><!-- doxytag: member="irr::core::rect::rect" ref="a04c79e7af6ff14b62e569628c4f83e44" args="()" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classirr_1_1core_1_1rect.html">irr::core::rect</a>< T >::<a class="el" href="classirr_1_1core_1_1rect.html">rect</a> </td> + <td>(</td> + <td class="paramname"></td><td>)</td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Default constructor creating empty rectangle at (0,0) </p> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00031">31</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> + +</div> +</div> +<a class="anchor" id="af7d59f53cd24d5f9f587896160ece50a"></a><!-- doxytag: member="irr::core::rect::rect" ref="af7d59f53cd24d5f9f587896160ece50a" args="(T x, T y, T x2, T y2)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classirr_1_1core_1_1rect.html">irr::core::rect</a>< T >::<a class="el" href="classirr_1_1core_1_1rect.html">rect</a> </td> + <td>(</td> + <td class="paramtype">T </td> + <td class="paramname"><em>x</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">T </td> + <td class="paramname"><em>y</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">T </td> + <td class="paramname"><em>x2</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">T </td> + <td class="paramname"><em>y2</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Constructor with two corners. </p> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00034">34</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> + +</div> +</div> +<a class="anchor" id="a8f207109cebad893de44b01cc67e9e34"></a><!-- doxytag: member="irr::core::rect::rect" ref="a8f207109cebad893de44b01cc67e9e34" args="(const position2d< T > &upperLeft, const position2d< T > &lowerRight)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classirr_1_1core_1_1rect.html">irr::core::rect</a>< T >::<a class="el" href="classirr_1_1core_1_1rect.html">rect</a> </td> + <td>(</td> + <td class="paramtype">const position2d< T > & </td> + <td class="paramname"><em>upperLeft</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const position2d< T > & </td> + <td class="paramname"><em>lowerRight</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Constructor with two corners. </p> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00038">38</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> + +</div> +</div> +<a class="anchor" id="a54526b73a11cf90a4f4ff0c6d1556fcc"></a><!-- doxytag: member="irr::core::rect::rect" ref="a54526b73a11cf90a4f4ff0c6d1556fcc" args="(const position2d< T > &pos, const dimension2d< U > &size)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> +<div class="memtemplate"> +template<class U > </div> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classirr_1_1core_1_1rect.html">irr::core::rect</a>< T >::<a class="el" href="classirr_1_1core_1_1rect.html">rect</a> </td> + <td>(</td> + <td class="paramtype">const position2d< T > & </td> + <td class="paramname"><em>pos</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< U > & </td> + <td class="paramname"><em>size</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Constructor with upper left corner and dimension. </p> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00043">43</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> + +</div> +</div> +<hr/><h2>Member Function Documentation</h2> +<a class="anchor" id="a0b7496319a32ceda640c730f5822f1ef"></a><!-- doxytag: member="irr::core::rect::addInternalPoint" ref="a0b7496319a32ceda640c730f5822f1ef" args="(const position2d< T > &p)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> + <table class="memname"> + <tr> + <td class="memname">void <a class="el" href="classirr_1_1core_1_1rect.html">irr::core::rect</a>< T >::addInternalPoint </td> + <td>(</td> + <td class="paramtype">const position2d< T > & </td> + <td class="paramname"><em>p</em></td><td>)</td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Adds a point to the rectangle. </p> +<p>Causes the rectangle to grow bigger if point is outside of the box </p> +<dl><dt><b>Parameters:</b></dt><dd> + <table class="params"> + <tr><td class="paramname">p</td><td>Point to add to the box. </td></tr> + </table> + </dd> +</dl> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00241">241</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> + +<p>Referenced by <a class="el" href="rect_8h_source.html#l00241">irr::core::rect< f32 >::addInternalPoint()</a>.</p> + +</div> +</div> +<a class="anchor" id="a25b80222bc003a238fa8f5157bdb8b9d"></a><!-- doxytag: member="irr::core::rect::addInternalPoint" ref="a25b80222bc003a238fa8f5157bdb8b9d" args="(T x, T y)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> + <table class="memname"> + <tr> + <td class="memname">void <a class="el" href="classirr_1_1core_1_1rect.html">irr::core::rect</a>< T >::addInternalPoint </td> + <td>(</td> + <td class="paramtype">T </td> + <td class="paramname"><em>x</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">T </td> + <td class="paramname"><em>y</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Adds a point to the bounding rectangle. </p> +<p>Causes the rectangle to grow bigger if point is outside of the box </p> +<dl><dt><b>Parameters:</b></dt><dd> + <table class="params"> + <tr><td class="paramname">x</td><td>X-Coordinate of the point to add to this box. </td></tr> + <tr><td class="paramname">y</td><td>Y-Coordinate of the point to add to this box. </td></tr> + </table> + </dd> +</dl> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00251">251</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> + +</div> +</div> +<a class="anchor" id="a86645d45a8bed1a3539bba9865e93de4"></a><!-- doxytag: member="irr::core::rect::clipAgainst" ref="a86645d45a8bed1a3539bba9865e93de4" args="(const rect< T > &other)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> + <table class="memname"> + <tr> + <td class="memname">void <a class="el" href="classirr_1_1core_1_1rect.html">irr::core::rect</a>< T >::clipAgainst </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">rect</a>< T > & </td> + <td class="paramname"><em>other</em></td><td>)</td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Clips this rectangle with another one. </p> +<dl><dt><b>Parameters:</b></dt><dd> + <table class="params"> + <tr><td class="paramname">other</td><td>Rectangle to clip with </td></tr> + </table> + </dd> +</dl> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00126">126</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> + +<p>Referenced by <a class="el" href="_i_g_u_i_element_8h_source.html#l00831">irr::gui::IGUIElement::recalculateAbsolutePosition()</a>.</p> + +</div> +</div> +<a class="anchor" id="a4515d2a1349dc805775854a422465f63"></a><!-- doxytag: member="irr::core::rect::constrainTo" ref="a4515d2a1349dc805775854a422465f63" args="(const rect< T > &other)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> + <table class="memname"> + <tr> + <td class="memname">bool <a class="el" href="classirr_1_1core_1_1rect.html">irr::core::rect</a>< T >::constrainTo </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">rect</a>< T > & </td> + <td class="paramname"><em>other</em></td><td>)</td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Moves this rectangle to fit inside another one. </p> +<dl class="return"><dt><b>Returns:</b></dt><dd>True on success, false if not possible </dd></dl> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00147">147</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> + +</div> +</div> +<a class="anchor" id="aec261cb39303c6051faf8202741f2b53"></a><!-- doxytag: member="irr::core::rect::getArea" ref="aec261cb39303c6051faf8202741f2b53" args="() const " --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> + <table class="memname"> + <tr> + <td class="memname">T <a class="el" href="classirr_1_1core_1_1rect.html">irr::core::rect</a>< T >::getArea </td> + <td>(</td> + <td class="paramname"></td><td>)</td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Returns size of rectangle. </p> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00097">97</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> + +<p>Referenced by <a class="el" href="rect_8h_source.html#l00091">irr::core::rect< f32 >::operator<()</a>.</p> + +</div> +</div> +<a class="anchor" id="a44fa44c31767208d5bf2b6e6980a742c"></a><!-- doxytag: member="irr::core::rect::getCenter" ref="a44fa44c31767208d5bf2b6e6980a742c" args="() const " --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> + <table class="memname"> + <tr> + <td class="memname">position2d<T> <a class="el" href="classirr_1_1core_1_1rect.html">irr::core::rect</a>< T >::getCenter </td> + <td>(</td> + <td class="paramname"></td><td>)</td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Get the center of the rectangle. </p> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00223">223</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> + +</div> +</div> +<a class="anchor" id="a61b4192aa7aee5b55c288b1eac29d76b"></a><!-- doxytag: member="irr::core::rect::getHeight" ref="a61b4192aa7aee5b55c288b1eac29d76b" args="() const " --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> + <table class="memname"> + <tr> + <td class="memname">T <a class="el" href="classirr_1_1core_1_1rect.html">irr::core::rect</a>< T >::getHeight </td> + <td>(</td> + <td class="paramname"></td><td>)</td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Get height of rectangle. </p> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00190">190</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> + +<p>Referenced by <a class="el" href="matrix4_8h_source.html#l01915">irr::core::CMatrix4< T >::buildNDCToDCMatrix()</a>, <a class="el" href="rect_8h_source.html#l00147">irr::core::rect< f32 >::constrainTo()</a>, <a class="el" href="rect_8h_source.html#l00097">irr::core::rect< f32 >::getArea()</a>, <a class="el" href="rect_8h_source.html#l00231">irr::core::rect< f32 >::getSize()</a>, and <a class="el" href="_i_g_u_i_element_8h_source.html#l00831">irr::gui::IGUIElement::recalculateAbsolutePosition()</a>.</p> + +</div> +</div> +<a class="anchor" id="adffacbb0f07d8268a32af2a32b3ac3ac"></a><!-- doxytag: member="irr::core::rect::getSize" ref="adffacbb0f07d8268a32af2a32b3ac3ac" args="() const " --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a><T> <a class="el" href="classirr_1_1core_1_1rect.html">irr::core::rect</a>< T >::getSize </td> + <td>(</td> + <td class="paramname"></td><td>)</td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Get the dimensions of the rectangle. </p> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00231">231</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> + +<p>Referenced by <a class="el" href="_i_g_u_i_element_8h_source.html#l00081">irr::gui::IGUIElement::setRelativePosition()</a>, and <a class="el" href="_i_g_u_i_element_8h_source.html#l00119">irr::gui::IGUIElement::setRelativePositionProportional()</a>.</p> + +</div> +</div> +<a class="anchor" id="ae313a3674095733348d5e8bcb75c49b4"></a><!-- doxytag: member="irr::core::rect::getWidth" ref="ae313a3674095733348d5e8bcb75c49b4" args="() const " --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> + <table class="memname"> + <tr> + <td class="memname">T <a class="el" href="classirr_1_1core_1_1rect.html">irr::core::rect</a>< T >::getWidth </td> + <td>(</td> + <td class="paramname"></td><td>)</td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Get width of rectangle. </p> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00184">184</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> + +<p>Referenced by <a class="el" href="matrix4_8h_source.html#l01915">irr::core::CMatrix4< T >::buildNDCToDCMatrix()</a>, <a class="el" href="rect_8h_source.html#l00147">irr::core::rect< f32 >::constrainTo()</a>, <a class="el" href="rect_8h_source.html#l00097">irr::core::rect< f32 >::getArea()</a>, <a class="el" href="rect_8h_source.html#l00231">irr::core::rect< f32 >::getSize()</a>, and <a class="el" href="_i_g_u_i_element_8h_source.html#l00831">irr::gui::IGUIElement::recalculateAbsolutePosition()</a>.</p> + +</div> +</div> +<a class="anchor" id="a3276400775d230f377ff1e2755cbb4ef"></a><!-- doxytag: member="irr::core::rect::isPointInside" ref="a3276400775d230f377ff1e2755cbb4ef" args="(const position2d< T > &pos) const " --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> + <table class="memname"> + <tr> + <td class="memname">bool <a class="el" href="classirr_1_1core_1_1rect.html">irr::core::rect</a>< T >::isPointInside </td> + <td>(</td> + <td class="paramtype">const position2d< T > & </td> + <td class="paramname"><em>pos</em></td><td>)</td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Returns if a 2d point is within this rectangle. </p> +<dl><dt><b>Parameters:</b></dt><dd> + <table class="params"> + <tr><td class="paramname">pos</td><td>Position to test if it lies within this rectangle. </td></tr> + </table> + </dd> +</dl> +<dl class="return"><dt><b>Returns:</b></dt><dd>True if the position is within the rectangle, false if not. </dd></dl> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00105">105</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> + +<p>Referenced by <a class="el" href="_i_g_u_i_element_8h_source.html#l00272">irr::gui::IGUIElement::isPointInside()</a>.</p> + +</div> +</div> +<a class="anchor" id="abb2b27935e617dfad6445b2f25f7513d"></a><!-- doxytag: member="irr::core::rect::isRectCollided" ref="abb2b27935e617dfad6445b2f25f7513d" args="(const rect< T > &other) const " --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> + <table class="memname"> + <tr> + <td class="memname">bool <a class="el" href="classirr_1_1core_1_1rect.html">irr::core::rect</a>< T >::isRectCollided </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">rect</a>< T > & </td> + <td class="paramname"><em>other</em></td><td>)</td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Check if the rectangle collides with another rectangle. </p> +<dl><dt><b>Parameters:</b></dt><dd> + <table class="params"> + <tr><td class="paramname">other</td><td>Rectangle to test collision with </td></tr> + </table> + </dd> +</dl> +<dl class="return"><dt><b>Returns:</b></dt><dd>True if the rectangles collide. </dd></dl> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00116">116</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> + +</div> +</div> +<a class="anchor" id="a1ab043c2f686a7d02fc72a1655162faf"></a><!-- doxytag: member="irr::core::rect::isValid" ref="a1ab043c2f686a7d02fc72a1655162faf" args="() const " --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> + <table class="memname"> + <tr> + <td class="memname">bool <a class="el" href="classirr_1_1core_1_1rect.html">irr::core::rect</a>< T >::isValid </td> + <td>(</td> + <td class="paramname"></td><td>)</td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Returns if the rect is valid to draw. </p> +<p>It would be invalid if the UpperLeftCorner is lower or more right than the LowerRightCorner. </p> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00216">216</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> + +</div> +</div> +<a class="anchor" id="a68e23478fc9788779820988f106b9fd2"></a><!-- doxytag: member="irr::core::rect::operator!=" ref="a68e23478fc9788779820988f106b9fd2" args="(const rect< T > &other) const " --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> + <table class="memname"> + <tr> + <td class="memname">bool <a class="el" href="classirr_1_1core_1_1rect.html">irr::core::rect</a>< T >::operator!= </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">rect</a>< T > & </td> + <td class="paramname"><em>other</em></td><td>)</td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>inequality operator </p> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00084">84</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> + +</div> +</div> +<a class="anchor" id="a699b98aff4bf8b7d92cef6d3c940354f"></a><!-- doxytag: member="irr::core::rect::operator+" ref="a699b98aff4bf8b7d92cef6d3c940354f" args="(const position2d< T > &pos) const " --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classirr_1_1core_1_1rect.html">rect</a><T> <a class="el" href="classirr_1_1core_1_1rect.html">irr::core::rect</a>< T >::operator+ </td> + <td>(</td> + <td class="paramtype">const position2d< T > & </td> + <td class="paramname"><em>pos</em></td><td>)</td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>move right by given numbers </p> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00047">47</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> + +</div> +</div> +<a class="anchor" id="a4f4f1c3c3321d1ca5e9f617ebf47421c"></a><!-- doxytag: member="irr::core::rect::operator+=" ref="a4f4f1c3c3321d1ca5e9f617ebf47421c" args="(const position2d< T > &pos)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classirr_1_1core_1_1rect.html">rect</a><T>& <a class="el" href="classirr_1_1core_1_1rect.html">irr::core::rect</a>< T >::operator+= </td> + <td>(</td> + <td class="paramtype">const position2d< T > & </td> + <td class="paramname"><em>pos</em></td><td>)</td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>move right by given numbers </p> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00054">54</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> + +</div> +</div> +<a class="anchor" id="a031c021cf1ccbc4efe5b5242e85cdc6d"></a><!-- doxytag: member="irr::core::rect::operator-" ref="a031c021cf1ccbc4efe5b5242e85cdc6d" args="(const position2d< T > &pos) const " --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classirr_1_1core_1_1rect.html">rect</a><T> <a class="el" href="classirr_1_1core_1_1rect.html">irr::core::rect</a>< T >::operator- </td> + <td>(</td> + <td class="paramtype">const position2d< T > & </td> + <td class="paramname"><em>pos</em></td><td>)</td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>move left by given numbers </p> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00062">62</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> + +</div> +</div> +<a class="anchor" id="a3ef4f6f13ec79c3d5745df3a76f9e1e1"></a><!-- doxytag: member="irr::core::rect::operator-=" ref="a3ef4f6f13ec79c3d5745df3a76f9e1e1" args="(const position2d< T > &pos)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classirr_1_1core_1_1rect.html">rect</a><T>& <a class="el" href="classirr_1_1core_1_1rect.html">irr::core::rect</a>< T >::operator-= </td> + <td>(</td> + <td class="paramtype">const position2d< T > & </td> + <td class="paramname"><em>pos</em></td><td>)</td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>move left by given numbers </p> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00069">69</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> + +</div> +</div> +<a class="anchor" id="abcba5b76777333253cd37ed041e7c3a7"></a><!-- doxytag: member="irr::core::rect::operator<" ref="abcba5b76777333253cd37ed041e7c3a7" args="(const rect< T > &other) const " --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> + <table class="memname"> + <tr> + <td class="memname">bool <a class="el" href="classirr_1_1core_1_1rect.html">irr::core::rect</a>< T >::operator< </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">rect</a>< T > & </td> + <td class="paramname"><em>other</em></td><td>)</td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>compares size of rectangles </p> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00091">91</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> + +</div> +</div> +<a class="anchor" id="ae788c2c726f187fc4681f9ca6eef2b19"></a><!-- doxytag: member="irr::core::rect::operator==" ref="ae788c2c726f187fc4681f9ca6eef2b19" args="(const rect< T > &other) const " --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> + <table class="memname"> + <tr> + <td class="memname">bool <a class="el" href="classirr_1_1core_1_1rect.html">irr::core::rect</a>< T >::operator== </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">rect</a>< T > & </td> + <td class="paramname"><em>other</em></td><td>)</td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>equality operator </p> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00077">77</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> + +</div> +</div> +<a class="anchor" id="a45c7665e74aed626bb5c01729f206775"></a><!-- doxytag: member="irr::core::rect::repair" ref="a45c7665e74aed626bb5c01729f206775" args="()" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> + <table class="memname"> + <tr> + <td class="memname">void <a class="el" href="classirr_1_1core_1_1rect.html">irr::core::rect</a>< T >::repair </td> + <td>(</td> + <td class="paramname"></td><td>)</td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>If the lower right corner of the rect is smaller then the upper left, the points are swapped. </p> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00196">196</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> + +<p>Referenced by <a class="el" href="_i_g_u_i_element_8h_source.html#l00831">irr::gui::IGUIElement::recalculateAbsolutePosition()</a>.</p> + +</div> +</div> +<hr/><h2>Member Data Documentation</h2> +<a class="anchor" id="aa7c7e38bbff5f32992f69b36fc8cec1e"></a><!-- doxytag: member="irr::core::rect::LowerRightCorner" ref="aa7c7e38bbff5f32992f69b36fc8cec1e" args="" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> + <table class="memname"> + <tr> + <td class="memname">position2d<T> <a class="el" href="classirr_1_1core_1_1rect.html">irr::core::rect</a>< T >::<a class="el" href="classirr_1_1core_1_1rect.html#aa7c7e38bbff5f32992f69b36fc8cec1e">LowerRightCorner</a></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Lower right corner. </p> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00267">267</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> + +<p>Referenced by <a class="el" href="rect_8h_source.html#l00251">irr::core::rect< f32 >::addInternalPoint()</a>, <a class="el" href="matrix4_8h_source.html#l01915">irr::core::CMatrix4< T >::buildNDCToDCMatrix()</a>, <a class="el" href="rect_8h_source.html#l00126">irr::core::rect< f32 >::clipAgainst()</a>, <a class="el" href="rect_8h_source.html#l00147">irr::core::rect< f32 >::constrainTo()</a>, <a class="el" href="rect_8h_source.html#l00223">irr::core::rect< f32 >::getCenter()</a>, <a class="el" href="rect_8h_source.html#l00190">irr::core::rect< f32 >::getHeight()</a>, <a class="el" href="rect_8h_source.html#l00184">irr::core::rect< f32 >::getWidth()</a>, <a class="el" href="rect_8h_source.html#l00105">irr::core::rect< f32 >::isPointInside()</a>, <a class="el" href="rect_8h_source.html#l00116">irr::core::rect< f32 >::isRectCollided()</a>, <a class="el" href="rect_8h_source.html#l00216">irr::core::rect< f32 >::isValid()</a>, <a class="el" href="rect_8h_source.html#l00084">irr::core::rect< f32 >::operator!=()</a>, <a class="el" href="rect_8h_source.html#l00054">irr::core::rect< f32 >::operator+=()</a>, <a class="el" href="rect_8h_source.html#l00069">irr::core::rect< f32 >::operator-=()</a>, <a class="el" href="rect_8h_source.html#l00077">irr::core::rect< f32 >::operator==()</a>, <a class="el" href="_i_g_u_i_element_8h_source.html#l00831">irr::gui::IGUIElement::recalculateAbsolutePosition()</a>, <a class="el" href="rect_8h_source.html#l00196">irr::core::rect< f32 >::repair()</a>, <a class="el" href="_i_g_u_i_element_8h_source.html#l00191">irr::gui::IGUIElement::setAlignment()</a>, <a class="el" href="_i_g_u_i_element_8h_source.html#l00081">irr::gui::IGUIElement::setRelativePosition()</a>, and <a class="el" href="_i_g_u_i_element_8h_source.html#l00119">irr::gui::IGUIElement::setRelativePositionProportional()</a>.</p> + +</div> +</div> +<a class="anchor" id="abd47b3a4967b2153e58984d964af6573"></a><!-- doxytag: member="irr::core::rect::UpperLeftCorner" ref="abd47b3a4967b2153e58984d964af6573" args="" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> + <table class="memname"> + <tr> + <td class="memname">position2d<T> <a class="el" href="classirr_1_1core_1_1rect.html">irr::core::rect</a>< T >::<a class="el" href="classirr_1_1core_1_1rect.html#abd47b3a4967b2153e58984d964af6573">UpperLeftCorner</a></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Upper left corner. </p> + +<p>Definition at line <a class="el" href="rect_8h_source.html#l00265">265</a> of file <a class="el" href="rect_8h_source.html">rect.h</a>.</p> + +<p>Referenced by <a class="el" href="rect_8h_source.html#l00251">irr::core::rect< f32 >::addInternalPoint()</a>, <a class="el" href="matrix4_8h_source.html#l01915">irr::core::CMatrix4< T >::buildNDCToDCMatrix()</a>, <a class="el" href="rect_8h_source.html#l00126">irr::core::rect< f32 >::clipAgainst()</a>, <a class="el" href="rect_8h_source.html#l00147">irr::core::rect< f32 >::constrainTo()</a>, <a class="el" href="rect_8h_source.html#l00223">irr::core::rect< f32 >::getCenter()</a>, <a class="el" href="rect_8h_source.html#l00190">irr::core::rect< f32 >::getHeight()</a>, <a class="el" href="rect_8h_source.html#l00184">irr::core::rect< f32 >::getWidth()</a>, <a class="el" href="rect_8h_source.html#l00105">irr::core::rect< f32 >::isPointInside()</a>, <a class="el" href="rect_8h_source.html#l00116">irr::core::rect< f32 >::isRectCollided()</a>, <a class="el" href="rect_8h_source.html#l00216">irr::core::rect< f32 >::isValid()</a>, <a class="el" href="rect_8h_source.html#l00084">irr::core::rect< f32 >::operator!=()</a>, <a class="el" href="rect_8h_source.html#l00054">irr::core::rect< f32 >::operator+=()</a>, <a class="el" href="rect_8h_source.html#l00069">irr::core::rect< f32 >::operator-=()</a>, <a class="el" href="rect_8h_source.html#l00077">irr::core::rect< f32 >::operator==()</a>, <a class="el" href="_i_g_u_i_element_8h_source.html#l00831">irr::gui::IGUIElement::recalculateAbsolutePosition()</a>, <a class="el" href="rect_8h_source.html#l00196">irr::core::rect< f32 >::repair()</a>, <a class="el" href="_i_g_u_i_element_8h_source.html#l00191">irr::gui::IGUIElement::setAlignment()</a>, <a class="el" href="_i_g_u_i_element_8h_source.html#l00081">irr::gui::IGUIElement::setRelativePosition()</a>, and <a class="el" href="_i_g_u_i_element_8h_source.html#l00119">irr::gui::IGUIElement::setRelativePositionProportional()</a>.</p> + +</div> +</div> +<hr/>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="rect_8h_source.html">rect.h</a></li> +</ul> +</div> +</div> + <div id="nav-path" class="navpath"> + <ul> + <li class="navelem"><a class="el" href="namespaceirr.html">irr</a> </li> + <li class="navelem"><a class="el" href="namespaceirr_1_1core.html">core</a> </li> + <li class="navelem"><a class="el" href="classirr_1_1core_1_1rect.html">rect</a> </li> +<!-- window showing the filter options --> +<div id="MSearchSelectWindow" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + onkeydown="return searchBox.OnSearchSelectKey(event)"> +<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Defines</a></div> + +<!-- iframe showing the search results (closed by default) --> +<div id="MSearchResultsWindow"> +<iframe src="javascript:void(0)" frameborder="0" + name="MSearchResults" id="MSearchResults"> +</iframe> +</div> + + + <li class="footer"> +<a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht +Engine</a> Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on Fri Mar 12 2021 17:21:59 for Irrlicht 3D Engine by +<a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li> + </ul> + </div> + + +</body> +</html> |
