-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_i_l_e_d_control_8h_source.html
186 lines (184 loc) · 24.7 KB
/
_i_l_e_d_control_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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<!-- HTML header for doxygen 1.8.14-->
<!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.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>iPlug 2: ILEDControl.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>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.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" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="style.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: 80px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">iPlug2 - C++ Audio Plug-in Framework
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_c70994b0d9919a11b368e677cb7f323c.html">IGraphics</a></li><li class="navelem"><a class="el" href="dir_b13fc9fb79eb1e19d3aa0747e2e621c7.html">Controls</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">ILEDControl.h</div></div>
</div><!--header-->
<div class="contents">
<a href="_i_l_e_d_control_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">/*</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment"> ==============================================================================</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"></span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> This file is part of the iPlug 2 library. Copyright (C) the iPlug 2 developers.</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"></span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment"> See LICENSE.txt for more info.</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment"></span> </div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="comment"> ==============================================================================</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment">*/</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="preprocessor">#include "<a class="code" href="_i_control_8h.html">IControl.h</a>"</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#include "<a class="code" href="_easing_8h.html">Easing.h</a>"</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span>BEGIN_IPLUG_NAMESPACE</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span>BEGIN_IGRAPHICS_NAMESPACE</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="class_i_l_e_d_control.html"> 27</a></span><span class="keyword">class </span><a class="code hl_class" href="class_i_l_e_d_control.html">ILEDControl</a> : <span class="keyword">public</span> <a class="code hl_class" href="class_i_control.html">IControl</a></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span>{</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> <a class="code hl_class" href="class_i_l_e_d_control.html">ILEDControl</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>& bounds, <span class="keywordtype">float</span> hue = 0.f)</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> : <a class="code hl_class" href="class_i_control.html">IControl</a>(bounds)</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> , mHue(hue)</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> {</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> }</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> </div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> <a class="code hl_class" href="class_i_l_e_d_control.html">ILEDControl</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>& bounds, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color)</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> : <a class="code hl_class" href="class_i_control.html">IControl</a>(bounds)</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> {</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> <span class="keywordtype">float</span> s,l,a;</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> color.<a class="code hl_function" href="struct_i_color.html#a9884c1a4f8fea10762f719f6932bbdb1">GetHSLA</a>(mHue, s, l, a);</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> }</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> </div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="class_i_l_e_d_control.html#a22c55170b03b5d4ef11c1d74f7b14f8e"> 43</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_l_e_d_control.html#a22c55170b03b5d4ef11c1d74f7b14f8e">Draw</a>(<a class="code hl_class" href="class_i_graphics.html">IGraphics</a>& g)<span class="keyword"> override</span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">const</span> <span class="keywordtype">float</span> v = <span class="keyword">static_cast<</span><span class="keywordtype">float</span><span class="keyword">></span>(<a class="code hl_function" href="class_i_control.html#adb76fb874cb855fd059469c5a00b249f">GetValue</a>() * 0.65f);</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a> c = <a class="code hl_function" href="struct_i_color.html#a636c2810c6318d698a371b96bc47fd63">IColor::FromHSLA</a>(mHue, 1.f, v);</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a> innerPart = mRECT.<a class="code hl_function" href="struct_i_r_e_c_t.html#a433e5b91055541b18ea1fa4849874127">GetCentredInside</a>(mRECT.<a class="code hl_function" href="struct_i_r_e_c_t.html#a9d21ea21ff622e370664267c12cc7c24">W</a>()/2.f);</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a> flare = innerPart.<a class="code hl_function" href="struct_i_r_e_c_t.html#a649906018dbd203b424df1535cc1e3cf">GetScaledAboutCentre</a>(1.f + v);</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> g.<a class="code hl_function" href="class_i_graphics.html#a0c98e2ea1174af8e9a58dc05962602d7">FillEllipse</a>(c, innerPart, <span class="keyword">nullptr</span>);</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> g.<a class="code hl_function" href="class_i_graphics.html#a0d7fdc383a98780b31dd11babbf2dc9e">DrawEllipse</a>(COLOR_BLACK, innerPart, <span class="keyword">nullptr</span>, 1.f);</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> g.<a class="code hl_function" href="class_i_graphics.html#af0c393d3b3c9023d6d1739b952532feb">PathEllipse</a>(flare);</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a> b = {EBlend::Default, v};</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> g.<a class="code hl_function" href="class_i_graphics.html#a185b056c70c54319c85c72246cd79458">PathFill</a>(<a class="code hl_function" href="struct_i_pattern.html#ac6dafb58e144051cbff6f6541ea016a8">IPattern::CreateRadialGradient</a>(mRECT.<a class="code hl_function" href="struct_i_r_e_c_t.html#ae7ab9b583d33dab5f0da516a9f3a2b17">MW</a>(), mRECT.<a class="code hl_function" href="struct_i_r_e_c_t.html#a60f96f3391687e546155197b4544111b">MH</a>(), mRECT.<a class="code hl_function" href="struct_i_r_e_c_t.html#a9d21ea21ff622e370664267c12cc7c24">W</a>()/2.f, {{c, 0.f}, {COLOR_TRANSPARENT, 1.f}}), {}, &b);</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> }</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> </div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <span class="keywordtype">void</span> TriggerWithDecay(<span class="keywordtype">int</span> decayTimeMs)</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> {</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> SetAnimation([](<a class="code hl_class" href="class_i_control.html">IControl</a>* pControl){</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> <span class="keyword">auto</span> progress = pControl-><a class="code hl_function" href="class_i_control.html#a89f8af5b9f31375d3f8b014b23a985a0">GetAnimationProgress</a>();</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> </div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> <span class="keywordflow">if</span>(progress > 1.f) {</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> pControl->OnEndAnimation();</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> <span class="keywordflow">return</span>;</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> }</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> </div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> pControl-><a class="code hl_function" href="class_i_control.html#adb4a369378ca89c58d2c1bf942991485">SetValue</a>(EaseCubicIn(1. -progress));</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> </div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> }, decayTimeMs);</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> }</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> </div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> <span class="keywordtype">float</span> mHue = 0.f;</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span>};</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> </div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span>END_IGRAPHICS_NAMESPACE</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span>END_IPLUG_NAMESPACE</div>
<div class="ttc" id="a_easing_8h_html"><div class="ttname"><a href="_easing_8h.html">Easing.h</a></div><div class="ttdoc">Easing functions, based on Warren Moore's AHEasing library https://github.com/warrenm/AHEasing See he...</div></div>
<div class="ttc" id="a_i_control_8h_html"><div class="ttname"><a href="_i_control_8h.html">IControl.h</a></div><div class="ttdoc">This file contains the base IControl implementation, along with some base classes for specific types ...</div></div>
<div class="ttc" id="aclass_i_control_html"><div class="ttname"><a href="class_i_control.html">IControl</a></div><div class="ttdoc">The lowest level base class of an IGraphics control.</div><div class="ttdef"><b>Definition:</b> <a href="_i_control_8h_source.html#l00044">IControl.h:49</a></div></div>
<div class="ttc" id="aclass_i_control_html_a89f8af5b9f31375d3f8b014b23a985a0"><div class="ttname"><a href="class_i_control.html#a89f8af5b9f31375d3f8b014b23a985a0">IControl::GetAnimationProgress</a></div><div class="ttdeci">double GetAnimationProgress() const</div><div class="ttdoc">Get the progress in a control's animation, in the range 0-1.</div><div class="ttdef"><b>Definition:</b> <a href="_i_control_8cpp_source.html#l00431">IControl.cpp:431</a></div></div>
<div class="ttc" id="aclass_i_control_html_adb4a369378ca89c58d2c1bf942991485"><div class="ttname"><a href="class_i_control.html#adb4a369378ca89c58d2c1bf942991485">IControl::SetValue</a></div><div class="ttdeci">virtual void SetValue(double value, int valIdx=0)</div><div class="ttdoc">Set one of the control's values.</div><div class="ttdef"><b>Definition:</b> <a href="_i_control_8cpp_source.html#l00147">IControl.cpp:147</a></div></div>
<div class="ttc" id="aclass_i_control_html_adb76fb874cb855fd059469c5a00b249f"><div class="ttname"><a href="class_i_control.html#adb76fb874cb855fd059469c5a00b249f">IControl::GetValue</a></div><div class="ttdeci">double GetValue(int valIdx=0) const</div><div class="ttdoc">Get the control's value.</div><div class="ttdef"><b>Definition:</b> <a href="_i_control_8cpp_source.html#l00153">IControl.cpp:153</a></div></div>
<div class="ttc" id="aclass_i_graphics_html"><div class="ttname"><a href="class_i_graphics.html">IGraphics</a></div><div class="ttdoc">The lowest level base class of an IGraphics context.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_8h_source.html#l00082">IGraphics.h:86</a></div></div>
<div class="ttc" id="aclass_i_graphics_html_a0c98e2ea1174af8e9a58dc05962602d7"><div class="ttname"><a href="class_i_graphics.html#a0c98e2ea1174af8e9a58dc05962602d7">IGraphics::FillEllipse</a></div><div class="ttdeci">virtual void FillEllipse(const IColor &color, const IRECT &bounds, const IBlend *pBlend=0)</div><div class="ttdoc">Fill an ellipse within a rectangular region of the graphics context.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_8cpp_source.html#l02621">IGraphics.cpp:2621</a></div></div>
<div class="ttc" id="aclass_i_graphics_html_a0d7fdc383a98780b31dd11babbf2dc9e"><div class="ttname"><a href="class_i_graphics.html#a0d7fdc383a98780b31dd11babbf2dc9e">IGraphics::DrawEllipse</a></div><div class="ttdeci">virtual void DrawEllipse(const IColor &color, const IRECT &bounds, const IBlend *pBlend=0, float thickness=1.f)</div><div class="ttdoc">Draw an ellipse within a rectangular region of the graphics context.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_8cpp_source.html#l02556">IGraphics.cpp:2556</a></div></div>
<div class="ttc" id="aclass_i_graphics_html_a185b056c70c54319c85c72246cd79458"><div class="ttname"><a href="class_i_graphics.html#a185b056c70c54319c85c72246cd79458">IGraphics::PathFill</a></div><div class="ttdeci">virtual void PathFill(const IPattern &pattern, const IFillOptions &options=IFillOptions(), const IBlend *pBlend=0)=0</div><div class="ttdoc">Fill the current current path.</div></div>
<div class="ttc" id="aclass_i_graphics_html_af0c393d3b3c9023d6d1739b952532feb"><div class="ttname"><a href="class_i_graphics.html#af0c393d3b3c9023d6d1739b952532feb">IGraphics::PathEllipse</a></div><div class="ttdeci">void PathEllipse(const IRECT &bounds)</div><div class="ttdoc">Add an ellipse to the current path, specifying the rectangular region.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_8cpp_source.html#l02691">IGraphics.cpp:2691</a></div></div>
<div class="ttc" id="aclass_i_l_e_d_control_html"><div class="ttname"><a href="class_i_l_e_d_control.html">ILEDControl</a></div><div class="ttdoc">Glowing LED control.</div><div class="ttdef"><b>Definition:</b> <a href="_i_l_e_d_control_8h_source.html#l00027">ILEDControl.h:28</a></div></div>
<div class="ttc" id="aclass_i_l_e_d_control_html_a22c55170b03b5d4ef11c1d74f7b14f8e"><div class="ttname"><a href="class_i_l_e_d_control.html#a22c55170b03b5d4ef11c1d74f7b14f8e">ILEDControl::Draw</a></div><div class="ttdeci">void Draw(IGraphics &g) override</div><div class="ttdoc">Draw the control to the graphics context.</div><div class="ttdef"><b>Definition:</b> <a href="_i_l_e_d_control_8h_source.html#l00043">ILEDControl.h:43</a></div></div>
<div class="ttc" id="astruct_i_blend_html"><div class="ttname"><a href="struct_i_blend.html">IBlend</a></div><div class="ttdoc">Used to manage composite/blend operations, independent of draw class/platform.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_structs_8h_source.html#l00543">IGraphicsStructs.h:544</a></div></div>
<div class="ttc" id="astruct_i_color_html"><div class="ttname"><a href="struct_i_color.html">IColor</a></div><div class="ttdoc">Used to manage color data, independent of draw class/platform.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_structs_8h_source.html#l00222">IGraphicsStructs.h:223</a></div></div>
<div class="ttc" id="astruct_i_color_html_a636c2810c6318d698a371b96bc47fd63"><div class="ttname"><a href="struct_i_color.html#a636c2810c6318d698a371b96bc47fd63">IColor::FromHSLA</a></div><div class="ttdeci">static IColor FromHSLA(float h, float s, float l, float a=1.f)</div><div class="ttdoc">Create an IColor from Hue Saturation and Luminance values.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_structs_8h_source.html#l00450">IGraphicsStructs.h:450</a></div></div>
<div class="ttc" id="astruct_i_color_html_a9884c1a4f8fea10762f719f6932bbdb1"><div class="ttname"><a href="struct_i_color.html#a9884c1a4f8fea10762f719f6932bbdb1">IColor::GetHSLA</a></div><div class="ttdeci">void GetHSLA(float &h, float &s, float &l, float &a) const</div><div class="ttdoc">Get the Hue, Saturation and Luminance of the color.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_structs_8h_source.html#l00314">IGraphicsStructs.h:314</a></div></div>
<div class="ttc" id="astruct_i_pattern_html_ac6dafb58e144051cbff6f6541ea016a8"><div class="ttname"><a href="struct_i_pattern.html#ac6dafb58e144051cbff6f6541ea016a8">IPattern::CreateRadialGradient</a></div><div class="ttdeci">static IPattern CreateRadialGradient(float x1, float y1, float r, const std::initializer_list< IColorStop > &stops={})</div><div class="ttdoc">Create a radial gradient IPattern.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_structs_8h_source.html#l02235">IGraphicsStructs.h:2235</a></div></div>
<div class="ttc" id="astruct_i_r_e_c_t_html"><div class="ttname"><a href="struct_i_r_e_c_t.html">IRECT</a></div><div class="ttdoc">Used to manage a rectangular area, independent of draw class/platform.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_structs_8h_source.html#l00748">IGraphicsStructs.h:749</a></div></div>
<div class="ttc" id="astruct_i_r_e_c_t_html_a433e5b91055541b18ea1fa4849874127"><div class="ttname"><a href="struct_i_r_e_c_t.html#a433e5b91055541b18ea1fa4849874127">IRECT::GetCentredInside</a></div><div class="ttdeci">IRECT GetCentredInside(const IRECT &sr) const</div><div class="ttdoc">Get a rectangle the size of sr but with the same center point as this rectangle.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_structs_8h_source.html#l01586">IGraphicsStructs.h:1586</a></div></div>
<div class="ttc" id="astruct_i_r_e_c_t_html_a60f96f3391687e546155197b4544111b"><div class="ttname"><a href="struct_i_r_e_c_t.html#a60f96f3391687e546155197b4544111b">IRECT::MH</a></div><div class="ttdeci">float MH() const</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_structs_8h_source.html#l00833">IGraphicsStructs.h:833</a></div></div>
<div class="ttc" id="astruct_i_r_e_c_t_html_a649906018dbd203b424df1535cc1e3cf"><div class="ttname"><a href="struct_i_r_e_c_t.html#a649906018dbd203b424df1535cc1e3cf">IRECT::GetScaledAboutCentre</a></div><div class="ttdeci">IRECT GetScaledAboutCentre(float scale) const</div><div class="ttdoc">Get a copy of this IRECT where the width and height are multiplied by scale without changing the cent...</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_structs_8h_source.html#l01478">IGraphicsStructs.h:1478</a></div></div>
<div class="ttc" id="astruct_i_r_e_c_t_html_a9d21ea21ff622e370664267c12cc7c24"><div class="ttname"><a href="struct_i_r_e_c_t.html#a9d21ea21ff622e370664267c12cc7c24">IRECT::W</a></div><div class="ttdeci">float W() const</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_structs_8h_source.html#l00824">IGraphicsStructs.h:824</a></div></div>
<div class="ttc" id="astruct_i_r_e_c_t_html_ae7ab9b583d33dab5f0da516a9f3a2b17"><div class="ttname"><a href="struct_i_r_e_c_t.html#ae7ab9b583d33dab5f0da516a9f3a2b17">IRECT::MW</a></div><div class="ttdeci">float MW() const</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_structs_8h_source.html#l00830">IGraphicsStructs.h:830</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>