-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_rect_8h_source.html
98 lines (98 loc) · 43.8 KB
/
_rect_8h_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Gamedev Framework (gf): Rect.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="gf_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Gamedev Framework (gf)
 <span id="projectnumber">0.14.0</span>
</div>
<div id="projectbrief">A C++14 framework for 2D games</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_6d069d519ae9d12fa11dd8e685586b60.html">gf</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">Rect.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Gamedev Framework (gf)</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright (C) 2016-2019 Julien Bernard</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> *</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * This software is provided 'as-is', without any express or implied</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * warranty. In no event will the authors be held liable for any damages</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * arising from the use of this software.</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> *</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * Permission is granted to anyone to use this software for any purpose,</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * including commercial applications, and to alter it and redistribute it</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * freely, subject to the following restrictions:</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> *</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * 1. The origin of this software must not be misrepresented; you must not</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * claim that you wrote the original software. If you use this software</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * in a product, an acknowledgment in the product documentation would be</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * appreciated but is not required.</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * 2. Altered source versions must be plainly marked as such, and must not be</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * misrepresented as being the original software.</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * 3. This notice may not be removed or altered from any source distribution.</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> *</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> * Part of this file comes from SFML, with the same license:</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> * Copyright (C) 2007-2015 Laurent Gomila ([email protected])</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> */</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#ifndef GF_RECT_H</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#define GF_RECT_H</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <cstddef></span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <algorithm></span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "Anchor.h"</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "Box.h"</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include "Portability.h"</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include "Vector.h"</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">namespace </span><a class="code" href="namespacegf.html">gf</a> {</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">inline</span> <span class="keyword">namespace </span>v1 {</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">template</span><<span class="keyword">typename</span> T></div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="structgf_1_1_rect.html"> 84</a></span>  <span class="keyword">struct </span><a class="code" href="structgf_1_1_rect.html">Rect</a> : <a class="code" href="structgf_1_1_box.html">Box</a><T, 2> {</div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="structgf_1_1_rect.html#a774fe0d26aabd14a3106328872c7de98"> 90</a></span>  constexpr <a class="code" href="structgf_1_1_rect.html#a774fe0d26aabd14a3106328872c7de98">Rect</a>() noexcept</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  : <a class="code" href="structgf_1_1_box.html">Box</a><<a class="code" href="group__window.html#gga795d7d5e2f2a4f38b16b95e0e78cb626ab9ece18c950afbfa6b0fdbfa4ff731d3">T</a>, 2>({ <a class="code" href="group__window.html#gga795d7d5e2f2a4f38b16b95e0e78cb626ab9ece18c950afbfa6b0fdbfa4ff731d3">T</a>(0), <a class="code" href="group__window.html#gga795d7d5e2f2a4f38b16b95e0e78cb626ab9ece18c950afbfa6b0fdbfa4ff731d3">T</a>(0) })</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  {</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  }</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="structgf_1_1_rect.html#a4fbf92a7ea4f0ad836cfb58e53f7f315"> 100</a></span>  constexpr <a class="code" href="structgf_1_1_rect.html#a4fbf92a7ea4f0ad836cfb58e53f7f315">Rect</a>(<span class="keyword">const</span> <a class="code" href="structgf_1_1_box.html">Box<T, 2></a>& box)</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  : <a class="code" href="structgf_1_1_box.html">Box</a><<a class="code" href="group__window.html#gga795d7d5e2f2a4f38b16b95e0e78cb626ab9ece18c950afbfa6b0fdbfa4ff731d3">T</a>, 2>(box)</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  {</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  }</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span> </div><div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="structgf_1_1_rect.html#afcd7af9617b38758ed1d94cc837a0440"> 112</a></span>  <span class="keyword">static</span> constexpr <a class="code" href="structgf_1_1_rect.html">Rect<T></a> <a class="code" href="structgf_1_1_rect.html#afcd7af9617b38758ed1d94cc837a0440">fromMinMax</a>(<a class="code" href="structgf_1_1_vector_3_01_t_00_012_01_4.html">Vector<T, 2></a> min, <a class="code" href="structgf_1_1_vector_3_01_t_00_012_01_4.html">Vector<T, 2></a> max) noexcept {</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keywordflow">return</span> <a class="code" href="structgf_1_1_rect.html">Rect<T></a>(min, max);</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  }</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> </div><div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="structgf_1_1_rect.html#a72ed3c7cc3c66ccd0eed1ba961f9d3c3"> 123</a></span>  <span class="keyword">static</span> constexpr <a class="code" href="structgf_1_1_rect.html">Rect<T></a> <a class="code" href="structgf_1_1_rect.html#a72ed3c7cc3c66ccd0eed1ba961f9d3c3">fromPositionSize</a>(<a class="code" href="structgf_1_1_vector_3_01_t_00_012_01_4.html">Vector<T, 2></a> position, <a class="code" href="structgf_1_1_vector_3_01_t_00_012_01_4.html">Vector<T, 2></a> size) noexcept {</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keywordflow">return</span> <a class="code" href="structgf_1_1_rect.html">Rect<T></a>(position, position + size);</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  }</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> </div><div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="structgf_1_1_rect.html#a05308c7e80fd0b13ec25b380882a87df"> 134</a></span>  <span class="keyword">static</span> constexpr <a class="code" href="structgf_1_1_rect.html">Rect<T></a> <a class="code" href="structgf_1_1_rect.html#a05308c7e80fd0b13ec25b380882a87df">fromCenterSize</a>(<a class="code" href="structgf_1_1_vector_3_01_t_00_012_01_4.html">Vector<T, 2></a> center, <a class="code" href="structgf_1_1_vector_3_01_t_00_012_01_4.html">Vector<T, 2></a> size) noexcept {</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordflow">return</span> <a class="code" href="structgf_1_1_rect.html">Rect<T></a>(center - size / <a class="code" href="group__window.html#gga795d7d5e2f2a4f38b16b95e0e78cb626ab9ece18c950afbfa6b0fdbfa4ff731d3">T</a>(2), center + size / <a class="code" href="group__window.html#gga795d7d5e2f2a4f38b16b95e0e78cb626ab9ece18c950afbfa6b0fdbfa4ff731d3">T</a>(2));</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  }</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span> </div><div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="structgf_1_1_rect.html#ad531e54aeb1767c32a17af0049373281"> 144</a></span>  constexpr <a class="code" href="structgf_1_1_vector_3_01_t_00_012_01_4.html">Vector<T, 2></a> <a class="code" href="structgf_1_1_rect.html#ad531e54aeb1767c32a17af0049373281">getPositionFromAnchor</a>(<a class="code" href="group__graphics.html#gadeb9cdf9d7e8eec2eb8cc638c54b5066">Anchor</a> anchor) <span class="keyword">const</span> noexcept {</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordflow">switch</span> (anchor) {</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keywordflow">case</span> <a class="code" href="group__graphics.html#ggadeb9cdf9d7e8eec2eb8cc638c54b5066ab32beb056fbfe36afbabc6c88c81ab36">Anchor::TopLeft</a>:</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keywordflow">return</span> this->min;</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="keywordflow">case</span> <a class="code" href="group__graphics.html#ggadeb9cdf9d7e8eec2eb8cc638c54b5066a91b8ede24b7f93a98ae4dcaade15d468">Anchor::TopCenter</a>:</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keywordflow">return</span> { (this->min.x + this->max.x) / <a class="code" href="group__window.html#gga795d7d5e2f2a4f38b16b95e0e78cb626ab9ece18c950afbfa6b0fdbfa4ff731d3">T</a>(2), this->min.y };</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keywordflow">case</span> <a class="code" href="group__graphics.html#ggadeb9cdf9d7e8eec2eb8cc638c54b5066a1d85a557894c340c318493f33bfa8efb">Anchor::TopRight</a>:</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keywordflow">return</span> { this->max.x, this->min.y };</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keywordflow">case</span> <a class="code" href="group__graphics.html#ggadeb9cdf9d7e8eec2eb8cc638c54b5066a9f44821a7b58abb265709f49e54ef8ca">Anchor::CenterLeft</a>:</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="keywordflow">return</span> { this->min.x, (this->min.y + this->max.y) / <a class="code" href="group__window.html#gga795d7d5e2f2a4f38b16b95e0e78cb626ab9ece18c950afbfa6b0fdbfa4ff731d3">T</a>(2) };</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="keywordflow">case</span> <a class="code" href="group__graphics.html#ggadeb9cdf9d7e8eec2eb8cc638c54b5066a4f1f6016fc9f3f2353c0cc7c67b292bd">Anchor::Center</a>:</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <span class="keywordflow">return</span> this->getCenter();</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keywordflow">case</span> <a class="code" href="group__graphics.html#ggadeb9cdf9d7e8eec2eb8cc638c54b5066aa538ef718186c9e0967239bb60043d1f">Anchor::CenterRight</a>:</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keywordflow">return</span> { this->max.x, (this->min.y + this->max.y) / <a class="code" href="group__window.html#gga795d7d5e2f2a4f38b16b95e0e78cb626ab9ece18c950afbfa6b0fdbfa4ff731d3">T</a>(2) };</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="keywordflow">case</span> <a class="code" href="group__graphics.html#ggadeb9cdf9d7e8eec2eb8cc638c54b5066a98e5a1c44509157ebcaf46c515c78875">Anchor::BottomLeft</a>:</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <span class="keywordflow">return</span> { this->min.x, this->max.y };</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keywordflow">case</span> <a class="code" href="group__graphics.html#ggadeb9cdf9d7e8eec2eb8cc638c54b5066abf7d9c8ad2f89a37cf5378b5fec0b420">Anchor::BottomCenter</a>:</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keywordflow">return</span> { (this->min.x + this->max.x) / <a class="code" href="group__window.html#gga795d7d5e2f2a4f38b16b95e0e78cb626ab9ece18c950afbfa6b0fdbfa4ff731d3">T</a>(2), this->max.y };</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordflow">case</span> <a class="code" href="group__graphics.html#ggadeb9cdf9d7e8eec2eb8cc638c54b5066a9146bfc669fddc88db2c4d89297d0e9a">Anchor::BottomRight</a>:</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="keywordflow">return</span> this->max;</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  }</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span> </div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keywordflow">return</span> this->min;</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  }</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span> </div><div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="structgf_1_1_rect.html#a57909f8f3223e9fb61270c50e09168cb"> 174</a></span>  constexpr <a class="code" href="structgf_1_1_vector_3_01_t_00_012_01_4.html">Vector<T, 2></a> <a class="code" href="structgf_1_1_rect.html#a57909f8f3223e9fb61270c50e09168cb">getTopLeft</a>() const noexcept {</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keywordflow">return</span> getPositionFromAnchor(<a class="code" href="group__graphics.html#ggadeb9cdf9d7e8eec2eb8cc638c54b5066ab32beb056fbfe36afbabc6c88c81ab36">Anchor::TopLeft</a>);</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  }</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span> </div><div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="structgf_1_1_rect.html#a624ceef6cb53228f88e8730d54ae7776"> 183</a></span>  constexpr <a class="code" href="structgf_1_1_vector_3_01_t_00_012_01_4.html">Vector<T, 2></a> <a class="code" href="structgf_1_1_rect.html#a624ceef6cb53228f88e8730d54ae7776">getTopRight</a>() const noexcept {</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="keywordflow">return</span> getPositionFromAnchor(<a class="code" href="group__graphics.html#ggadeb9cdf9d7e8eec2eb8cc638c54b5066a1d85a557894c340c318493f33bfa8efb">Anchor::TopRight</a>);</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  }</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span> </div><div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="structgf_1_1_rect.html#a8b1ec8c4c9ff0c473e8bac6775bc9cbc"> 192</a></span>  constexpr <a class="code" href="structgf_1_1_vector_3_01_t_00_012_01_4.html">Vector<T, 2></a> <a class="code" href="structgf_1_1_rect.html#a8b1ec8c4c9ff0c473e8bac6775bc9cbc">getBottomLeft</a>() const noexcept {</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="keywordflow">return</span> getPositionFromAnchor(<a class="code" href="group__graphics.html#ggadeb9cdf9d7e8eec2eb8cc638c54b5066a98e5a1c44509157ebcaf46c515c78875">Anchor::BottomLeft</a>);</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  }</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span> </div><div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="structgf_1_1_rect.html#a7a6b806b739329c57e4af1bf38104a85"> 201</a></span>  constexpr <a class="code" href="structgf_1_1_vector_3_01_t_00_012_01_4.html">Vector<T, 2></a> <a class="code" href="structgf_1_1_rect.html#a7a6b806b739329c57e4af1bf38104a85">getBottomRight</a>() const noexcept {</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keywordflow">return</span> getPositionFromAnchor(<a class="code" href="group__graphics.html#ggadeb9cdf9d7e8eec2eb8cc638c54b5066a9146bfc669fddc88db2c4d89297d0e9a">Anchor::BottomRight</a>);</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  }</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span> </div><div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="structgf_1_1_rect.html#aea39ff8877f8fc6d59e9c0c75c4e8d6a"> 210</a></span>  constexpr <a class="code" href="group__window.html#gga795d7d5e2f2a4f38b16b95e0e78cb626ab9ece18c950afbfa6b0fdbfa4ff731d3">T</a> <a class="code" href="structgf_1_1_rect.html#aea39ff8877f8fc6d59e9c0c75c4e8d6a">getWidth</a>() const noexcept {</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="keywordflow">return</span> this->max.x - this->min.x;</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  }</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span> </div><div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="structgf_1_1_rect.html#aa9bf24938606ff88b1f7a756842c94b5"> 219</a></span>  constexpr <a class="code" href="group__window.html#gga795d7d5e2f2a4f38b16b95e0e78cb626ab9ece18c950afbfa6b0fdbfa4ff731d3">T</a> <a class="code" href="structgf_1_1_rect.html#aa9bf24938606ff88b1f7a756842c94b5">getHeight</a>() const noexcept {</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <span class="keywordflow">return</span> this->max.y - this->min.y;</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  }</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span> </div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  constexpr <a class="code" href="structgf_1_1_rect.html">Rect</a>(<a class="code" href="structgf_1_1_vector_3_01_t_00_012_01_4.html">Vector<T, 2></a> min, <a class="code" href="structgf_1_1_vector_3_01_t_00_012_01_4.html">Vector<T, 2></a> max) noexcept</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  : <a class="code" href="structgf_1_1_box.html">Box<T, 2></a>(min, max)</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  {</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  }</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  };</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span> </div><div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="group__core.html#gac3887a7df16895871374b04d9f6cb961"> 236</a></span>  <span class="keyword">using</span> <a class="code" href="structgf_1_1_rect.html">RectF</a> = <a class="code" href="structgf_1_1_rect.html">Rect<float></a>;</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span> </div><div class="line"><a name="l00244"></a><span class="lineno"><a class="line" href="group__core.html#ga02d76edf8ad5caf19b122f193dce4442"> 244</a></span>  <span class="keyword">using</span> <a class="code" href="structgf_1_1_rect.html">RectD</a> = <a class="code" href="structgf_1_1_rect.html">Rect<double></a>;</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span> </div><div class="line"><a name="l00252"></a><span class="lineno"><a class="line" href="group__core.html#ga2e3cde0dd67f7db84ca4e8ba9ce1fa64"> 252</a></span>  <span class="keyword">using</span> <a class="code" href="structgf_1_1_rect.html">RectI</a> = <a class="code" href="structgf_1_1_rect.html">Rect<int></a>;</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span> </div><div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="group__core.html#ga1831a8313850243834b07340b4e3b22c"> 260</a></span>  <span class="keyword">using</span> <a class="code" href="structgf_1_1_rect.html">RectU</a> = <a class="code" href="structgf_1_1_rect.html">Rect<unsigned></a>;</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span> </div><div class="line"><a name="l00268"></a><span class="lineno"><a class="line" href="group__core.html#ga191f0ccd444b49e33703af54a9296a51"> 268</a></span>  <span class="keyword">using</span> <a class="code" href="structgf_1_1_rect.html">RectZ</a> = <a class="code" href="structgf_1_1_rect.html">Rect<std::size_t></a>;</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span> </div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span> <span class="comment">// MSVC does not like extern template</span></div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span> <span class="preprocessor">#ifndef _MSC_VER</span></div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  <span class="keyword">extern</span> <span class="keyword">template</span> <span class="keyword">struct </span>GF_API <a class="code" href="structgf_1_1_rect.html">Rect<float></a>;</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <span class="keyword">extern</span> <span class="keyword">template</span> <span class="keyword">struct </span>GF_API <a class="code" href="structgf_1_1_rect.html">Rect<double></a>;</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <span class="keyword">extern</span> <span class="keyword">template</span> <span class="keyword">struct </span>GF_API <a class="code" href="structgf_1_1_rect.html">Rect<int></a>;</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <span class="keyword">extern</span> <span class="keyword">template</span> <span class="keyword">struct </span>GF_API <a class="code" href="structgf_1_1_rect.html">Rect<unsigned></a>;</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span> </div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <span class="keyword">template</span><<span class="keyword">typename</span> T></div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <span class="keyword">inline</span></div><div class="line"><a name="l00288"></a><span class="lineno"><a class="line" href="structgf_1_1_rect.html#a2b38f77ccdaf66aed571fe18e09d08bc"> 288</a></span>  <span class="keywordtype">bool</span> <a class="code" href="structgf_1_1_rect.html#a2b38f77ccdaf66aed571fe18e09d08bc">operator==</a>(<span class="keyword">const</span> <a class="code" href="structgf_1_1_rect.html">Rect<T></a>& lhs, <span class="keyword">const</span> <a class="code" href="structgf_1_1_rect.html">Rect<T></a>& rhs) {</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <span class="keywordflow">return</span> lhs.<a class="code" href="structgf_1_1_box.html#a5a5af1a764551ad19ee5445be8e7be0f">min</a> == rhs.<a class="code" href="structgf_1_1_box.html#a5a5af1a764551ad19ee5445be8e7be0f">min</a> && lhs.<a class="code" href="structgf_1_1_box.html#a295f8f4fb213b6df9e4ee81537467772">max</a> == rhs.<a class="code" href="structgf_1_1_box.html#a295f8f4fb213b6df9e4ee81537467772">max</a>;</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  }</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span> </div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <span class="keyword">template</span><<span class="keyword">typename</span> T></div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  <span class="keyword">inline</span></div><div class="line"><a name="l00302"></a><span class="lineno"><a class="line" href="structgf_1_1_rect.html#a590fe9be9de875b208062066f5f86245"> 302</a></span>  <span class="keywordtype">bool</span> <a class="code" href="structgf_1_1_rect.html#a590fe9be9de875b208062066f5f86245">operator!=</a>(<span class="keyword">const</span> <a class="code" href="structgf_1_1_rect.html">Rect<T></a>& lhs, <span class="keyword">const</span> <a class="code" href="structgf_1_1_rect.html">Rect<T></a>& rhs) {</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  <span class="keywordflow">return</span> !(lhs == rhs);</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  }</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span> </div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Archive, <span class="keyword">typename</span> T></div><div class="line"><a name="l00315"></a><span class="lineno"><a class="line" href="structgf_1_1_rect.html#a57614064431b3df67ca4e8397e0f02c1"> 315</a></span>  Archive& <a class="code" href="structgf_1_1_rect.html#a57614064431b3df67ca4e8397e0f02c1">operator|</a>(Archive& ar, <a class="code" href="structgf_1_1_rect.html">Rect<T></a>& rect) {</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  <span class="keywordflow">return</span> ar | rect.<a class="code" href="structgf_1_1_box.html#a5a5af1a764551ad19ee5445be8e7be0f">min</a>.x | rect.<a class="code" href="structgf_1_1_box.html#a5a5af1a764551ad19ee5445be8e7be0f">min</a>.y | rect.<a class="code" href="structgf_1_1_box.html#a295f8f4fb213b6df9e4ee81537467772">max</a>.x | rect.<a class="code" href="structgf_1_1_box.html#a295f8f4fb213b6df9e4ee81537467772">max</a>.y;</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  }</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span> </div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span> </div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span> <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span></div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span> }</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span> }</div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span> </div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span> <span class="preprocessor">#endif // GF_RECT_H</span></div><div class="ttc" id="group__graphics_html_ggadeb9cdf9d7e8eec2eb8cc638c54b5066abf7d9c8ad2f89a37cf5378b5fec0b420"><div class="ttname"><a href="group__graphics.html#ggadeb9cdf9d7e8eec2eb8cc638c54b5066abf7d9c8ad2f89a37cf5378b5fec0b420">gf::Anchor::BottomCenter</a></div><div class="ttdoc">Bottom-center. </div></div>
<div class="ttc" id="structgf_1_1_rect_html_a8b1ec8c4c9ff0c473e8bac6775bc9cbc"><div class="ttname"><a href="structgf_1_1_rect.html#a8b1ec8c4c9ff0c473e8bac6775bc9cbc">gf::Rect::getBottomLeft</a></div><div class="ttdeci">constexpr Vector< T, 2 > getBottomLeft() const noexcept</div><div class="ttdoc">Get the bottom left corner. </div><div class="ttdef"><b>Definition:</b> Rect.h:192</div></div>
<div class="ttc" id="group__graphics_html_ggadeb9cdf9d7e8eec2eb8cc638c54b5066ab32beb056fbfe36afbabc6c88c81ab36"><div class="ttname"><a href="group__graphics.html#ggadeb9cdf9d7e8eec2eb8cc638c54b5066ab32beb056fbfe36afbabc6c88c81ab36">gf::Anchor::TopLeft</a></div><div class="ttdoc">Top-left. </div></div>
<div class="ttc" id="group__window_html_gga795d7d5e2f2a4f38b16b95e0e78cb626ab9ece18c950afbfa6b0fdbfa4ff731d3"><div class="ttname"><a href="group__window.html#gga795d7d5e2f2a4f38b16b95e0e78cb626ab9ece18c950afbfa6b0fdbfa4ff731d3">gf::Scancode::T</a></div></div>
<div class="ttc" id="structgf_1_1_rect_html_a590fe9be9de875b208062066f5f86245"><div class="ttname"><a href="structgf_1_1_rect.html#a590fe9be9de875b208062066f5f86245">gf::Rect::operator!=</a></div><div class="ttdeci">bool operator!=(const Rect< T > &lhs, const Rect< T > &rhs)</div><div class="ttdoc">Inequality operator. </div><div class="ttdef"><b>Definition:</b> Rect.h:302</div></div>
<div class="ttc" id="structgf_1_1_rect_html_ad531e54aeb1767c32a17af0049373281"><div class="ttname"><a href="structgf_1_1_rect.html#ad531e54aeb1767c32a17af0049373281">gf::Rect::getPositionFromAnchor</a></div><div class="ttdeci">constexpr Vector< T, 2 > getPositionFromAnchor(Anchor anchor) const noexcept</div><div class="ttdoc">Get a position from the rectangle and an anchor. </div><div class="ttdef"><b>Definition:</b> Rect.h:144</div></div>
<div class="ttc" id="structgf_1_1_box_html_a5a5af1a764551ad19ee5445be8e7be0f"><div class="ttname"><a href="structgf_1_1_box.html#a5a5af1a764551ad19ee5445be8e7be0f">gf::Box< T, 2 >::min</a></div><div class="ttdeci">Vector< T, N > min</div><div class="ttdoc">The minimum point of the box. </div><div class="ttdef"><b>Definition:</b> Box.h:53</div></div>
<div class="ttc" id="group__graphics_html_ggadeb9cdf9d7e8eec2eb8cc638c54b5066a91b8ede24b7f93a98ae4dcaade15d468"><div class="ttname"><a href="group__graphics.html#ggadeb9cdf9d7e8eec2eb8cc638c54b5066a91b8ede24b7f93a98ae4dcaade15d468">gf::Anchor::TopCenter</a></div><div class="ttdoc">Top-center. </div></div>
<div class="ttc" id="structgf_1_1_rect_html_a57614064431b3df67ca4e8397e0f02c1"><div class="ttname"><a href="structgf_1_1_rect.html#a57614064431b3df67ca4e8397e0f02c1">gf::Rect::operator|</a></div><div class="ttdeci">Archive & operator|(Archive &ar, Rect< T > &rect)</div><div class="ttdoc">Serialize a rectangle. </div><div class="ttdef"><b>Definition:</b> Rect.h:315</div></div>
<div class="ttc" id="structgf_1_1_rect_html_afcd7af9617b38758ed1d94cc837a0440"><div class="ttname"><a href="structgf_1_1_rect.html#afcd7af9617b38758ed1d94cc837a0440">gf::Rect::fromMinMax</a></div><div class="ttdeci">static constexpr Rect< T > fromMinMax(Vector< T, 2 > min, Vector< T, 2 > max) noexcept</div><div class="ttdoc">Create a rectangle from a min point and a max point. </div><div class="ttdef"><b>Definition:</b> Rect.h:112</div></div>
<div class="ttc" id="structgf_1_1_rect_html_a4fbf92a7ea4f0ad836cfb58e53f7f315"><div class="ttname"><a href="structgf_1_1_rect.html#a4fbf92a7ea4f0ad836cfb58e53f7f315">gf::Rect::Rect</a></div><div class="ttdeci">constexpr Rect(const Box< T, 2 > &box)</div><div class="ttdoc">Constructor from a box. </div><div class="ttdef"><b>Definition:</b> Rect.h:100</div></div>
<div class="ttc" id="group__graphics_html_ggadeb9cdf9d7e8eec2eb8cc638c54b5066a9146bfc669fddc88db2c4d89297d0e9a"><div class="ttname"><a href="group__graphics.html#ggadeb9cdf9d7e8eec2eb8cc638c54b5066a9146bfc669fddc88db2c4d89297d0e9a">gf::Anchor::BottomRight</a></div><div class="ttdoc">Bottom-right. </div></div>
<div class="ttc" id="group__graphics_html_ggadeb9cdf9d7e8eec2eb8cc638c54b5066a4f1f6016fc9f3f2353c0cc7c67b292bd"><div class="ttname"><a href="group__graphics.html#ggadeb9cdf9d7e8eec2eb8cc638c54b5066a4f1f6016fc9f3f2353c0cc7c67b292bd">gf::Anchor::Center</a></div><div class="ttdoc">Center. </div></div>
<div class="ttc" id="group__graphics_html_ggadeb9cdf9d7e8eec2eb8cc638c54b5066a9f44821a7b58abb265709f49e54ef8ca"><div class="ttname"><a href="group__graphics.html#ggadeb9cdf9d7e8eec2eb8cc638c54b5066a9f44821a7b58abb265709f49e54ef8ca">gf::Anchor::CenterLeft</a></div><div class="ttdoc">Center-left. </div></div>
<div class="ttc" id="structgf_1_1_rect_html_a624ceef6cb53228f88e8730d54ae7776"><div class="ttname"><a href="structgf_1_1_rect.html#a624ceef6cb53228f88e8730d54ae7776">gf::Rect::getTopRight</a></div><div class="ttdeci">constexpr Vector< T, 2 > getTopRight() const noexcept</div><div class="ttdoc">Get the top right corner. </div><div class="ttdef"><b>Definition:</b> Rect.h:183</div></div>
<div class="ttc" id="structgf_1_1_rect_html"><div class="ttname"><a href="structgf_1_1_rect.html">gf::Rect</a></div><div class="ttdoc">Utility class for manipulating 2D axis aligned rectangles. </div><div class="ttdef"><b>Definition:</b> Rect.h:84</div></div>
<div class="ttc" id="namespacegf_html"><div class="ttname"><a href="namespacegf.html">gf</a></div><div class="ttdoc">The namespace for gf classes. </div><div class="ttdef"><b>Definition:</b> Action.h:35</div></div>
<div class="ttc" id="structgf_1_1_rect_html_a72ed3c7cc3c66ccd0eed1ba961f9d3c3"><div class="ttname"><a href="structgf_1_1_rect.html#a72ed3c7cc3c66ccd0eed1ba961f9d3c3">gf::Rect::fromPositionSize</a></div><div class="ttdeci">static constexpr Rect< T > fromPositionSize(Vector< T, 2 > position, Vector< T, 2 > size) noexcept</div><div class="ttdoc">Create a rectangle from a position (top-left) and a size. </div><div class="ttdef"><b>Definition:</b> Rect.h:123</div></div>
<div class="ttc" id="structgf_1_1_box_html_a295f8f4fb213b6df9e4ee81537467772"><div class="ttname"><a href="structgf_1_1_box.html#a295f8f4fb213b6df9e4ee81537467772">gf::Box< T, 2 >::max</a></div><div class="ttdeci">Vector< T, N > max</div><div class="ttdoc">The maximum point of the box. </div><div class="ttdef"><b>Definition:</b> Box.h:54</div></div>
<div class="ttc" id="group__graphics_html_ggadeb9cdf9d7e8eec2eb8cc638c54b5066a98e5a1c44509157ebcaf46c515c78875"><div class="ttname"><a href="group__graphics.html#ggadeb9cdf9d7e8eec2eb8cc638c54b5066a98e5a1c44509157ebcaf46c515c78875">gf::Anchor::BottomLeft</a></div><div class="ttdoc">Bottom-left. </div></div>
<div class="ttc" id="structgf_1_1_vector_3_01_t_00_012_01_4_html"><div class="ttname"><a href="structgf_1_1_vector_3_01_t_00_012_01_4.html">gf::Vector< T, 2 ></a></div><div class="ttdoc">A 2D vector. </div><div class="ttdef"><b>Definition:</b> Vector.h:316</div></div>
<div class="ttc" id="structgf_1_1_rect_html_aea39ff8877f8fc6d59e9c0c75c4e8d6a"><div class="ttname"><a href="structgf_1_1_rect.html#aea39ff8877f8fc6d59e9c0c75c4e8d6a">gf::Rect::getWidth</a></div><div class="ttdeci">constexpr T getWidth() const noexcept</div><div class="ttdoc">Get the width of the rectangle. </div><div class="ttdef"><b>Definition:</b> Rect.h:210</div></div>
<div class="ttc" id="structgf_1_1_rect_html_a774fe0d26aabd14a3106328872c7de98"><div class="ttname"><a href="structgf_1_1_rect.html#a774fe0d26aabd14a3106328872c7de98">gf::Rect::Rect</a></div><div class="ttdeci">constexpr Rect() noexcept</div><div class="ttdoc">Default constructor. </div><div class="ttdef"><b>Definition:</b> Rect.h:90</div></div>
<div class="ttc" id="structgf_1_1_rect_html_a57909f8f3223e9fb61270c50e09168cb"><div class="ttname"><a href="structgf_1_1_rect.html#a57909f8f3223e9fb61270c50e09168cb">gf::Rect::getTopLeft</a></div><div class="ttdeci">constexpr Vector< T, 2 > getTopLeft() const noexcept</div><div class="ttdoc">Get the top left corner. </div><div class="ttdef"><b>Definition:</b> Rect.h:174</div></div>
<div class="ttc" id="structgf_1_1_rect_html_a05308c7e80fd0b13ec25b380882a87df"><div class="ttname"><a href="structgf_1_1_rect.html#a05308c7e80fd0b13ec25b380882a87df">gf::Rect::fromCenterSize</a></div><div class="ttdeci">static constexpr Rect< T > fromCenterSize(Vector< T, 2 > center, Vector< T, 2 > size) noexcept</div><div class="ttdoc">Create a rectangle from a center and a size. </div><div class="ttdef"><b>Definition:</b> Rect.h:134</div></div>
<div class="ttc" id="structgf_1_1_rect_html_a7a6b806b739329c57e4af1bf38104a85"><div class="ttname"><a href="structgf_1_1_rect.html#a7a6b806b739329c57e4af1bf38104a85">gf::Rect::getBottomRight</a></div><div class="ttdeci">constexpr Vector< T, 2 > getBottomRight() const noexcept</div><div class="ttdoc">Get the bottom right corner. </div><div class="ttdef"><b>Definition:</b> Rect.h:201</div></div>
<div class="ttc" id="group__graphics_html_gadeb9cdf9d7e8eec2eb8cc638c54b5066"><div class="ttname"><a href="group__graphics.html#gadeb9cdf9d7e8eec2eb8cc638c54b5066">gf::Anchor</a></div><div class="ttdeci">Anchor</div><div class="ttdoc">An anchor of a box. </div><div class="ttdef"><b>Definition:</b> Anchor.h:38</div></div>
<div class="ttc" id="structgf_1_1_box_html"><div class="ttname"><a href="structgf_1_1_box.html">gf::Box</a></div><div class="ttdoc">A multi-dimensional box. </div><div class="ttdef"><b>Definition:</b> Box.h:52</div></div>
<div class="ttc" id="group__graphics_html_ggadeb9cdf9d7e8eec2eb8cc638c54b5066aa538ef718186c9e0967239bb60043d1f"><div class="ttname"><a href="group__graphics.html#ggadeb9cdf9d7e8eec2eb8cc638c54b5066aa538ef718186c9e0967239bb60043d1f">gf::Anchor::CenterRight</a></div><div class="ttdoc">Center-right. </div></div>
<div class="ttc" id="structgf_1_1_rect_html_a2b38f77ccdaf66aed571fe18e09d08bc"><div class="ttname"><a href="structgf_1_1_rect.html#a2b38f77ccdaf66aed571fe18e09d08bc">gf::Rect::operator==</a></div><div class="ttdeci">bool operator==(const Rect< T > &lhs, const Rect< T > &rhs)</div><div class="ttdoc">Equality operator. </div><div class="ttdef"><b>Definition:</b> Rect.h:288</div></div>
<div class="ttc" id="structgf_1_1_rect_html_aa9bf24938606ff88b1f7a756842c94b5"><div class="ttname"><a href="structgf_1_1_rect.html#aa9bf24938606ff88b1f7a756842c94b5">gf::Rect::getHeight</a></div><div class="ttdeci">constexpr T getHeight() const noexcept</div><div class="ttdoc">Get the height of the rectangle. </div><div class="ttdef"><b>Definition:</b> Rect.h:219</div></div>
<div class="ttc" id="group__graphics_html_ggadeb9cdf9d7e8eec2eb8cc638c54b5066a1d85a557894c340c318493f33bfa8efb"><div class="ttname"><a href="group__graphics.html#ggadeb9cdf9d7e8eec2eb8cc638c54b5066a1d85a557894c340c318493f33bfa8efb">gf::Anchor::TopRight</a></div><div class="ttdoc">Top-right. </div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>