-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_i_graphics_canvas_8h_source.html
243 lines (241 loc) · 46.9 KB
/
_i_graphics_canvas_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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
<!-- 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: IGraphicsCanvas.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_c649c2f2597c2abb2195531ee49800c5.html">Drawing</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">IGraphicsCanvas.h</div></div>
</div><!--header-->
<div class="contents">
<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="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#include <emscripten/val.h></span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#include <emscripten/bind.h></span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> </div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="preprocessor">#include "<a class="code" href="_i_plug_platform_8h.html">IPlugPlatform.h</a>"</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> </div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="preprocessor">#include "<a class="code" href="_i_graphics_8h.html">IGraphics.h</a>"</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="keyword">using namespace </span>emscripten;</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="l00026" name="l00026"></a><span class="lineno"> 26</span>std::string CanvasColor(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <span class="keywordtype">float</span> alpha = 1.0);</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="class_i_graphics_canvas.html"> 30</a></span><span class="keyword">class </span><a class="code hl_class" href="class_i_graphics_canvas.html">IGraphicsCanvas</a> : <span class="keyword">public</span> <a class="code hl_class" href="class_i_graphics.html">IGraphics</a></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span>{</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">class </span><a class="code hl_class" href="class_i_graphics_canvas_1_1_bitmap.html">Bitmap</a>;</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">struct </span>Font;</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><span class="keyword">public</span>:</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> <a class="code hl_class" href="class_i_graphics_canvas.html">IGraphicsCanvas</a>(<a class="code hl_class" href="class_i_g_editor_delegate.html">IGEditorDelegate</a>& dlg, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h, <span class="keywordtype">int</span> fps, <span class="keywordtype">float</span> scale);</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> <a class="code hl_class" href="class_i_graphics_canvas.html">~IGraphicsCanvas</a>();</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="class_i_graphics_canvas.html#a5231c17616094acc09c79bcf7e886d78"> 40</a></span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="class_i_graphics_canvas.html#a5231c17616094acc09c79bcf7e886d78">GetDrawingAPIStr</a>()<span class="keyword"> override </span>{ <span class="keywordflow">return</span> <span class="stringliteral">"Canvas2D"</span>; }</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> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics_canvas.html#afe2d7bfcef6daad88f26d98834eedff1">DrawBitmap</a>(<span class="keyword">const</span> <a class="code hl_class" href="class_i_bitmap.html">IBitmap</a>& bitmap, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>& bounds, <span class="keywordtype">int</span> srcX, <span class="keywordtype">int</span> srcY, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> </div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="class_i_graphics_canvas.html#a36ae9a23aff18af8d22495c91f6860be"> 44</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics_canvas.html#a36ae9a23aff18af8d22495c91f6860be">DrawResize</a>()<span class="keyword"> override </span>{};</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> </div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics_canvas.html#a2f73a6681254c30875712873197676e9">PathClear</a>() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics_canvas.html#a58572b391957c86146f59c5cba776558">PathClose</a>() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics_canvas.html#a29e644327aa2c4bf89e8b51e7a391a06">PathArc</a>(<span class="keywordtype">float</span> cx, <span class="keywordtype">float</span> cy, <span class="keywordtype">float</span> r, <span class="keywordtype">float</span> a1, <span class="keywordtype">float</span> a2, EWinding winding) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics_canvas.html#a64ea26b98fd9b4fd45dfa2e2bf2d82d2">PathMoveTo</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics_canvas.html#a9bc54a297a06bea5521898e45042e1bc">PathLineTo</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics_canvas.html#a444a41f7dc891180ae58f7a067766c9b">PathCubicBezierTo</a>(<span class="keywordtype">float</span> c1x, <span class="keywordtype">float</span> c1y, <span class="keywordtype">float</span> c2x, <span class="keywordtype">float</span> c2y, <span class="keywordtype">float</span> x2, <span class="keywordtype">float</span> y2) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics_canvas.html#a0451480e9223afe2a479f67058e9785d">PathQuadraticBezierTo</a>(<span class="keywordtype">float</span> cx, <span class="keywordtype">float</span> cy, <span class="keywordtype">float</span> x2, <span class="keywordtype">float</span> y2) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics_canvas.html#aad3ff1efd75ac0665818a146340e8727">PathStroke</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_pattern.html">IPattern</a>& pattern, <span class="keywordtype">float</span> thickness, <span class="keyword">const</span> <a class="code hl_struct" href="group___i_graphics_structs.html#struct_i_stroke_options">IStrokeOptions</a>& options, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics_canvas.html#a935849179c416d470c7997c08bb44a71">PathFill</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_pattern.html">IPattern</a>& pattern, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_fill_options.html">IFillOptions</a>& options, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend) <span class="keyword">override</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"><a class="line" href="class_i_graphics_canvas.html#a9edc604393491c8592a6c7c37c57df41"> 56</a></span> <a class="code hl_struct" href="struct_i_color.html">IColor</a> <a class="code hl_function" href="class_i_graphics_canvas.html#a9edc604393491c8592a6c7c37c57df41">GetPoint</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y)<span class="keyword"> override </span>{ <span class="keywordflow">return</span> COLOR_BLACK; } <span class="comment">// TODO:</span></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"><a class="line" href="class_i_graphics_canvas.html#a985d377263a94e08d7dddd8de73108c2"> 57</a></span> <span class="keywordtype">void</span>* <a class="code hl_function" href="class_i_graphics_canvas.html#a985d377263a94e08d7dddd8de73108c2">GetDrawContext</a>()<span class="keyword"> override </span>{ <span class="keywordflow">return</span> <span class="keyword">nullptr</span>; }</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics_canvas.html#a162e493fcca1427cc180c85186bf90fe">BitmapExtSupported</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* ext) <span class="keyword">override</span>;</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="keyword">protected</span>:</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <a class="code hl_class" href="class_a_p_i_bitmap.html">APIBitmap</a>* <a class="code hl_function" href="class_i_graphics_canvas.html#a2c03ebfe575b5932ed4506b70ea8a0f9">LoadAPIBitmap</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* fileNameOrResID, <span class="keywordtype">int</span> scale, EResourceLocation location, <span class="keyword">const</span> <span class="keywordtype">char</span>* ext) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> <a class="code hl_class" href="class_a_p_i_bitmap.html">APIBitmap</a>* <a class="code hl_function" href="class_i_graphics_canvas.html#a2c03ebfe575b5932ed4506b70ea8a0f9">LoadAPIBitmap</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keyword">const</span> <span class="keywordtype">void</span>* pData, <span class="keywordtype">int</span> dataSize, <span class="keywordtype">int</span> scale) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <a class="code hl_class" href="class_a_p_i_bitmap.html">APIBitmap</a>* <a class="code hl_function" href="class_i_graphics_canvas.html#adb93a773da3026af635dca0d979cb30c">CreateAPIBitmap</a>(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">float</span> scale, <span class="keywordtype">double</span> drawScale, <span class="keywordtype">bool</span> cacheable = <span class="keyword">false</span>) <span class="keyword">override</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> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics_canvas.html#a0d751ab333800b2e7dc5925f23a5c535">LoadAPIFont</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* fontID, <span class="keyword">const</span> PlatformFontPtr& font) <span class="keyword">override</span>;</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> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics_canvas.html#a94153d28cb1929ed9783982bad19fd15">AssetsLoaded</a>() <span class="keyword">override</span>;</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"><a class="line" href="class_i_graphics_canvas.html#a56065396ec671b7e08d475c7770dd123"> 70</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="class_i_graphics_canvas.html#a56065396ec671b7e08d475c7770dd123">AlphaChannel</a>()<span class="keyword"> const override </span>{ <span class="keywordflow">return</span> 3; }</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"><a class="line" href="class_i_graphics_canvas.html#ae1b64aa8fdbb73fe1f4389448bcbb4d1"> 71</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics_canvas.html#ae1b64aa8fdbb73fe1f4389448bcbb4d1">FlippedBitmap</a>()<span class="keyword"> const override </span>{ <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics_canvas.html#ae18effee7f26740c079bb34821cd5a57">GetLayerBitmapData</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___i_graphics_structs.html#ga9b7871899f7948866b57786e8dbf678b">ILayerPtr</a>& layer, RawBitmapData& data) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics_canvas.html#af6815a4819c949cf7baf0709293197b6">ApplyShadowMask</a>(<a class="code hl_typedef" href="group___i_graphics_structs.html#ga9b7871899f7948866b57786e8dbf678b">ILayerPtr</a>& layer, RawBitmapData& mask, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_shadow.html">IShadow</a>& shadow) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> </div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> <span class="keywordtype">float</span> <a class="code hl_function" href="class_i_graphics_canvas.html#a19620f83565a747a2b54adec5aff99b0">DoMeasureText</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_text.html">IText</a>& text, <span class="keyword">const</span> <span class="keywordtype">char</span>* str, <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>& bounds) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics_canvas.html#af2588255ad2390487501db256ef1cc08">DoDrawText</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_text.html">IText</a>& text, <span class="keyword">const</span> <span class="keywordtype">char</span>* str, <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_blend.html">IBlend</a>* pBlend) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> </div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> <span class="keywordtype">void</span> PrepareAndMeasureText(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_text.html">IText</a>& text, <span class="keyword">const</span> <span class="keywordtype">char</span>* str, <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>& r, <span class="keywordtype">double</span>& x, <span class="keywordtype">double</span> & y) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> </div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> val GetContext()<span class="keyword"> const</span></div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> val canvas = mLayers.empty() ? val::global(<span class="stringliteral">"document"</span>).call<val>(<span class="stringliteral">"getElementById"</span>, std::string(<span class="stringliteral">"canvas"</span>)) : *(mLayers.top()->GetAPIBitmap()->GetBitmap());</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> </div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> <span class="keywordflow">return</span> canvas.call<val>(<span class="stringliteral">"getContext"</span>, std::string(<span class="stringliteral">"2d"</span>));</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> }</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> </div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> <span class="keywordtype">void</span> GetFontMetrics(<span class="keyword">const</span> <span class="keywordtype">char</span>* font, <span class="keyword">const</span> <span class="keywordtype">char</span>* style, <span class="keywordtype">double</span>& ascenderRatio, <span class="keywordtype">double</span>& EMRatio);</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> <span class="keywordtype">bool</span> CompareFontMetrics(<span class="keyword">const</span> <span class="keywordtype">char</span>* style, <span class="keyword">const</span> <span class="keywordtype">char</span>* font1, <span class="keyword">const</span> <span class="keywordtype">char</span>* font2);</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> <span class="keywordtype">bool</span> FontExists(<span class="keyword">const</span> <span class="keywordtype">char</span>* font, <span class="keyword">const</span> <span class="keywordtype">char</span>* style);</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> </div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <span class="keywordtype">double</span> XTranslate() { <span class="keywordflow">return</span> mLayers.empty() ? 0 : -mLayers.top()->Bounds().L; }</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> <span class="keywordtype">double</span> YTranslate() { <span class="keywordflow">return</span> mLayers.empty() ? 0 : -mLayers.top()->Bounds().T; }</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> </div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <span class="keywordtype">void</span> PathTransformSetMatrix(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_matrix.html">IMatrix</a>& m) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <span class="keywordtype">void</span> SetClipRegion(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>& r) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> </div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> <span class="keywordtype">void</span> SetCanvasSourcePattern(val& context, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_pattern.html">IPattern</a>& pattern, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = <span class="keyword">nullptr</span>);</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <span class="keywordtype">void</span> SetCanvasBlendMode(val& context, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend);</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> </div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> std::vector<val> mLoadingFonts;</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> </div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> <span class="keyword">static</span> StaticStorage<Font> sFontCache;</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span>};</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> </div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span>END_IPLUG_NAMESPACE</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span>END_IGRAPHICS_NAMESPACE</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> </div>
<div class="ttc" id="a_i_graphics_8h_html"><div class="ttname"><a href="_i_graphics_8h.html">IGraphics.h</a></div></div>
<div class="ttc" id="a_i_plug_platform_8h_html"><div class="ttname"><a href="_i_plug_platform_8h.html">IPlugPlatform.h</a></div><div class="ttdoc">Include to get consistently named preprocessor macros for different platforms and logging functionali...</div></div>
<div class="ttc" id="aclass_a_p_i_bitmap_html"><div class="ttname"><a href="class_a_p_i_bitmap.html">APIBitmap</a></div><div class="ttdoc">A base class interface for a bitmap abstraction around the different drawing back end bitmap represen...</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_private_8h_source.html#l00095">IGraphicsPrivate.h:96</a></div></div>
<div class="ttc" id="aclass_i_bitmap_html"><div class="ttname"><a href="class_i_bitmap.html">IBitmap</a></div><div class="ttdoc">User-facing bitmap abstraction that you use to manage bitmap data, independant of draw class/platform...</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_structs_8h_source.html#l00087">IGraphicsStructs.h:88</a></div></div>
<div class="ttc" id="aclass_i_g_editor_delegate_html"><div class="ttname"><a href="class_i_g_editor_delegate.html">IGEditorDelegate</a></div><div class="ttdoc">An editor delegate base class that uses IGraphics for the UI.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_editor_delegate_8h_source.html#l00030">IGraphicsEditorDelegate.h:31</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_1_1_bitmap_html"><div class="ttname"><a href="class_i_graphics_canvas_1_1_bitmap.html">IGraphicsCanvas::Bitmap</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8cpp_source.html#l00031">IGraphicsCanvas.cpp:32</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_html"><div class="ttname"><a href="class_i_graphics_canvas.html">IGraphicsCanvas</a></div><div class="ttdoc">IGraphics draw class HTML5 canvas.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8h_source.html#l00030">IGraphicsCanvas.h:31</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_html_a0451480e9223afe2a479f67058e9785d"><div class="ttname"><a href="class_i_graphics_canvas.html#a0451480e9223afe2a479f67058e9785d">IGraphicsCanvas::PathQuadraticBezierTo</a></div><div class="ttdeci">void PathQuadraticBezierTo(float cx, float cy, float x2, float y2) override</div><div class="ttdoc">Add a quadratic bezier to the current path from the current point to the specified location.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8cpp_source.html#l00154">IGraphicsCanvas.cpp:154</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_html_a0d751ab333800b2e7dc5925f23a5c535"><div class="ttname"><a href="class_i_graphics_canvas.html#a0d751ab333800b2e7dc5925f23a5c535">IGraphicsCanvas::LoadAPIFont</a></div><div class="ttdeci">bool LoadAPIFont(const char *fontID, const PlatformFontPtr &font) override</div><div class="ttdoc">Drawing API method to load a font from a PlatformFontPtr, called internally.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8cpp_source.html#l00449">IGraphicsCanvas.cpp:449</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_html_a162e493fcca1427cc180c85186bf90fe"><div class="ttname"><a href="class_i_graphics_canvas.html#a162e493fcca1427cc180c85186bf90fe">IGraphicsCanvas::BitmapExtSupported</a></div><div class="ttdeci">bool BitmapExtSupported(const char *ext) override</div><div class="ttdoc">Checks a file extension and reports whether this drawing API supports loading that extension.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8cpp_source.html#l00349">IGraphicsCanvas.cpp:349</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_html_a19620f83565a747a2b54adec5aff99b0"><div class="ttname"><a href="class_i_graphics_canvas.html#a19620f83565a747a2b54adec5aff99b0">IGraphicsCanvas::DoMeasureText</a></div><div class="ttdeci">float DoMeasureText(const IText &text, const char *str, IRECT &bounds) const override</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8cpp_source.html#l00306">IGraphicsCanvas.cpp:306</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_html_a29e644327aa2c4bf89e8b51e7a391a06"><div class="ttname"><a href="class_i_graphics_canvas.html#a29e644327aa2c4bf89e8b51e7a391a06">IGraphicsCanvas::PathArc</a></div><div class="ttdeci">void PathArc(float cx, float cy, float r, float a1, float a2, EWinding winding) override</div><div class="ttdoc">Add an arc to the current path.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8cpp_source.html#l00134">IGraphicsCanvas.cpp:134</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_html_a2c03ebfe575b5932ed4506b70ea8a0f9"><div class="ttname"><a href="class_i_graphics_canvas.html#a2c03ebfe575b5932ed4506b70ea8a0f9">IGraphicsCanvas::LoadAPIBitmap</a></div><div class="ttdeci">APIBitmap * LoadAPIBitmap(const char *fileNameOrResID, int scale, EResourceLocation location, const char *ext) override</div><div class="ttdoc">Drawing API method to load a bitmap, called internally.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8cpp_source.html#l00356">IGraphicsCanvas.cpp:356</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_html_a2f73a6681254c30875712873197676e9"><div class="ttname"><a href="class_i_graphics_canvas.html#a2f73a6681254c30875712873197676e9">IGraphicsCanvas::PathClear</a></div><div class="ttdeci">void PathClear() override</div><div class="ttdoc">Clear the stack of path drawing commands.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8cpp_source.html#l00124">IGraphicsCanvas.cpp:124</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_html_a36ae9a23aff18af8d22495c91f6860be"><div class="ttname"><a href="class_i_graphics_canvas.html#a36ae9a23aff18af8d22495c91f6860be">IGraphicsCanvas::DrawResize</a></div><div class="ttdeci">void DrawResize() override</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8h_source.html#l00044">IGraphicsCanvas.h:44</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_html_a444a41f7dc891180ae58f7a067766c9b"><div class="ttname"><a href="class_i_graphics_canvas.html#a444a41f7dc891180ae58f7a067766c9b">IGraphicsCanvas::PathCubicBezierTo</a></div><div class="ttdeci">void PathCubicBezierTo(float c1x, float c1y, float c2x, float c2y, float x2, float y2) override</div><div class="ttdoc">Add a cubic bezier to the current path from the current point to the specified location.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8cpp_source.html#l00149">IGraphicsCanvas.cpp:149</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_html_a5231c17616094acc09c79bcf7e886d78"><div class="ttname"><a href="class_i_graphics_canvas.html#a5231c17616094acc09c79bcf7e886d78">IGraphicsCanvas::GetDrawingAPIStr</a></div><div class="ttdeci">const char * GetDrawingAPIStr() override</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8h_source.html#l00040">IGraphicsCanvas.h:40</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_html_a56065396ec671b7e08d475c7770dd123"><div class="ttname"><a href="class_i_graphics_canvas.html#a56065396ec671b7e08d475c7770dd123">IGraphicsCanvas::AlphaChannel</a></div><div class="ttdeci">int AlphaChannel() const override</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8h_source.html#l00070">IGraphicsCanvas.h:70</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_html_a58572b391957c86146f59c5cba776558"><div class="ttname"><a href="class_i_graphics_canvas.html#a58572b391957c86146f59c5cba776558">IGraphicsCanvas::PathClose</a></div><div class="ttdeci">void PathClose() override</div><div class="ttdoc">Close the path that is being specified.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8cpp_source.html#l00129">IGraphicsCanvas.cpp:129</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_html_a64ea26b98fd9b4fd45dfa2e2bf2d82d2"><div class="ttname"><a href="class_i_graphics_canvas.html#a64ea26b98fd9b4fd45dfa2e2bf2d82d2">IGraphicsCanvas::PathMoveTo</a></div><div class="ttdeci">void PathMoveTo(float x, float y) override</div><div class="ttdoc">Move the current point in the current path.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8cpp_source.html#l00139">IGraphicsCanvas.cpp:139</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_html_a935849179c416d470c7997c08bb44a71"><div class="ttname"><a href="class_i_graphics_canvas.html#a935849179c416d470c7997c08bb44a71">IGraphicsCanvas::PathFill</a></div><div class="ttdeci">void PathFill(const IPattern &pattern, const IFillOptions &options, const IBlend *pBlend) override</div><div class="ttdoc">Fill the current current path.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8cpp_source.html#l00196">IGraphicsCanvas.cpp:196</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_html_a94153d28cb1929ed9783982bad19fd15"><div class="ttname"><a href="class_i_graphics_canvas.html#a94153d28cb1929ed9783982bad19fd15">IGraphicsCanvas::AssetsLoaded</a></div><div class="ttdeci">bool AssetsLoaded() override</div><div class="ttdoc">Specialized in IGraphicsCanvas drawing backend.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8cpp_source.html#l00500">IGraphicsCanvas.cpp:500</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_html_a985d377263a94e08d7dddd8de73108c2"><div class="ttname"><a href="class_i_graphics_canvas.html#a985d377263a94e08d7dddd8de73108c2">IGraphicsCanvas::GetDrawContext</a></div><div class="ttdeci">void * GetDrawContext() override</div><div class="ttdoc">Gets a void pointer to underlying drawing context, for the IGraphics backend See draw class implement...</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8h_source.html#l00057">IGraphicsCanvas.h:57</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_html_a9bc54a297a06bea5521898e45042e1bc"><div class="ttname"><a href="class_i_graphics_canvas.html#a9bc54a297a06bea5521898e45042e1bc">IGraphicsCanvas::PathLineTo</a></div><div class="ttdeci">void PathLineTo(float x, float y) override</div><div class="ttdoc">Add a line to the current path from the current point to the specified location.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8cpp_source.html#l00144">IGraphicsCanvas.cpp:144</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_html_a9edc604393491c8592a6c7c37c57df41"><div class="ttname"><a href="class_i_graphics_canvas.html#a9edc604393491c8592a6c7c37c57df41">IGraphicsCanvas::GetPoint</a></div><div class="ttdeci">IColor GetPoint(int x, int y) override</div><div class="ttdoc">Get the color at an X, Y location in the graphics context.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8h_source.html#l00056">IGraphicsCanvas.h:56</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_html_aad3ff1efd75ac0665818a146340e8727"><div class="ttname"><a href="class_i_graphics_canvas.html#aad3ff1efd75ac0665818a146340e8727">IGraphicsCanvas::PathStroke</a></div><div class="ttdeci">void PathStroke(const IPattern &pattern, float thickness, const IStrokeOptions &options, const IBlend *pBlend) override</div><div class="ttdoc">Stroke the current current path.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8cpp_source.html#l00159">IGraphicsCanvas.cpp:159</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_html_adb93a773da3026af635dca0d979cb30c"><div class="ttname"><a href="class_i_graphics_canvas.html#adb93a773da3026af635dca0d979cb30c">IGraphicsCanvas::CreateAPIBitmap</a></div><div class="ttdeci">APIBitmap * CreateAPIBitmap(int width, int height, float scale, double drawScale, bool cacheable=false) override</div><div class="ttdoc">Creates a new API bitmap, either in memory or as a GPU texture.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8cpp_source.html#l00392">IGraphicsCanvas.cpp:392</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_html_ae18effee7f26740c079bb34821cd5a57"><div class="ttname"><a href="class_i_graphics_canvas.html#ae18effee7f26740c079bb34821cd5a57">IGraphicsCanvas::GetLayerBitmapData</a></div><div class="ttdeci">void GetLayerBitmapData(const ILayerPtr &layer, RawBitmapData &data) override</div><div class="ttdoc">Get the contents of a layer as Raw RGBA bitmap data NOTE: you should only call this within IControl::...</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8cpp_source.html#l00518">IGraphicsCanvas.cpp:518</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_html_ae1b64aa8fdbb73fe1f4389448bcbb4d1"><div class="ttname"><a href="class_i_graphics_canvas.html#ae1b64aa8fdbb73fe1f4389448bcbb4d1">IGraphicsCanvas::FlippedBitmap</a></div><div class="ttdeci">bool FlippedBitmap() const override</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8h_source.html#l00071">IGraphicsCanvas.h:71</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_html_af2588255ad2390487501db256ef1cc08"><div class="ttname"><a href="class_i_graphics_canvas.html#af2588255ad2390487501db256ef1cc08">IGraphicsCanvas::DoDrawText</a></div><div class="ttdeci">void DoDrawText(const IText &text, const char *str, const IRECT &bounds, const IBlend *pBlend) override</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8cpp_source.html#l00315">IGraphicsCanvas.cpp:315</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_html_af6815a4819c949cf7baf0709293197b6"><div class="ttname"><a href="class_i_graphics_canvas.html#af6815a4819c949cf7baf0709293197b6">IGraphicsCanvas::ApplyShadowMask</a></div><div class="ttdeci">void ApplyShadowMask(ILayerPtr &layer, RawBitmapData &mask, const IShadow &shadow) override</div><div class="ttdoc">Implemented by a graphics backend to apply a calculated shadow mask to a layer, according to the shad...</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8cpp_source.html#l00537">IGraphicsCanvas.cpp:537</a></div></div>
<div class="ttc" id="aclass_i_graphics_canvas_html_afe2d7bfcef6daad88f26d98834eedff1"><div class="ttname"><a href="class_i_graphics_canvas.html#afe2d7bfcef6daad88f26d98834eedff1">IGraphicsCanvas::DrawBitmap</a></div><div class="ttdeci">void DrawBitmap(const IBitmap &bitmap, const IRECT &bounds, int srcX, int srcY, const IBlend *pBlend) override</div><div class="ttdoc">Draw a bitmap (raster) image to the graphics context.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_canvas_8cpp_source.html#l00105">IGraphicsCanvas.cpp:105</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="agroup___i_graphics_structs_html_ga9b7871899f7948866b57786e8dbf678b"><div class="ttname"><a href="group___i_graphics_structs.html#ga9b7871899f7948866b57786e8dbf678b">ILayerPtr</a></div><div class="ttdeci">std::unique_ptr< ILayer > ILayerPtr</div><div class="ttdoc">ILayerPtr is a managed pointer for transferring the ownership of layers.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_structs_8h_source.html#l02370">IGraphicsStructs.h:2370</a></div></div>
<div class="ttc" id="agroup___i_graphics_structs_html_struct_i_stroke_options"><div class="ttname"><a href="group___i_graphics_structs.html#struct_i_stroke_options">IStrokeOptions</a></div><div class="ttdoc">Used to manage stroke behaviour for path based drawing back ends.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_structs_8h_source.html#l00589">IGraphicsStructs.h:590</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_fill_options_html"><div class="ttname"><a href="struct_i_fill_options.html">IFillOptions</a></div><div class="ttdoc">Used to manage fill behaviour.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_structs_8h_source.html#l00575">IGraphicsStructs.h:576</a></div></div>
<div class="ttc" id="astruct_i_matrix_html"><div class="ttname"><a href="struct_i_matrix.html">IMatrix</a></div><div class="ttdoc">Used to store transformation matrices.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_structs_8h_source.html#l01998">IGraphicsStructs.h:1999</a></div></div>
<div class="ttc" id="astruct_i_pattern_html"><div class="ttname"><a href="struct_i_pattern.html">IPattern</a></div><div class="ttdoc">Used to store pattern information for gradients.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_structs_8h_source.html#l02147">IGraphicsStructs.h:2148</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_shadow_html"><div class="ttname"><a href="struct_i_shadow.html">IShadow</a></div><div class="ttdoc">Used to specify properties of a drop-shadow to a layer.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_structs_8h_source.html#l02373">IGraphicsStructs.h:2374</a></div></div>
<div class="ttc" id="astruct_i_text_html"><div class="ttname"><a href="struct_i_text.html">IText</a></div><div class="ttdoc">IText is used to manage font and text/text entry style for a piece of text on the UI,...</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_structs_8h_source.html#l00661">IGraphicsStructs.h:662</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>