-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_curve_8h_source.html
85 lines (85 loc) · 26.4 KB
/
_curve_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
<!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): Curve.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">Curve.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="preprocessor">#ifndef GF_CURVE_H</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#define GF_CURVE_H</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <cstddef></span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "Portability.h"</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "Rect.h"</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include "Transformable.h"</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include "Vector.h"</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "VertexArray.h"</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "VertexBuffer.h"</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">namespace </span><a class="code" href="namespacegf.html">gf</a> {</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">inline</span> <span class="keyword">namespace </span>v1 {</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classgf_1_1_curve.html"> 52</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_curve.html">Curve</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_transformable.html">Transformable</a> {</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classgf_1_1_curve.html#a2d29e228aaff294d5d38fe563d1ff272"> 57</a></span>  <span class="keyword">enum</span> <a class="code" href="classgf_1_1_curve.html#a2d29e228aaff294d5d38fe563d1ff272">Type</a> {</div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classgf_1_1_curve.html#a2d29e228aaff294d5d38fe563d1ff272a119907af16879acca1aafb34e91d5c1d"> 58</a></span>  <a class="code" href="classgf_1_1_curve.html#a2d29e228aaff294d5d38fe563d1ff272a119907af16879acca1aafb34e91d5c1d">Simple</a>, </div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classgf_1_1_curve.html#a2d29e228aaff294d5d38fe563d1ff272a306eccd159d833238a04d882d7d9a321"> 59</a></span>  <a class="code" href="classgf_1_1_curve.html#a2d29e228aaff294d5d38fe563d1ff272a306eccd159d833238a04d882d7d9a321">Outlined</a>, </div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  };</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="classgf_1_1_curve.html">Curve</a>();</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordtype">void</span> setType(<a class="code" href="classgf_1_1_curve.html#a2d29e228aaff294d5d38fe563d1ff272">Type</a> type);</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classgf_1_1_curve.html#a8bcfb3e49fed7d6a38bfd4065c16a9c1"> 81</a></span>  <a class="code" href="classgf_1_1_curve.html#a2d29e228aaff294d5d38fe563d1ff272">Type</a> <a class="code" href="classgf_1_1_curve.html#a8bcfb3e49fed7d6a38bfd4065c16a9c1">getType</a>() const noexcept {</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordflow">return</span> m_type;</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  }</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordtype">void</span> setColor(<span class="keyword">const</span> <a class="code" href="structgf_1_1_vector_3_01_t_00_014_01_4.html">Color4f</a>& color);</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="classgf_1_1_curve.html#a71ee8668036208a3a26b84fd7686172b"> 107</a></span>  <span class="keyword">const</span> <a class="code" href="structgf_1_1_vector_3_01_t_00_014_01_4.html">Color4f</a>& <a class="code" href="classgf_1_1_curve.html#a71ee8668036208a3a26b84fd7686172b">getColor</a>()<span class="keyword"> const </span>{</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordflow">return</span> m_color;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  }</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keywordtype">void</span> setWidth(<span class="keywordtype">float</span> width);</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span> </div><div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="classgf_1_1_curve.html#a6b74eb47e582346ff9e8706a9a5d0eb8"> 123</a></span>  <span class="keywordtype">float</span> <a class="code" href="classgf_1_1_curve.html#a6b74eb47e582346ff9e8706a9a5d0eb8">getWidth</a>()<span class="keyword"> const </span>{</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keywordflow">return</span> m_width;</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="l00136"></a><span class="lineno"> 136</span>  <span class="keywordtype">void</span> setOutlineColor(<span class="keyword">const</span> <a class="code" href="structgf_1_1_vector_3_01_t_00_014_01_4.html">Color4f</a>& color);</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span> </div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="classgf_1_1_curve.html#a6dcca32a07306fd868dc732bb246c134"> 145</a></span>  <span class="keyword">const</span> <a class="code" href="structgf_1_1_vector_3_01_t_00_014_01_4.html">Color4f</a>& <a class="code" href="classgf_1_1_curve.html#a6dcca32a07306fd868dc732bb246c134">getOutlineColor</a>()<span class="keyword"> const </span>{</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keywordflow">return</span> m_outlineColor;</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  }</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span> </div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="keywordtype">void</span> setOutlineThickness(<span class="keywordtype">float</span> thickness);</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span> </div><div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="classgf_1_1_curve.html#a5ea717b424d865f3b52cabda32754542"> 167</a></span>  <span class="keywordtype">float</span> <a class="code" href="classgf_1_1_curve.html#a5ea717b424d865f3b52cabda32754542">getOutlineThickness</a>()<span class="keyword"> const </span>{</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keywordflow">return</span> m_outlineThickness;</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  }</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span> </div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keyword">virtual</span> std::size_t getPointCount() <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <span class="keyword">virtual</span> <a class="code" href="structgf_1_1_vector.html">Vector2f</a> getPoint(std::size_t index) <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span> </div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <a class="code" href="structgf_1_1_rect.html">RectF</a> getLocalBounds() <span class="keyword">const</span>;</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span> </div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <span class="keywordtype">void</span> setAnchor(<a class="code" href="group__graphics.html#gadeb9cdf9d7e8eec2eb8cc638c54b5066">Anchor</a> anchor);</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span> </div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <a class="code" href="classgf_1_1_vertex_buffer.html">VertexBuffer</a> commitGeometry() <span class="keyword">const</span>;</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span> </div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <a class="code" href="classgf_1_1_vertex_buffer.html">VertexBuffer</a> commitOutlineGeometry() <span class="keyword">const</span>;</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span> </div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> draw(<a class="code" href="classgf_1_1_render_target.html">RenderTarget</a>& target, <span class="keyword">const</span> <a class="code" href="structgf_1_1_render_states.html">RenderStates</a>& states) <span class="keyword">override</span>;</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span> </div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <span class="keywordtype">void</span> updateGeometry();</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span> </div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <span class="keywordtype">void</span> setClosed(<span class="keywordtype">bool</span> closed = <span class="keyword">true</span>);</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span> </div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <span class="keywordtype">void</span> updateColors();</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  <span class="keywordtype">void</span> updateOutline();</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  <span class="keywordtype">void</span> updateOutlineColors();</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span> </div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <span class="keywordtype">void</span> computeVertices(<a class="code" href="classgf_1_1_vertex_array.html">VertexArray</a>& vertices, <span class="keywordtype">float</span> halfWidth);</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  <a class="code" href="classgf_1_1_curve.html#a2d29e228aaff294d5d38fe563d1ff272">Type</a> m_type;</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  <span class="keywordtype">bool</span> m_closed;</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span> </div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <a class="code" href="structgf_1_1_vector_3_01_t_00_014_01_4.html">Color4f</a> m_color;</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <span class="keywordtype">float</span> m_width;</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <a class="code" href="classgf_1_1_vertex_array.html">VertexArray</a> m_vertices;</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <a class="code" href="structgf_1_1_rect.html">RectF</a> m_bounds;</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span> </div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <a class="code" href="structgf_1_1_vector_3_01_t_00_014_01_4.html">Color4f</a> m_outlineColor;</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="keywordtype">float</span> m_outlineThickness;</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <a class="code" href="classgf_1_1_vertex_array.html">VertexArray</a> m_outlineVertices;</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  };</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span> </div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span> <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span></div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span> }</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span> }</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span> </div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span> <span class="preprocessor">#endif // GF_CURVE_H</span></div><div class="ttc" id="classgf_1_1_transformable_html"><div class="ttname"><a href="classgf_1_1_transformable.html">gf::Transformable</a></div><div class="ttdoc">Decomposed transform defined by a position, a rotation and a scale. </div><div class="ttdef"><b>Definition:</b> Transformable.h:95</div></div>
<div class="ttc" id="classgf_1_1_curve_html_a2d29e228aaff294d5d38fe563d1ff272a306eccd159d833238a04d882d7d9a321"><div class="ttname"><a href="classgf_1_1_curve.html#a2d29e228aaff294d5d38fe563d1ff272a306eccd159d833238a04d882d7d9a321">gf::Curve::Outlined</a></div><div class="ttdoc">An outlined curve. </div><div class="ttdef"><b>Definition:</b> Curve.h:59</div></div>
<div class="ttc" id="classgf_1_1_vertex_array_html"><div class="ttname"><a href="classgf_1_1_vertex_array.html">gf::VertexArray</a></div><div class="ttdoc">A set of primitives. </div><div class="ttdef"><b>Definition:</b> VertexArray.h:65</div></div>
<div class="ttc" id="classgf_1_1_render_target_html"><div class="ttname"><a href="classgf_1_1_render_target.html">gf::RenderTarget</a></div><div class="ttdoc">Base class for all render targets (window, texture, ...) </div><div class="ttdef"><b>Definition:</b> RenderTarget.h:73</div></div>
<div class="ttc" id="structgf_1_1_render_states_html"><div class="ttname"><a href="structgf_1_1_render_states.html">gf::RenderStates</a></div><div class="ttdoc">Define the states used for drawing to a RenderTarget. </div><div class="ttdef"><b>Definition:</b> RenderStates.h:82</div></div>
<div class="ttc" id="classgf_1_1_vertex_buffer_html"><div class="ttname"><a href="classgf_1_1_vertex_buffer.html">gf::VertexBuffer</a></div><div class="ttdoc">Data in the graphics memory. </div><div class="ttdef"><b>Definition:</b> VertexBuffer.h:77</div></div>
<div class="ttc" id="classgf_1_1_curve_html"><div class="ttname"><a href="classgf_1_1_curve.html">gf::Curve</a></div><div class="ttdoc">A curve is a one dimension object. </div><div class="ttdef"><b>Definition:</b> Curve.h:52</div></div>
<div class="ttc" id="classgf_1_1_curve_html_a2d29e228aaff294d5d38fe563d1ff272a119907af16879acca1aafb34e91d5c1d"><div class="ttname"><a href="classgf_1_1_curve.html#a2d29e228aaff294d5d38fe563d1ff272a119907af16879acca1aafb34e91d5c1d">gf::Curve::Simple</a></div><div class="ttdoc">A simple curve with no outline. </div><div class="ttdef"><b>Definition:</b> Curve.h:58</div></div>
<div class="ttc" id="structgf_1_1_rect_html"><div class="ttname"><a href="structgf_1_1_rect.html">gf::Rect< float ></a></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="classgf_1_1_curve_html_a6dcca32a07306fd868dc732bb246c134"><div class="ttname"><a href="classgf_1_1_curve.html#a6dcca32a07306fd868dc732bb246c134">gf::Curve::getOutlineColor</a></div><div class="ttdeci">const Color4f & getOutlineColor() const</div><div class="ttdoc">Get the outline color of the curve. </div><div class="ttdef"><b>Definition:</b> Curve.h:145</div></div>
<div class="ttc" id="classgf_1_1_curve_html_a71ee8668036208a3a26b84fd7686172b"><div class="ttname"><a href="classgf_1_1_curve.html#a71ee8668036208a3a26b84fd7686172b">gf::Curve::getColor</a></div><div class="ttdeci">const Color4f & getColor() const</div><div class="ttdoc">Get the fill color of the curve. </div><div class="ttdef"><b>Definition:</b> Curve.h:107</div></div>
<div class="ttc" id="structgf_1_1_vector_3_01_t_00_014_01_4_html"><div class="ttname"><a href="structgf_1_1_vector_3_01_t_00_014_01_4.html">gf::Vector< T, 4 ></a></div><div class="ttdoc">A 4D vector. </div><div class="ttdef"><b>Definition:</b> Vector.h:838</div></div>
<div class="ttc" id="classgf_1_1_curve_html_a8bcfb3e49fed7d6a38bfd4065c16a9c1"><div class="ttname"><a href="classgf_1_1_curve.html#a8bcfb3e49fed7d6a38bfd4065c16a9c1">gf::Curve::getType</a></div><div class="ttdeci">Type getType() const noexcept</div><div class="ttdoc">Return the type of the curve. </div><div class="ttdef"><b>Definition:</b> Curve.h:81</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="classgf_1_1_curve_html_a6b74eb47e582346ff9e8706a9a5d0eb8"><div class="ttname"><a href="classgf_1_1_curve.html#a6b74eb47e582346ff9e8706a9a5d0eb8">gf::Curve::getWidth</a></div><div class="ttdeci">float getWidth() const</div><div class="ttdoc">Get the width of the curve. </div><div class="ttdef"><b>Definition:</b> Curve.h:123</div></div>
<div class="ttc" id="classgf_1_1_curve_html_a2d29e228aaff294d5d38fe563d1ff272"><div class="ttname"><a href="classgf_1_1_curve.html#a2d29e228aaff294d5d38fe563d1ff272">gf::Curve::Type</a></div><div class="ttdeci">Type</div><div class="ttdoc">The type of the curve. </div><div class="ttdef"><b>Definition:</b> Curve.h:57</div></div>
<div class="ttc" id="structgf_1_1_vector_html"><div class="ttname"><a href="structgf_1_1_vector.html">gf::Vector< float, 2 ></a></div></div>
<div class="ttc" id="classgf_1_1_curve_html_a5ea717b424d865f3b52cabda32754542"><div class="ttname"><a href="classgf_1_1_curve.html#a5ea717b424d865f3b52cabda32754542">gf::Curve::getOutlineThickness</a></div><div class="ttdeci">float getOutlineThickness() const</div><div class="ttdoc">Get the outline thickness of the curve. </div><div class="ttdef"><b>Definition:</b> Curve.h:167</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>