diff options
Diffstat (limited to 'h1z1/libghack/CSFML-2.1-windows-64bits/CSFML-2.1/doc/html/Rect_8h.htm')
-rwxr-xr-x | h1z1/libghack/CSFML-2.1-windows-64bits/CSFML-2.1/doc/html/Rect_8h.htm | 228 |
1 files changed, 228 insertions, 0 deletions
diff --git a/h1z1/libghack/CSFML-2.1-windows-64bits/CSFML-2.1/doc/html/Rect_8h.htm b/h1z1/libghack/CSFML-2.1-windows-64bits/CSFML-2.1/doc/html/Rect_8h.htm new file mode 100755 index 0000000..5b66504 --- /dev/null +++ b/h1z1/libghack/CSFML-2.1-windows-64bits/CSFML-2.1/doc/html/Rect_8h.htm @@ -0,0 +1,228 @@ +<!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> + <title>CSFML - C binding of the Simple and Fast Multimedia Library</title> + <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> + <!--<link rel='stylesheet' type='text/css' href="http://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic"/>--> + <link rel="stylesheet" type="text/css" href="doxygen.css" title="default" media="screen,print" /> + </head> + <body> + <div id="banner-container"> + <div id="banner"> + <span id="sfml">CSFML</span> + </div> + </div> + <div id="content"> +<!-- Generated by Doxygen 1.8.2 --> + <div id="navrow1" class="tabs"> + <ul class="tablist"> + <li><a href="index.htm"><span>Main Page</span></a></li> + <li><a href="annotated.htm"><span>Data Structures</span></a></li> + <li class="current"><a href="files.htm"><span>Files</span></a></li> + </ul> + </div> + <div id="navrow2" class="tabs2"> + <ul class="tablist"> + <li><a href="files.htm"><span>File List</span></a></li> + <li><a href="globals.htm"><span>Globals</span></a></li> + </ul> + </div> +<div id="nav-path" class="navpath"> + <ul> +<li class="navelem"><a class="el" href="dir_6a66b7969672f1da69f458a57d2c97f9.htm">include</a></li><li class="navelem"><a class="el" href="dir_8cc999c03ab8fdf40558b1f21f869c3e.htm">SFML</a></li><li class="navelem"><a class="el" href="dir_513183d162d70e825c1ac102f07bf6df.htm">Graphics</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="summary"> +<a href="#nested-classes">Data Structures</a> | +<a href="#func-members">Functions</a> </div> + <div class="headertitle"> +<div class="title">Rect.h File Reference</div> </div> +</div><!--header--> +<div class="contents"> +<div class="textblock"><code>#include <<a class="el" href="Graphics_2Export_8h_source.htm">SFML/Graphics/Export.h</a>></code><br/> +</div> +<p><a href="Rect_8h_source.htm">Go to the source code of this file.</a></p> +<table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> +Data Structures</h2></td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structsfFloatRect.htm">sfFloatRect</a></td></tr> +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structsfFloatRect.htm" title="sfFloatRect and sfIntRect are utility classes for manipulating rectangles.">sfFloatRect</a> and <a class="el" href="structsfIntRect.htm">sfIntRect</a> are utility classes for manipulating rectangles. <a href="structsfFloatRect.htm#details">More...</a><br/></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structsfIntRect.htm">sfIntRect</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> +Functions</h2></td></tr> +<tr class="memitem:aed9a566504b188bc47a0048e4f18b039"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> <a class="el" href="Config_8h.htm#a7559f07a31bb3a4a3d865178ce4dc70b">sfBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="Rect_8h.htm#aed9a566504b188bc47a0048e4f18b039">sfFloatRect_contains</a> (const <a class="el" href="structsfFloatRect.htm">sfFloatRect</a> *rect, float x, float y)</td></tr> +<tr class="memdesc:aed9a566504b188bc47a0048e4f18b039"><td class="mdescLeft"> </td><td class="mdescRight">Check if a point is inside a rectangle's area. <a href="#aed9a566504b188bc47a0048e4f18b039"></a><br/></td></tr> +<tr class="separator:aed9a566504b188bc47a0048e4f18b039"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a34ba71196d9420c0bfb4f475a7a660c7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> <a class="el" href="Config_8h.htm#a7559f07a31bb3a4a3d865178ce4dc70b">sfBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="Rect_8h.htm#a34ba71196d9420c0bfb4f475a7a660c7">sfIntRect_contains</a> (const <a class="el" href="structsfIntRect.htm">sfIntRect</a> *rect, int x, int y)</td></tr> +<tr class="separator:a34ba71196d9420c0bfb4f475a7a660c7"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:aa8578bb55f0b4f48a4f88e5e5833beef"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> <a class="el" href="Config_8h.htm#a7559f07a31bb3a4a3d865178ce4dc70b">sfBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="Rect_8h.htm#aa8578bb55f0b4f48a4f88e5e5833beef">sfFloatRect_intersects</a> (const <a class="el" href="structsfFloatRect.htm">sfFloatRect</a> *rect1, const <a class="el" href="structsfFloatRect.htm">sfFloatRect</a> *rect2, <a class="el" href="structsfFloatRect.htm">sfFloatRect</a> *intersection)</td></tr> +<tr class="memdesc:aa8578bb55f0b4f48a4f88e5e5833beef"><td class="mdescLeft"> </td><td class="mdescRight">Check intersection between two rectangles. <a href="#aa8578bb55f0b4f48a4f88e5e5833beef"></a><br/></td></tr> +<tr class="separator:aa8578bb55f0b4f48a4f88e5e5833beef"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a728b06d1f3b05303e24278ca617f1362"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> <a class="el" href="Config_8h.htm#a7559f07a31bb3a4a3d865178ce4dc70b">sfBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="Rect_8h.htm#a728b06d1f3b05303e24278ca617f1362">sfIntRect_intersects</a> (const <a class="el" href="structsfIntRect.htm">sfIntRect</a> *rect1, const <a class="el" href="structsfIntRect.htm">sfIntRect</a> *rect2, <a class="el" href="structsfIntRect.htm">sfIntRect</a> *intersection)</td></tr> +<tr class="separator:a728b06d1f3b05303e24278ca617f1362"><td class="memSeparator" colspan="2"> </td></tr> +</table> +<h2 class="groupheader">Function Documentation</h2> +<a class="anchor" id="aed9a566504b188bc47a0048e4f18b039"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> <a class="el" href="Config_8h.htm#a7559f07a31bb3a4a3d865178ce4dc70b">sfBool</a> sfFloatRect_contains </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="structsfFloatRect.htm">sfFloatRect</a> * </td> + <td class="paramname"><em>rect</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">float </td> + <td class="paramname"><em>x</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">float </td> + <td class="paramname"><em>y</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Check if a point is inside a rectangle's area. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">rect</td><td>Rectangle to test </td></tr> + <tr><td class="paramname">x</td><td>X coordinate of the point to test </td></tr> + <tr><td class="paramname">y</td><td>Y coordinate of the point to test</td></tr> + </table> + </dd> +</dl> +<dl class="section return"><dt>Returns</dt><dd>sfTrue if the point is inside </dd></dl> + +</div> +</div> +<a class="anchor" id="aa8578bb55f0b4f48a4f88e5e5833beef"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> <a class="el" href="Config_8h.htm#a7559f07a31bb3a4a3d865178ce4dc70b">sfBool</a> sfFloatRect_intersects </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="structsfFloatRect.htm">sfFloatRect</a> * </td> + <td class="paramname"><em>rect1</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="structsfFloatRect.htm">sfFloatRect</a> * </td> + <td class="paramname"><em>rect2</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="structsfFloatRect.htm">sfFloatRect</a> * </td> + <td class="paramname"><em>intersection</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Check intersection between two rectangles. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">rect1</td><td>First rectangle to test </td></tr> + <tr><td class="paramname">rect2</td><td>Second rectangle to test </td></tr> + <tr><td class="paramname">intersection</td><td>Rectangle to be filled with overlapping rect (can be NULL)</td></tr> + </table> + </dd> +</dl> +<dl class="section return"><dt>Returns</dt><dd>sfTrue if rectangles overlap </dd></dl> + +</div> +</div> +<a class="anchor" id="a34ba71196d9420c0bfb4f475a7a660c7"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> <a class="el" href="Config_8h.htm#a7559f07a31bb3a4a3d865178ce4dc70b">sfBool</a> sfIntRect_contains </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="structsfIntRect.htm">sfIntRect</a> * </td> + <td class="paramname"><em>rect</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int </td> + <td class="paramname"><em>x</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int </td> + <td class="paramname"><em>y</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a728b06d1f3b05303e24278ca617f1362"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> <a class="el" href="Config_8h.htm#a7559f07a31bb3a4a3d865178ce4dc70b">sfBool</a> sfIntRect_intersects </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="structsfIntRect.htm">sfIntRect</a> * </td> + <td class="paramname"><em>rect1</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="structsfIntRect.htm">sfIntRect</a> * </td> + <td class="paramname"><em>rect2</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="structsfIntRect.htm">sfIntRect</a> * </td> + <td class="paramname"><em>intersection</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +</div><!-- contents --> + </div> + <div id="footer-container"> + <div id="footer"> + Copyright © Laurent Gomila :: + Documentation generated by <a href="http://www.doxygen.org/" title="doxygen website">doxygen</a> :: + </div> + </div> + </body> +</html> |