diff options
Diffstat (limited to 'h1z1/libghack/CSFML-2.1-windows-64bits/CSFML-2.1/doc/html/RenderWindow_8h.htm')
-rwxr-xr-x | h1z1/libghack/CSFML-2.1-windows-64bits/CSFML-2.1/doc/html/RenderWindow_8h.htm | 1749 |
1 files changed, 1749 insertions, 0 deletions
diff --git a/h1z1/libghack/CSFML-2.1-windows-64bits/CSFML-2.1/doc/html/RenderWindow_8h.htm b/h1z1/libghack/CSFML-2.1-windows-64bits/CSFML-2.1/doc/html/RenderWindow_8h.htm new file mode 100755 index 0000000..9363605 --- /dev/null +++ b/h1z1/libghack/CSFML-2.1-windows-64bits/CSFML-2.1/doc/html/RenderWindow_8h.htm @@ -0,0 +1,1749 @@ +<!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="#func-members">Functions</a> </div> + <div class="headertitle"> +<div class="title">RenderWindow.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/> +<code>#include <<a class="el" href="Color_8h_source.htm">SFML/Graphics/Color.h</a>></code><br/> +<code>#include <<a class="el" href="Rect_8h_source.htm">SFML/Graphics/Rect.h</a>></code><br/> +<code>#include <<a class="el" href="Graphics_2Types_8h_source.htm">SFML/Graphics/Types.h</a>></code><br/> +<code>#include <<a class="el" href="PrimitiveType_8h_source.htm">SFML/Graphics/PrimitiveType.h</a>></code><br/> +<code>#include <<a class="el" href="RenderStates_8h_source.htm">SFML/Graphics/RenderStates.h</a>></code><br/> +<code>#include <<a class="el" href="Vertex_8h_source.htm">SFML/Graphics/Vertex.h</a>></code><br/> +<code>#include <<a class="el" href="Event_8h_source.htm">SFML/Window/Event.h</a>></code><br/> +<code>#include <<a class="el" href="VideoMode_8h_source.htm">SFML/Window/VideoMode.h</a>></code><br/> +<code>#include <<a class="el" href="WindowHandle_8h_source.htm">SFML/Window/WindowHandle.h</a>></code><br/> +<code>#include <<a class="el" href="Window_2Window_8h_source.htm">SFML/Window/Window.h</a>></code><br/> +<code>#include <<a class="el" href="Vector2_8h_source.htm">SFML/System/Vector2.h</a>></code><br/> +</div> +<p><a href="RenderWindow_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="func-members"></a> +Functions</h2></td></tr> +<tr class="memitem:ae87ec3824cb709d2663671397bb2c611"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#ae87ec3824cb709d2663671397bb2c611">sfRenderWindow_create</a> (<a class="el" href="structsfVideoMode.htm">sfVideoMode</a> mode, const char *title, <a class="el" href="Config_8h.htm#a53935dd287c14f7d76bea5c93b6da202">sfUint32</a> style, const <a class="el" href="structsfContextSettings.htm">sfContextSettings</a> *settings)</td></tr> +<tr class="memdesc:ae87ec3824cb709d2663671397bb2c611"><td class="mdescLeft"> </td><td class="mdescRight">Construct a new render window. <a href="#ae87ec3824cb709d2663671397bb2c611"></a><br/></td></tr> +<tr class="separator:ae87ec3824cb709d2663671397bb2c611"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a8c41232276098338d6ac6b4ba4c6d25e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#a8c41232276098338d6ac6b4ba4c6d25e">sfRenderWindow_createUnicode</a> (<a class="el" href="structsfVideoMode.htm">sfVideoMode</a> mode, const <a class="el" href="Config_8h.htm#a53935dd287c14f7d76bea5c93b6da202">sfUint32</a> *title, <a class="el" href="Config_8h.htm#a53935dd287c14f7d76bea5c93b6da202">sfUint32</a> style, const <a class="el" href="structsfContextSettings.htm">sfContextSettings</a> *settings)</td></tr> +<tr class="memdesc:a8c41232276098338d6ac6b4ba4c6d25e"><td class="mdescLeft"> </td><td class="mdescRight">Construct a new render window (with a UTF-32 title) <a href="#a8c41232276098338d6ac6b4ba4c6d25e"></a><br/></td></tr> +<tr class="separator:a8c41232276098338d6ac6b4ba4c6d25e"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a9a397fba8dc8bfb6ab7dd4ae2c0d2d00"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#a9a397fba8dc8bfb6ab7dd4ae2c0d2d00">sfRenderWindow_createFromHandle</a> (sfWindowHandle handle, const <a class="el" href="structsfContextSettings.htm">sfContextSettings</a> *settings)</td></tr> +<tr class="memdesc:a9a397fba8dc8bfb6ab7dd4ae2c0d2d00"><td class="mdescLeft"> </td><td class="mdescRight">Construct a render window from an existing control. <a href="#a9a397fba8dc8bfb6ab7dd4ae2c0d2d00"></a><br/></td></tr> +<tr class="separator:a9a397fba8dc8bfb6ab7dd4ae2c0d2d00"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a6d504a27e7dab732c8a26d19e2cb61a7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#a6d504a27e7dab732c8a26d19e2cb61a7">sfRenderWindow_destroy</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow)</td></tr> +<tr class="memdesc:a6d504a27e7dab732c8a26d19e2cb61a7"><td class="mdescLeft"> </td><td class="mdescRight">Destroy an existing render window. <a href="#a6d504a27e7dab732c8a26d19e2cb61a7"></a><br/></td></tr> +<tr class="separator:a6d504a27e7dab732c8a26d19e2cb61a7"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a3b203189a7160e1e64c299e82f03de02"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#a3b203189a7160e1e64c299e82f03de02">sfRenderWindow_close</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow)</td></tr> +<tr class="memdesc:a3b203189a7160e1e64c299e82f03de02"><td class="mdescLeft"> </td><td class="mdescRight">Close a render window (but doesn't destroy the internal data) <a href="#a3b203189a7160e1e64c299e82f03de02"></a><br/></td></tr> +<tr class="separator:a3b203189a7160e1e64c299e82f03de02"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a2107fd0186e2ccbc0d897ac0b89d3384"><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="RenderWindow_8h.htm#a2107fd0186e2ccbc0d897ac0b89d3384">sfRenderWindow_isOpen</a> (const <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow)</td></tr> +<tr class="memdesc:a2107fd0186e2ccbc0d897ac0b89d3384"><td class="mdescLeft"> </td><td class="mdescRight">Tell whether or not a render window is opened. <a href="#a2107fd0186e2ccbc0d897ac0b89d3384"></a><br/></td></tr> +<tr class="separator:a2107fd0186e2ccbc0d897ac0b89d3384"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a2d0e4fbedadfc5ef1afec6fd4e1f2509"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> <br class="typebreak"/> +<a class="el" href="structsfContextSettings.htm">sfContextSettings</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#a2d0e4fbedadfc5ef1afec6fd4e1f2509">sfRenderWindow_getSettings</a> (const <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow)</td></tr> +<tr class="memdesc:a2d0e4fbedadfc5ef1afec6fd4e1f2509"><td class="mdescLeft"> </td><td class="mdescRight">Get the creation settings of a render window. <a href="#a2d0e4fbedadfc5ef1afec6fd4e1f2509"></a><br/></td></tr> +<tr class="separator:a2d0e4fbedadfc5ef1afec6fd4e1f2509"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a5835e69e4263bd75d13493a8baef87cc"><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="RenderWindow_8h.htm#a5835e69e4263bd75d13493a8baef87cc">sfRenderWindow_pollEvent</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, <a class="el" href="unionsfEvent.htm">sfEvent</a> *event)</td></tr> +<tr class="memdesc:a5835e69e4263bd75d13493a8baef87cc"><td class="mdescLeft"> </td><td class="mdescRight">Get the event on top of event queue of a render window, if any, and pop it. <a href="#a5835e69e4263bd75d13493a8baef87cc"></a><br/></td></tr> +<tr class="separator:a5835e69e4263bd75d13493a8baef87cc"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a2befccb7bdab4b4dd89450bed5ed525e"><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="RenderWindow_8h.htm#a2befccb7bdab4b4dd89450bed5ed525e">sfRenderWindow_waitEvent</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, <a class="el" href="unionsfEvent.htm">sfEvent</a> *event)</td></tr> +<tr class="memdesc:a2befccb7bdab4b4dd89450bed5ed525e"><td class="mdescLeft"> </td><td class="mdescRight">Wait for an event and return it. <a href="#a2befccb7bdab4b4dd89450bed5ed525e"></a><br/></td></tr> +<tr class="separator:a2befccb7bdab4b4dd89450bed5ed525e"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a527986a36349b022565d22eff913a223"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> <a class="el" href="structsfVector2i.htm">sfVector2i</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#a527986a36349b022565d22eff913a223">sfRenderWindow_getPosition</a> (const <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow)</td></tr> +<tr class="memdesc:a527986a36349b022565d22eff913a223"><td class="mdescLeft"> </td><td class="mdescRight">Get the position of a render window. <a href="#a527986a36349b022565d22eff913a223"></a><br/></td></tr> +<tr class="separator:a527986a36349b022565d22eff913a223"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:aa7bfa5e109bfeb04a61192f159eb65e1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#aa7bfa5e109bfeb04a61192f159eb65e1">sfRenderWindow_setPosition</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, <a class="el" href="structsfVector2i.htm">sfVector2i</a> position)</td></tr> +<tr class="memdesc:aa7bfa5e109bfeb04a61192f159eb65e1"><td class="mdescLeft"> </td><td class="mdescRight">Change the position of a render window on screen. <a href="#aa7bfa5e109bfeb04a61192f159eb65e1"></a><br/></td></tr> +<tr class="separator:aa7bfa5e109bfeb04a61192f159eb65e1"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a74ebd1ca53c02794b75ed72f1444111f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> <a class="el" href="structsfVector2u.htm">sfVector2u</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#a74ebd1ca53c02794b75ed72f1444111f">sfRenderWindow_getSize</a> (const <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow)</td></tr> +<tr class="memdesc:a74ebd1ca53c02794b75ed72f1444111f"><td class="mdescLeft"> </td><td class="mdescRight">Get the size of the rendering region of a render window. <a href="#a74ebd1ca53c02794b75ed72f1444111f"></a><br/></td></tr> +<tr class="separator:a74ebd1ca53c02794b75ed72f1444111f"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a3aed26a869c2c5f1d1fd75f4d378398b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#a3aed26a869c2c5f1d1fd75f4d378398b">sfRenderWindow_setSize</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, <a class="el" href="structsfVector2u.htm">sfVector2u</a> size)</td></tr> +<tr class="memdesc:a3aed26a869c2c5f1d1fd75f4d378398b"><td class="mdescLeft"> </td><td class="mdescRight">Change the size of the rendering region of a render window. <a href="#a3aed26a869c2c5f1d1fd75f4d378398b"></a><br/></td></tr> +<tr class="separator:a3aed26a869c2c5f1d1fd75f4d378398b"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a742d266fca234425f1b302b9a1a11a3f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#a742d266fca234425f1b302b9a1a11a3f">sfRenderWindow_setTitle</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, const char *title)</td></tr> +<tr class="memdesc:a742d266fca234425f1b302b9a1a11a3f"><td class="mdescLeft"> </td><td class="mdescRight">Change the title of a render window. <a href="#a742d266fca234425f1b302b9a1a11a3f"></a><br/></td></tr> +<tr class="separator:a742d266fca234425f1b302b9a1a11a3f"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ae71162bf884ac818e53ddc137fdc2c9e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#ae71162bf884ac818e53ddc137fdc2c9e">sfRenderWindow_setUnicodeTitle</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, const <a class="el" href="Config_8h.htm#a53935dd287c14f7d76bea5c93b6da202">sfUint32</a> *title)</td></tr> +<tr class="memdesc:ae71162bf884ac818e53ddc137fdc2c9e"><td class="mdescLeft"> </td><td class="mdescRight">Change the title of a render window (with a UTF-32 string) <a href="#ae71162bf884ac818e53ddc137fdc2c9e"></a><br/></td></tr> +<tr class="separator:ae71162bf884ac818e53ddc137fdc2c9e"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a01064e1038b1462ee90ecc24dcd9dadd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#a01064e1038b1462ee90ecc24dcd9dadd">sfRenderWindow_setIcon</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, unsigned int width, unsigned int height, const <a class="el" href="Config_8h.htm#a845ea33920d5aaf0580c8d63486e07dc">sfUint8</a> *pixels)</td></tr> +<tr class="memdesc:a01064e1038b1462ee90ecc24dcd9dadd"><td class="mdescLeft"> </td><td class="mdescRight">Change a render window's icon. <a href="#a01064e1038b1462ee90ecc24dcd9dadd"></a><br/></td></tr> +<tr class="separator:a01064e1038b1462ee90ecc24dcd9dadd"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ade9efb4b1ffb3cceba52a69fcf0f0a76"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#ade9efb4b1ffb3cceba52a69fcf0f0a76">sfRenderWindow_setVisible</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, <a class="el" href="Config_8h.htm#a7559f07a31bb3a4a3d865178ce4dc70b">sfBool</a> visible)</td></tr> +<tr class="memdesc:ade9efb4b1ffb3cceba52a69fcf0f0a76"><td class="mdescLeft"> </td><td class="mdescRight">Show or hide a render window. <a href="#ade9efb4b1ffb3cceba52a69fcf0f0a76"></a><br/></td></tr> +<tr class="separator:ade9efb4b1ffb3cceba52a69fcf0f0a76"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a4055d7bde5ac3cc9115a66c74a168a44"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#a4055d7bde5ac3cc9115a66c74a168a44">sfRenderWindow_setMouseCursorVisible</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, <a class="el" href="Config_8h.htm#a7559f07a31bb3a4a3d865178ce4dc70b">sfBool</a> show)</td></tr> +<tr class="memdesc:a4055d7bde5ac3cc9115a66c74a168a44"><td class="mdescLeft"> </td><td class="mdescRight">Show or hide the mouse cursor on a render window. <a href="#a4055d7bde5ac3cc9115a66c74a168a44"></a><br/></td></tr> +<tr class="separator:a4055d7bde5ac3cc9115a66c74a168a44"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ab638b97b03b40133911257f87f4f3569"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#ab638b97b03b40133911257f87f4f3569">sfRenderWindow_setVerticalSyncEnabled</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, <a class="el" href="Config_8h.htm#a7559f07a31bb3a4a3d865178ce4dc70b">sfBool</a> enabled)</td></tr> +<tr class="memdesc:ab638b97b03b40133911257f87f4f3569"><td class="mdescLeft"> </td><td class="mdescRight">Enable / disable vertical synchronization on a render window. <a href="#ab638b97b03b40133911257f87f4f3569"></a><br/></td></tr> +<tr class="separator:ab638b97b03b40133911257f87f4f3569"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ae813d4f6e6a00f576c6518b58ed2081c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#ae813d4f6e6a00f576c6518b58ed2081c">sfRenderWindow_setKeyRepeatEnabled</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, <a class="el" href="Config_8h.htm#a7559f07a31bb3a4a3d865178ce4dc70b">sfBool</a> enabled)</td></tr> +<tr class="memdesc:ae813d4f6e6a00f576c6518b58ed2081c"><td class="mdescLeft"> </td><td class="mdescRight">Enable or disable automatic key-repeat for keydown events. <a href="#ae813d4f6e6a00f576c6518b58ed2081c"></a><br/></td></tr> +<tr class="separator:ae813d4f6e6a00f576c6518b58ed2081c"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a9b640d0a23ccc588db100b170942ed35"><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="RenderWindow_8h.htm#a9b640d0a23ccc588db100b170942ed35">sfRenderWindow_setActive</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, <a class="el" href="Config_8h.htm#a7559f07a31bb3a4a3d865178ce4dc70b">sfBool</a> active)</td></tr> +<tr class="memdesc:a9b640d0a23ccc588db100b170942ed35"><td class="mdescLeft"> </td><td class="mdescRight">Activate or deactivate a render window as the current target for rendering. <a href="#a9b640d0a23ccc588db100b170942ed35"></a><br/></td></tr> +<tr class="separator:a9b640d0a23ccc588db100b170942ed35"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:aa5bc9a1f36669b2077f28d5b4898f13a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#aa5bc9a1f36669b2077f28d5b4898f13a">sfRenderWindow_display</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow)</td></tr> +<tr class="memdesc:aa5bc9a1f36669b2077f28d5b4898f13a"><td class="mdescLeft"> </td><td class="mdescRight">Display a render window on screen. <a href="#aa5bc9a1f36669b2077f28d5b4898f13a"></a><br/></td></tr> +<tr class="separator:aa5bc9a1f36669b2077f28d5b4898f13a"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ae925d3fdc295a0d8e1e0a8a11eb21d2a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#ae925d3fdc295a0d8e1e0a8a11eb21d2a">sfRenderWindow_setFramerateLimit</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, unsigned int limit)</td></tr> +<tr class="memdesc:ae925d3fdc295a0d8e1e0a8a11eb21d2a"><td class="mdescLeft"> </td><td class="mdescRight">Limit the framerate to a maximum fixed frequency for a render window. <a href="#ae925d3fdc295a0d8e1e0a8a11eb21d2a"></a><br/></td></tr> +<tr class="separator:ae925d3fdc295a0d8e1e0a8a11eb21d2a"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a7d60d243caafb710c89950240613fbac"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#a7d60d243caafb710c89950240613fbac">sfRenderWindow_setJoystickThreshold</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, float threshold)</td></tr> +<tr class="memdesc:a7d60d243caafb710c89950240613fbac"><td class="mdescLeft"> </td><td class="mdescRight">Change the joystick threshold, ie. <a href="#a7d60d243caafb710c89950240613fbac"></a><br/></td></tr> +<tr class="separator:a7d60d243caafb710c89950240613fbac"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a27621644b390a66fd1dea75fc97f56ad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> sfWindowHandle </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#a27621644b390a66fd1dea75fc97f56ad">sfRenderWindow_getSystemHandle</a> (const <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow)</td></tr> +<tr class="memdesc:a27621644b390a66fd1dea75fc97f56ad"><td class="mdescLeft"> </td><td class="mdescRight">Retrieve the OS-specific handle of a render window. <a href="#a27621644b390a66fd1dea75fc97f56ad"></a><br/></td></tr> +<tr class="separator:a27621644b390a66fd1dea75fc97f56ad"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:af3041dc1d8c3ed9e4533840f549e22ec"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#af3041dc1d8c3ed9e4533840f549e22ec">sfRenderWindow_clear</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, <a class="el" href="structsfColor.htm">sfColor</a> color)</td></tr> +<tr class="memdesc:af3041dc1d8c3ed9e4533840f549e22ec"><td class="mdescLeft"> </td><td class="mdescRight">Clear a render window with the given color. <a href="#af3041dc1d8c3ed9e4533840f549e22ec"></a><br/></td></tr> +<tr class="separator:af3041dc1d8c3ed9e4533840f549e22ec"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a04e8c38eaa90f635aea11546643fdae7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#a04e8c38eaa90f635aea11546643fdae7">sfRenderWindow_setView</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, const <a class="el" href="Graphics_2Types_8h.htm#addcad33d7ce2e2c3de22ecb708d977bd">sfView</a> *view)</td></tr> +<tr class="memdesc:a04e8c38eaa90f635aea11546643fdae7"><td class="mdescLeft"> </td><td class="mdescRight">Change the current active view of a render window. <a href="#a04e8c38eaa90f635aea11546643fdae7"></a><br/></td></tr> +<tr class="separator:a04e8c38eaa90f635aea11546643fdae7"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a0b1f2daf75467a2c174d30932cc95d9c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> const <a class="el" href="Graphics_2Types_8h.htm#addcad33d7ce2e2c3de22ecb708d977bd">sfView</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#a0b1f2daf75467a2c174d30932cc95d9c">sfRenderWindow_getView</a> (const <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow)</td></tr> +<tr class="memdesc:a0b1f2daf75467a2c174d30932cc95d9c"><td class="mdescLeft"> </td><td class="mdescRight">Get the current active view of a render window. <a href="#a0b1f2daf75467a2c174d30932cc95d9c"></a><br/></td></tr> +<tr class="separator:a0b1f2daf75467a2c174d30932cc95d9c"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a41acd04150d01cb7bc0d4c038fc9afe1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> const <a class="el" href="Graphics_2Types_8h.htm#addcad33d7ce2e2c3de22ecb708d977bd">sfView</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#a41acd04150d01cb7bc0d4c038fc9afe1">sfRenderWindow_getDefaultView</a> (const <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow)</td></tr> +<tr class="memdesc:a41acd04150d01cb7bc0d4c038fc9afe1"><td class="mdescLeft"> </td><td class="mdescRight">Get the default view of a render window. <a href="#a41acd04150d01cb7bc0d4c038fc9afe1"></a><br/></td></tr> +<tr class="separator:a41acd04150d01cb7bc0d4c038fc9afe1"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ac76ec340317828169c060460ee738150"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> <a class="el" href="structsfIntRect.htm">sfIntRect</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#ac76ec340317828169c060460ee738150">sfRenderWindow_getViewport</a> (const <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, const <a class="el" href="Graphics_2Types_8h.htm#addcad33d7ce2e2c3de22ecb708d977bd">sfView</a> *view)</td></tr> +<tr class="memdesc:ac76ec340317828169c060460ee738150"><td class="mdescLeft"> </td><td class="mdescRight">Get the viewport of a view applied to this target. <a href="#ac76ec340317828169c060460ee738150"></a><br/></td></tr> +<tr class="separator:ac76ec340317828169c060460ee738150"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a0a69bb2733c459da8e223da60f6708e6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> <a class="el" href="structsfVector2f.htm">sfVector2f</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#a0a69bb2733c459da8e223da60f6708e6">sfRenderWindow_mapPixelToCoords</a> (const <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, <a class="el" href="structsfVector2i.htm">sfVector2i</a> point, const <a class="el" href="Graphics_2Types_8h.htm#addcad33d7ce2e2c3de22ecb708d977bd">sfView</a> *view)</td></tr> +<tr class="memdesc:a0a69bb2733c459da8e223da60f6708e6"><td class="mdescLeft"> </td><td class="mdescRight">Convert a point from window coordinates to world coordinates. <a href="#a0a69bb2733c459da8e223da60f6708e6"></a><br/></td></tr> +<tr class="separator:a0a69bb2733c459da8e223da60f6708e6"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a81c9d54f50e50c26336b15df48101e39"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> <a class="el" href="structsfVector2i.htm">sfVector2i</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#a81c9d54f50e50c26336b15df48101e39">sfRenderWindow_mapCoordsToPixel</a> (const <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, <a class="el" href="structsfVector2f.htm">sfVector2f</a> point, const <a class="el" href="Graphics_2Types_8h.htm#addcad33d7ce2e2c3de22ecb708d977bd">sfView</a> *view)</td></tr> +<tr class="memdesc:a81c9d54f50e50c26336b15df48101e39"><td class="mdescLeft"> </td><td class="mdescRight">Convert a point from world coordinates to window coordinates. <a href="#a81c9d54f50e50c26336b15df48101e39"></a><br/></td></tr> +<tr class="separator:a81c9d54f50e50c26336b15df48101e39"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:aac3d0c5c336eaec0d779a5fb0ee8fbed"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#aac3d0c5c336eaec0d779a5fb0ee8fbed">sfRenderWindow_drawSprite</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, const <a class="el" href="Graphics_2Types_8h.htm#a83f6e917c9d260f8b92cf5119c8bb036">sfSprite</a> *object, const <a class="el" href="structsfRenderStates.htm">sfRenderStates</a> *states)</td></tr> +<tr class="memdesc:aac3d0c5c336eaec0d779a5fb0ee8fbed"><td class="mdescLeft"> </td><td class="mdescRight">Draw a drawable object to the render-target. <a href="#aac3d0c5c336eaec0d779a5fb0ee8fbed"></a><br/></td></tr> +<tr class="separator:aac3d0c5c336eaec0d779a5fb0ee8fbed"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a8bfb4e0e8a1c737b5d07943d26c3c33d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#a8bfb4e0e8a1c737b5d07943d26c3c33d">sfRenderWindow_drawText</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, const <a class="el" href="Graphics_2Types_8h.htm#acf1decff09b5b3a9d453909d07571117">sfText</a> *object, const <a class="el" href="structsfRenderStates.htm">sfRenderStates</a> *states)</td></tr> +<tr class="separator:a8bfb4e0e8a1c737b5d07943d26c3c33d"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:aeea8c2e746c16e0964417d14c7bfa4d7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#aeea8c2e746c16e0964417d14c7bfa4d7">sfRenderWindow_drawShape</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, const <a class="el" href="Graphics_2Types_8h.htm#a6eb48920d859fde8fb7f637cbce5bd20">sfShape</a> *object, const <a class="el" href="structsfRenderStates.htm">sfRenderStates</a> *states)</td></tr> +<tr class="separator:aeea8c2e746c16e0964417d14c7bfa4d7"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ad4f206f13a5a10f47b2502bfe2bf7889"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#ad4f206f13a5a10f47b2502bfe2bf7889">sfRenderWindow_drawCircleShape</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, const <a class="el" href="Graphics_2Types_8h.htm#a16b2b28d8e8e55dda0145cfc3c7465c1">sfCircleShape</a> *object, const <a class="el" href="structsfRenderStates.htm">sfRenderStates</a> *states)</td></tr> +<tr class="separator:ad4f206f13a5a10f47b2502bfe2bf7889"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a06955301e3a2fc93d63e1bc713ff0e0e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#a06955301e3a2fc93d63e1bc713ff0e0e">sfRenderWindow_drawConvexShape</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, const <a class="el" href="Graphics_2Types_8h.htm#ad3371b0f676dae4e9840e1c21473d062">sfConvexShape</a> *object, const <a class="el" href="structsfRenderStates.htm">sfRenderStates</a> *states)</td></tr> +<tr class="separator:a06955301e3a2fc93d63e1bc713ff0e0e"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ab70379b9c13802b7ed0b954e7187eed2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#ab70379b9c13802b7ed0b954e7187eed2">sfRenderWindow_drawRectangleShape</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, const <a class="el" href="Graphics_2Types_8h.htm#ab72f6ffaf103b940a8f3c0d64e740ed9">sfRectangleShape</a> *object, const <a class="el" href="structsfRenderStates.htm">sfRenderStates</a> *states)</td></tr> +<tr class="separator:ab70379b9c13802b7ed0b954e7187eed2"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ab1d44eca905e88507e9cae4bd5d17008"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#ab1d44eca905e88507e9cae4bd5d17008">sfRenderWindow_drawVertexArray</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, const <a class="el" href="Graphics_2Types_8h.htm#a7924ff474dc08faa57bd22fdae2c6934">sfVertexArray</a> *object, const <a class="el" href="structsfRenderStates.htm">sfRenderStates</a> *states)</td></tr> +<tr class="separator:ab1d44eca905e88507e9cae4bd5d17008"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a4b2a61e800f646537a615bb306117184"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#a4b2a61e800f646537a615bb306117184">sfRenderWindow_drawPrimitives</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow, const <a class="el" href="structsfVertex.htm">sfVertex</a> *vertices, unsigned int vertexCount, <a class="el" href="PrimitiveType_8h.htm#ab04e4fcacdf599aa38e79928c00609a2">sfPrimitiveType</a> type, const <a class="el" href="structsfRenderStates.htm">sfRenderStates</a> *states)</td></tr> +<tr class="memdesc:a4b2a61e800f646537a615bb306117184"><td class="mdescLeft"> </td><td class="mdescRight">Draw primitives defined by an array of vertices to a render window. <a href="#a4b2a61e800f646537a615bb306117184"></a><br/></td></tr> +<tr class="separator:a4b2a61e800f646537a615bb306117184"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a2b3600872dc031ff7d2392a2621b44e7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#a2b3600872dc031ff7d2392a2621b44e7">sfRenderWindow_pushGLStates</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow)</td></tr> +<tr class="memdesc:a2b3600872dc031ff7d2392a2621b44e7"><td class="mdescLeft"> </td><td class="mdescRight">Save the current OpenGL render states and matrices. <a href="#a2b3600872dc031ff7d2392a2621b44e7"></a><br/></td></tr> +<tr class="separator:a2b3600872dc031ff7d2392a2621b44e7"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a6a351a4ad5441328dc3ade8c1a52ffbb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#a6a351a4ad5441328dc3ade8c1a52ffbb">sfRenderWindow_popGLStates</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow)</td></tr> +<tr class="memdesc:a6a351a4ad5441328dc3ade8c1a52ffbb"><td class="mdescLeft"> </td><td class="mdescRight">Restore the previously saved OpenGL render states and matrices. <a href="#a6a351a4ad5441328dc3ade8c1a52ffbb"></a><br/></td></tr> +<tr class="separator:a6a351a4ad5441328dc3ade8c1a52ffbb"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:aaf3fbf9bf145b8eb0e3584e96e683d18"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#aaf3fbf9bf145b8eb0e3584e96e683d18">sfRenderWindow_resetGLStates</a> (<a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow)</td></tr> +<tr class="memdesc:aaf3fbf9bf145b8eb0e3584e96e683d18"><td class="mdescLeft"> </td><td class="mdescRight">Reset the internal OpenGL states so that the target is ready for drawing. <a href="#aaf3fbf9bf145b8eb0e3584e96e683d18"></a><br/></td></tr> +<tr class="separator:aaf3fbf9bf145b8eb0e3584e96e683d18"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a273c5ae6f75eb74a9f16932c8478ff79"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> <a class="el" href="Graphics_2Types_8h.htm#a26d2f025681acd41ab00ead3b5aa23eb">sfImage</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#a273c5ae6f75eb74a9f16932c8478ff79">sfRenderWindow_capture</a> (const <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *renderWindow)</td></tr> +<tr class="memdesc:a273c5ae6f75eb74a9f16932c8478ff79"><td class="mdescLeft"> </td><td class="mdescRight">Copy the current contents of a render window to an image. <a href="#a273c5ae6f75eb74a9f16932c8478ff79"></a><br/></td></tr> +<tr class="separator:a273c5ae6f75eb74a9f16932c8478ff79"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a41b751abf5703f7c34b0adb2a5741ffb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> <a class="el" href="structsfVector2i.htm">sfVector2i</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#a41b751abf5703f7c34b0adb2a5741ffb">sfMouse_getPositionRenderWindow</a> (const <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *relativeTo)</td></tr> +<tr class="memdesc:a41b751abf5703f7c34b0adb2a5741ffb"><td class="mdescLeft"> </td><td class="mdescRight">Get the current position of the mouse relatively to a render-window. <a href="#a41b751abf5703f7c34b0adb2a5741ffb"></a><br/></td></tr> +<tr class="separator:a41b751abf5703f7c34b0adb2a5741ffb"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:abba76f4c8f109b167749cd1b6bce786e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Graphics_2Export_8h.htm#afe51e93179eaff14e83568c716e633c0">CSFML_GRAPHICS_API</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="RenderWindow_8h.htm#abba76f4c8f109b167749cd1b6bce786e">sfMouse_setPositionRenderWindow</a> (<a class="el" href="structsfVector2i.htm">sfVector2i</a> position, const <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> *relativeTo)</td></tr> +<tr class="memdesc:abba76f4c8f109b167749cd1b6bce786e"><td class="mdescLeft"> </td><td class="mdescRight">Set the current position of the mouse relatively to a render-window. <a href="#abba76f4c8f109b167749cd1b6bce786e"></a><br/></td></tr> +<tr class="separator:abba76f4c8f109b167749cd1b6bce786e"><td class="memSeparator" colspan="2"> </td></tr> +</table> +<h2 class="groupheader">Function Documentation</h2> +<a class="anchor" id="a41b751abf5703f7c34b0adb2a5741ffb"></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="structsfVector2i.htm">sfVector2i</a> sfMouse_getPositionRenderWindow </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>relativeTo</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Get the current position of the mouse relatively to a render-window. </p> +<p>This function returns the current position of the mouse cursor relative to the given render-window, or desktop if NULL is passed.</p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">relativeTo</td><td>Reference window</td></tr> + </table> + </dd> +</dl> +<dl class="section return"><dt>Returns</dt><dd>Position of the mouse cursor, relative to the given render-window </dd></dl> + +</div> +</div> +<a class="anchor" id="abba76f4c8f109b167749cd1b6bce786e"></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> void sfMouse_setPositionRenderWindow </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structsfVector2i.htm">sfVector2i</a> </td> + <td class="paramname"><em>position</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>relativeTo</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Set the current position of the mouse relatively to a render-window. </p> +<p>This function sets the current position of the mouse cursor relative to the given render-window, or desktop if NULL is passed.</p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">position</td><td>New position of the mouse </td></tr> + <tr><td class="paramname">relativeTo</td><td>Reference window </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a class="anchor" id="a273c5ae6f75eb74a9f16932c8478ff79"></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="Graphics_2Types_8h.htm#a26d2f025681acd41ab00ead3b5aa23eb">sfImage</a>* sfRenderWindow_capture </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Copy the current contents of a render window to an image. </p> +<p>This is a slow operation, whose main purpose is to make screenshots of the application. If you want to update an image with the contents of the window and then use it for drawing, you should rather use a sfTexture and its update(sfWindow*) function. You can also draw things directly to a texture with the sfRenderWindow class.</p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object</td></tr> + </table> + </dd> +</dl> +<dl class="section return"><dt>Returns</dt><dd>New image containing the captured contents </dd></dl> + +</div> +</div> +<a class="anchor" id="af3041dc1d8c3ed9e4533840f549e22ec"></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> void sfRenderWindow_clear </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="structsfColor.htm">sfColor</a> </td> + <td class="paramname"><em>color</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Clear a render window with the given color. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object </td></tr> + <tr><td class="paramname">color</td><td>Fill color </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a class="anchor" id="a3b203189a7160e1e64c299e82f03de02"></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> void sfRenderWindow_close </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Close a render window (but doesn't destroy the internal data) </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window to close </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a class="anchor" id="ae87ec3824cb709d2663671397bb2c611"></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="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a>* sfRenderWindow_create </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structsfVideoMode.htm">sfVideoMode</a> </td> + <td class="paramname"><em>mode</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const char * </td> + <td class="paramname"><em>title</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="Config_8h.htm#a53935dd287c14f7d76bea5c93b6da202">sfUint32</a> </td> + <td class="paramname"><em>style</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="structsfContextSettings.htm">sfContextSettings</a> * </td> + <td class="paramname"><em>settings</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Construct a new render window. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">mode</td><td>Video mode to use </td></tr> + <tr><td class="paramname">title</td><td>Title of the window </td></tr> + <tr><td class="paramname">style</td><td>Window style </td></tr> + <tr><td class="paramname">settings</td><td>Creation settings (pass NULL to use default values) </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a class="anchor" id="a9a397fba8dc8bfb6ab7dd4ae2c0d2d00"></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="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a>* sfRenderWindow_createFromHandle </td> + <td>(</td> + <td class="paramtype">sfWindowHandle </td> + <td class="paramname"><em>handle</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="structsfContextSettings.htm">sfContextSettings</a> * </td> + <td class="paramname"><em>settings</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Construct a render window from an existing control. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">handle</td><td>Platform-specific handle of the control </td></tr> + <tr><td class="paramname">settings</td><td>Creation settings (pass NULL to use default values) </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a class="anchor" id="a8c41232276098338d6ac6b4ba4c6d25e"></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="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a>* sfRenderWindow_createUnicode </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structsfVideoMode.htm">sfVideoMode</a> </td> + <td class="paramname"><em>mode</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="Config_8h.htm#a53935dd287c14f7d76bea5c93b6da202">sfUint32</a> * </td> + <td class="paramname"><em>title</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="Config_8h.htm#a53935dd287c14f7d76bea5c93b6da202">sfUint32</a> </td> + <td class="paramname"><em>style</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="structsfContextSettings.htm">sfContextSettings</a> * </td> + <td class="paramname"><em>settings</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Construct a new render window (with a UTF-32 title) </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">mode</td><td>Video mode to use </td></tr> + <tr><td class="paramname">title</td><td>Title of the window (UTF-32) </td></tr> + <tr><td class="paramname">style</td><td>Window style </td></tr> + <tr><td class="paramname">settings</td><td>Creation settings (pass NULL to use default values) </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a class="anchor" id="a6d504a27e7dab732c8a26d19e2cb61a7"></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> void sfRenderWindow_destroy </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Destroy an existing render window. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window to destroy </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a class="anchor" id="aa5bc9a1f36669b2077f28d5b4898f13a"></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> void sfRenderWindow_display </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Display a render window on screen. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a class="anchor" id="ad4f206f13a5a10f47b2502bfe2bf7889"></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> void sfRenderWindow_drawCircleShape </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="Graphics_2Types_8h.htm#a16b2b28d8e8e55dda0145cfc3c7465c1">sfCircleShape</a> * </td> + <td class="paramname"><em>object</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="structsfRenderStates.htm">sfRenderStates</a> * </td> + <td class="paramname"><em>states</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a06955301e3a2fc93d63e1bc713ff0e0e"></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> void sfRenderWindow_drawConvexShape </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="Graphics_2Types_8h.htm#ad3371b0f676dae4e9840e1c21473d062">sfConvexShape</a> * </td> + <td class="paramname"><em>object</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="structsfRenderStates.htm">sfRenderStates</a> * </td> + <td class="paramname"><em>states</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a4b2a61e800f646537a615bb306117184"></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> void sfRenderWindow_drawPrimitives </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="structsfVertex.htm">sfVertex</a> * </td> + <td class="paramname"><em>vertices</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">unsigned int </td> + <td class="paramname"><em>vertexCount</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="PrimitiveType_8h.htm#ab04e4fcacdf599aa38e79928c00609a2">sfPrimitiveType</a> </td> + <td class="paramname"><em>type</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="structsfRenderStates.htm">sfRenderStates</a> * </td> + <td class="paramname"><em>states</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Draw primitives defined by an array of vertices to a render window. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>render window object </td></tr> + <tr><td class="paramname">vertices</td><td>Pointer to the vertices </td></tr> + <tr><td class="paramname">vertexCount</td><td>Number of vertices in the array </td></tr> + <tr><td class="paramname">type</td><td>Type of primitives to draw </td></tr> + <tr><td class="paramname">states</td><td>Render states to use for drawing (NULL to use the default states) </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a class="anchor" id="ab70379b9c13802b7ed0b954e7187eed2"></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> void sfRenderWindow_drawRectangleShape </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="Graphics_2Types_8h.htm#ab72f6ffaf103b940a8f3c0d64e740ed9">sfRectangleShape</a> * </td> + <td class="paramname"><em>object</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="structsfRenderStates.htm">sfRenderStates</a> * </td> + <td class="paramname"><em>states</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="aeea8c2e746c16e0964417d14c7bfa4d7"></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> void sfRenderWindow_drawShape </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="Graphics_2Types_8h.htm#a6eb48920d859fde8fb7f637cbce5bd20">sfShape</a> * </td> + <td class="paramname"><em>object</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="structsfRenderStates.htm">sfRenderStates</a> * </td> + <td class="paramname"><em>states</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="aac3d0c5c336eaec0d779a5fb0ee8fbed"></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> void sfRenderWindow_drawSprite </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="Graphics_2Types_8h.htm#a83f6e917c9d260f8b92cf5119c8bb036">sfSprite</a> * </td> + <td class="paramname"><em>object</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="structsfRenderStates.htm">sfRenderStates</a> * </td> + <td class="paramname"><em>states</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Draw a drawable object to the render-target. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>render window object </td></tr> + <tr><td class="paramname">object</td><td>Object to draw </td></tr> + <tr><td class="paramname">states</td><td>Render states to use for drawing (NULL to use the default states) </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a class="anchor" id="a8bfb4e0e8a1c737b5d07943d26c3c33d"></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> void sfRenderWindow_drawText </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="Graphics_2Types_8h.htm#acf1decff09b5b3a9d453909d07571117">sfText</a> * </td> + <td class="paramname"><em>object</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="structsfRenderStates.htm">sfRenderStates</a> * </td> + <td class="paramname"><em>states</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="ab1d44eca905e88507e9cae4bd5d17008"></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> void sfRenderWindow_drawVertexArray </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="Graphics_2Types_8h.htm#a7924ff474dc08faa57bd22fdae2c6934">sfVertexArray</a> * </td> + <td class="paramname"><em>object</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="structsfRenderStates.htm">sfRenderStates</a> * </td> + <td class="paramname"><em>states</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a41acd04150d01cb7bc0d4c038fc9afe1"></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> const <a class="el" href="Graphics_2Types_8h.htm#addcad33d7ce2e2c3de22ecb708d977bd">sfView</a>* sfRenderWindow_getDefaultView </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Get the default view of a render window. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object</td></tr> + </table> + </dd> +</dl> +<dl class="section return"><dt>Returns</dt><dd>Default view of the render window </dd></dl> + +</div> +</div> +<a class="anchor" id="a527986a36349b022565d22eff913a223"></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="structsfVector2i.htm">sfVector2i</a> sfRenderWindow_getPosition </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Get the position of a render window. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object</td></tr> + </table> + </dd> +</dl> +<dl class="section return"><dt>Returns</dt><dd>Position in pixels </dd></dl> + +</div> +</div> +<a class="anchor" id="a2d0e4fbedadfc5ef1afec6fd4e1f2509"></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="structsfContextSettings.htm">sfContextSettings</a> sfRenderWindow_getSettings </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Get the creation settings of a render window. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object</td></tr> + </table> + </dd> +</dl> +<dl class="section return"><dt>Returns</dt><dd>Settings used to create the window </dd></dl> + +</div> +</div> +<a class="anchor" id="a74ebd1ca53c02794b75ed72f1444111f"></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="structsfVector2u.htm">sfVector2u</a> sfRenderWindow_getSize </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Get the size of the rendering region of a render window. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object</td></tr> + </table> + </dd> +</dl> +<dl class="section return"><dt>Returns</dt><dd>Size in pixels </dd></dl> + +</div> +</div> +<a class="anchor" id="a27621644b390a66fd1dea75fc97f56ad"></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> sfWindowHandle sfRenderWindow_getSystemHandle </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Retrieve the OS-specific handle of a render window. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object</td></tr> + </table> + </dd> +</dl> +<dl class="section return"><dt>Returns</dt><dd>Window handle </dd></dl> + +</div> +</div> +<a class="anchor" id="a0b1f2daf75467a2c174d30932cc95d9c"></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> const <a class="el" href="Graphics_2Types_8h.htm#addcad33d7ce2e2c3de22ecb708d977bd">sfView</a>* sfRenderWindow_getView </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Get the current active view of a render window. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object</td></tr> + </table> + </dd> +</dl> +<dl class="section return"><dt>Returns</dt><dd>Current active view </dd></dl> + +</div> +</div> +<a class="anchor" id="ac76ec340317828169c060460ee738150"></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="structsfIntRect.htm">sfIntRect</a> sfRenderWindow_getViewport </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="Graphics_2Types_8h.htm#addcad33d7ce2e2c3de22ecb708d977bd">sfView</a> * </td> + <td class="paramname"><em>view</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Get the viewport of a view applied to this target. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object </td></tr> + <tr><td class="paramname">view</td><td>Target view</td></tr> + </table> + </dd> +</dl> +<dl class="section return"><dt>Returns</dt><dd>Viewport rectangle, expressed in pixels in the current target </dd></dl> + +</div> +</div> +<a class="anchor" id="a2107fd0186e2ccbc0d897ac0b89d3384"></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> sfRenderWindow_isOpen </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Tell whether or not a render window is opened. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a class="anchor" id="a81c9d54f50e50c26336b15df48101e39"></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="structsfVector2i.htm">sfVector2i</a> sfRenderWindow_mapCoordsToPixel </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="structsfVector2f.htm">sfVector2f</a> </td> + <td class="paramname"><em>point</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="Graphics_2Types_8h.htm#addcad33d7ce2e2c3de22ecb708d977bd">sfView</a> * </td> + <td class="paramname"><em>view</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Convert a point from world coordinates to window coordinates. </p> +<p>This function finds the pixel of the render-window that matches the given 2D point. In other words, it goes through the same process as the graphics card, to compute the final position of a rendered point.</p> +<p>Initially, both coordinate systems (world units and target pixels) match perfectly. But if you define a custom view or resize your render-window, this assertion is not true anymore, ie. a point located at (150, 75) in your 2D world may map to the pixel (10, 50) of your render-window – if the view is translated by (140, 25).</p> +<p>This version uses a custom view for calculations, see the other overload of the function if you want to use the current view of the render-window.</p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object </td></tr> + <tr><td class="paramname">point</td><td>Point to convert </td></tr> + <tr><td class="paramname">view</td><td>The view to use for converting the point</td></tr> + </table> + </dd> +</dl> +<dl class="section return"><dt>Returns</dt><dd>The converted point, in target coordinates (pixels) </dd></dl> + +</div> +</div> +<a class="anchor" id="a0a69bb2733c459da8e223da60f6708e6"></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="structsfVector2f.htm">sfVector2f</a> sfRenderWindow_mapPixelToCoords </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="structsfVector2i.htm">sfVector2i</a> </td> + <td class="paramname"><em>point</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="Graphics_2Types_8h.htm#addcad33d7ce2e2c3de22ecb708d977bd">sfView</a> * </td> + <td class="paramname"><em>view</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Convert a point from window coordinates to world coordinates. </p> +<p>This function finds the 2D position that matches the given pixel of the render-window. In other words, it does the inverse of what the graphics card does, to find the initial position of a rendered pixel.</p> +<p>Initially, both coordinate systems (world units and target pixels) match perfectly. But if you define a custom view or resize your render-window, this assertion is not true anymore, ie. a point located at (10, 50) in your render-window may map to the point (150, 75) in your 2D world – if the view is translated by (140, 25).</p> +<p>This function is typically used to find which point (or object) is located below the mouse cursor.</p> +<p>This version uses a custom view for calculations, see the other overload of the function if you want to use the current view of the render-window.</p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object </td></tr> + <tr><td class="paramname">point</td><td>Pixel to convert </td></tr> + <tr><td class="paramname">view</td><td>The view to use for converting the point</td></tr> + </table> + </dd> +</dl> +<dl class="section return"><dt>Returns</dt><dd>The converted point, in "world" units </dd></dl> + +</div> +</div> +<a class="anchor" id="a5835e69e4263bd75d13493a8baef87cc"></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> sfRenderWindow_pollEvent </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="unionsfEvent.htm">sfEvent</a> * </td> + <td class="paramname"><em>event</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Get the event on top of event queue of a render window, if any, and pop it. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object </td></tr> + <tr><td class="paramname">event</td><td>Event to fill, if any</td></tr> + </table> + </dd> +</dl> +<dl class="section return"><dt>Returns</dt><dd>sfTrue if an event was returned, sfFalse if event queue was empty </dd></dl> + +</div> +</div> +<a class="anchor" id="a6a351a4ad5441328dc3ade8c1a52ffbb"></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> void sfRenderWindow_popGLStates </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Restore the previously saved OpenGL render states and matrices. </p> +<p>See the description of pushGLStates to get a detailed description of these functions.</p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>render window object </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a class="anchor" id="a2b3600872dc031ff7d2392a2621b44e7"></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> void sfRenderWindow_pushGLStates </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Save the current OpenGL render states and matrices. </p> +<p>This function can be used when you mix SFML drawing and direct OpenGL rendering. Combined with popGLStates, it ensures that: </p> +<ul> +<li>SFML's internal states are not messed up by your OpenGL code </li> +<li>your OpenGL states are not modified by a call to a SFML function</li> +</ul> +<p>Note that this function is quite expensive: it saves all the possible OpenGL states and matrices, even the ones you don't care about. Therefore it should be used wisely. It is provided for convenience, but the best results will be achieved if you handle OpenGL states yourself (because you know which states have really changed, and need to be saved and restored). Take a look at the resetGLStates function if you do so.</p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>render window object </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a class="anchor" id="aaf3fbf9bf145b8eb0e3584e96e683d18"></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> void sfRenderWindow_resetGLStates </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Reset the internal OpenGL states so that the target is ready for drawing. </p> +<p>This function can be used when you mix SFML drawing and direct OpenGL rendering, if you choose not to use pushGLStates/popGLStates. It makes sure that all OpenGL states needed by SFML are set, so that subsequent sfRenderWindow_draw*() calls will work as expected.</p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>render window object </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a class="anchor" id="a9b640d0a23ccc588db100b170942ed35"></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> sfRenderWindow_setActive </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="Config_8h.htm#a7559f07a31bb3a4a3d865178ce4dc70b">sfBool</a> </td> + <td class="paramname"><em>active</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Activate or deactivate a render window as the current target for rendering. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object </td></tr> + <tr><td class="paramname">active</td><td>sfTrue to activate, sfFalse to deactivate</td></tr> + </table> + </dd> +</dl> +<dl class="section return"><dt>Returns</dt><dd>True if operation was successful, false otherwise </dd></dl> + +</div> +</div> +<a class="anchor" id="ae925d3fdc295a0d8e1e0a8a11eb21d2a"></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> void sfRenderWindow_setFramerateLimit </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">unsigned int </td> + <td class="paramname"><em>limit</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Limit the framerate to a maximum fixed frequency for a render window. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object </td></tr> + <tr><td class="paramname">limit</td><td>Framerate limit, in frames per seconds (use 0 to disable limit) </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a class="anchor" id="a01064e1038b1462ee90ecc24dcd9dadd"></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> void sfRenderWindow_setIcon </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">unsigned int </td> + <td class="paramname"><em>width</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">unsigned int </td> + <td class="paramname"><em>height</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="Config_8h.htm#a845ea33920d5aaf0580c8d63486e07dc">sfUint8</a> * </td> + <td class="paramname"><em>pixels</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Change a render window's icon. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object </td></tr> + <tr><td class="paramname">width</td><td>Icon's width, in pixels </td></tr> + <tr><td class="paramname">height</td><td>Icon's height, in pixels </td></tr> + <tr><td class="paramname">pixels</td><td>Pointer to the pixels in memory, format must be RGBA 32 bits </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a class="anchor" id="a7d60d243caafb710c89950240613fbac"></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> void sfRenderWindow_setJoystickThreshold </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">float </td> + <td class="paramname"><em>threshold</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Change the joystick threshold, ie. </p> +<p>the value below which no move event will be generated</p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object </td></tr> + <tr><td class="paramname">threshold</td><td>New threshold, in range [0, 100] </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a class="anchor" id="ae813d4f6e6a00f576c6518b58ed2081c"></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> void sfRenderWindow_setKeyRepeatEnabled </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="Config_8h.htm#a7559f07a31bb3a4a3d865178ce4dc70b">sfBool</a> </td> + <td class="paramname"><em>enabled</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Enable or disable automatic key-repeat for keydown events. </p> +<p>Automatic key-repeat is enabled by default</p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object </td></tr> + <tr><td class="paramname">enabled</td><td>sfTrue to enable, sfFalse to disable </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a class="anchor" id="a4055d7bde5ac3cc9115a66c74a168a44"></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> void sfRenderWindow_setMouseCursorVisible </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="Config_8h.htm#a7559f07a31bb3a4a3d865178ce4dc70b">sfBool</a> </td> + <td class="paramname"><em>show</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Show or hide the mouse cursor on a render window. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object </td></tr> + <tr><td class="paramname">show</td><td>sfTrue to show, sfFalse to hide </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a class="anchor" id="aa7bfa5e109bfeb04a61192f159eb65e1"></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> void sfRenderWindow_setPosition </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="structsfVector2i.htm">sfVector2i</a> </td> + <td class="paramname"><em>position</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Change the position of a render window on screen. </p> +<p>Only works for top-level windows</p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object </td></tr> + <tr><td class="paramname">position</td><td>New position, in pixels </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a class="anchor" id="a3aed26a869c2c5f1d1fd75f4d378398b"></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> void sfRenderWindow_setSize </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="structsfVector2u.htm">sfVector2u</a> </td> + <td class="paramname"><em>size</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Change the size of the rendering region of a render window. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object </td></tr> + <tr><td class="paramname">size</td><td>New size, in pixels </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a class="anchor" id="a742d266fca234425f1b302b9a1a11a3f"></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> void sfRenderWindow_setTitle </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const char * </td> + <td class="paramname"><em>title</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Change the title of a render window. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object </td></tr> + <tr><td class="paramname">title</td><td>New title </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a class="anchor" id="ae71162bf884ac818e53ddc137fdc2c9e"></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> void sfRenderWindow_setUnicodeTitle </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="Config_8h.htm#a53935dd287c14f7d76bea5c93b6da202">sfUint32</a> * </td> + <td class="paramname"><em>title</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Change the title of a render window (with a UTF-32 string) </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object </td></tr> + <tr><td class="paramname">title</td><td>New title </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a class="anchor" id="ab638b97b03b40133911257f87f4f3569"></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> void sfRenderWindow_setVerticalSyncEnabled </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="Config_8h.htm#a7559f07a31bb3a4a3d865178ce4dc70b">sfBool</a> </td> + <td class="paramname"><em>enabled</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Enable / disable vertical synchronization on a render window. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object </td></tr> + <tr><td class="paramname">enabled</td><td>sfTrue to enable v-sync, sfFalse to deactivate </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a class="anchor" id="a04e8c38eaa90f635aea11546643fdae7"></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> void sfRenderWindow_setView </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="Graphics_2Types_8h.htm#addcad33d7ce2e2c3de22ecb708d977bd">sfView</a> * </td> + <td class="paramname"><em>view</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Change the current active view of a render window. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object </td></tr> + <tr><td class="paramname">view</td><td>Pointer to the new view </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a class="anchor" id="ade9efb4b1ffb3cceba52a69fcf0f0a76"></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> void sfRenderWindow_setVisible </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="Config_8h.htm#a7559f07a31bb3a4a3d865178ce4dc70b">sfBool</a> </td> + <td class="paramname"><em>visible</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Show or hide a render window. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object </td></tr> + <tr><td class="paramname">visible</td><td>sfTrue to show the window, sfFalse to hide it </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a class="anchor" id="a2befccb7bdab4b4dd89450bed5ed525e"></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> sfRenderWindow_waitEvent </td> + <td>(</td> + <td class="paramtype"><a class="el" href="Graphics_2Types_8h.htm#a148019f5ac4a52bcfef172ebe66d6477">sfRenderWindow</a> * </td> + <td class="paramname"><em>renderWindow</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="unionsfEvent.htm">sfEvent</a> * </td> + <td class="paramname"><em>event</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Wait for an event and return it. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">renderWindow</td><td>Render window object </td></tr> + <tr><td class="paramname">event</td><td>Event to fill</td></tr> + </table> + </dd> +</dl> +<dl class="section return"><dt>Returns</dt><dd>sfFalse if an error occured </dd></dl> + +</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> |