-
Notifications
You must be signed in to change notification settings - Fork 0
/
_i_graphics_8h_source.html
1276 lines (1274 loc) · 346 KB
/
_i_graphics_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
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!-- 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: IGraphics.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> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">IGraphics.h</div></div>
</div><!--header-->
<div class="contents">
<a href="_i_graphics_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="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="preprocessor">#ifndef NO_IGRAPHICS</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="preprocessor">#if defined(IGRAPHICS_NANOVG) + defined(IGRAPHICS_CANVAS) + defined(IGRAPHICS_SKIA) != 1</span></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="preprocessor">#error Either NO_IGRAPHICS or one and only one choice of graphics library must be defined!</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="preprocessor">#endif</span></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="preprocessor">#ifdef AAX_API</span></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="preprocessor">#include "IPlugAAX_view_interface.h"</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span><span class="preprocessor">#endif</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"> 43</span><span class="preprocessor">#include "<a class="code" href="_i_plug_constants_8h.html">IPlugConstants.h</a>"</span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span><span class="preprocessor">#include "<a class="code" href="_i_plug_logger_8h.html">IPlugLogger.h</a>"</span></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span><span class="preprocessor">#include "<a class="code" href="_i_plug_paths_8h.html">IPlugPaths.h</a>"</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span><span class="preprocessor">#include "IGraphicsConstants.h"</span></div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span><span class="preprocessor">#include "IGraphicsStructs.h"</span></div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span><span class="preprocessor">#include "<a class="code" href="_i_graphics_popup_menu_8h.html">IGraphicsPopupMenu.h</a>"</span></div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span><span class="preprocessor">#include "<a class="code" href="_i_graphics_editor_delegate_8h.html">IGraphicsEditorDelegate.h</a>"</span></div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span><span class="preprocessor">#include "nanosvg.h"</span></div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> </div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span><span class="preprocessor">#include <stack></span></div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span><span class="preprocessor">#include <memory></span></div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span><span class="preprocessor">#include <vector></span></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span><span class="preprocessor">#include <unordered_map></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="preprocessor">#ifdef FillRect</span></div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span><span class="preprocessor">#undef FillRect</span></div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> </div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span><span class="preprocessor">#ifdef DrawText</span></div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span><span class="preprocessor">#undef DrawText</span></div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span><span class="preprocessor">#ifdef LoadBitmap</span></div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span><span class="preprocessor">#undef LoadBitmap</span></div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span><span class="preprocessor">#endif</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>BEGIN_IPLUG_NAMESPACE</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span><span class="keyword">class </span><a class="code hl_class" href="class_i_param.html">IParam</a>;</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span>BEGIN_IGRAPHICS_NAMESPACE</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span><span class="keyword">class </span><a class="code hl_class" href="class_i_control.html">IControl</a>;</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span><span class="keyword">class </span><a class="code hl_class" href="class_i_popup_menu_control.html">IPopupMenuControl</a>;</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span><span class="keyword">class </span><a class="code hl_class" href="class_i_text_entry_control.html">ITextEntryControl</a>;</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span><span class="keyword">class </span><a class="code hl_class" href="class_i_corner_resizer_control.html">ICornerResizerControl</a>;</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span><span class="keyword">class </span><a class="code hl_class" href="class_i_f_p_s_display_control.html">IFPSDisplayControl</a>;</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span><span class="keyword">class </span><a class="code hl_class" href="class_i_bubble_control.html">IBubbleControl</a>;</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> </div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="class_i_graphics.html"> 82</a></span><span class="keyword">class </span><a class="code hl_class" href="class_i_graphics.html">IGraphics</a></div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span>#ifdef AAX_API</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span>: <span class="keyword">public</span> IPlugAAXView_Interface</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span>{</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span><span class="preprocessor">#pragma mark - Drawing API implementation</span></div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> </div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#af2a102272f5f0951a36c7ca32601cca1">BeginFrame</a>();</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> </div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"><a class="line" href="class_i_graphics.html#aa5f2041fa51eac4d3b654748c3916e14"> 94</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#aa5f2041fa51eac4d3b654748c3916e14">OnViewInitialized</a>(<span class="keywordtype">void</span>* pContext) {};</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> </div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a5f0194539a63198b7b868ffb7f424ecd"> 97</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a5f0194539a63198b7b868ffb7f424ecd">OnViewDestroyed</a>() {};</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> </div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a464ebf8919fb061181211ecbedf0b2da"> 100</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a464ebf8919fb061181211ecbedf0b2da">EndFrame</a>() {};</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> </div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#ae9913112a37ee34f6b973b7d6ddf5d17">DrawSVG</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_s_v_g.html">ISVG</a>& svg, <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 = 0, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>* pStrokeColor = <span class="keyword">nullptr</span>, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>* pFillColor = <span class="keyword">nullptr</span>);</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> </div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a0a19fce9b0942bd2c771310a21c21e3c">DrawRotatedSVG</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_s_v_g.html">ISVG</a>& svg, <span class="keywordtype">float</span> destCentreX, <span class="keywordtype">float</span> destCentreY, <span class="keywordtype">float</span> width, <span class="keywordtype">float</span> height, <span class="keywordtype">double</span> angle, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0);</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> </div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"><a class="line" href="class_i_graphics.html#afea2763c96575af7140d644e4d748299"> 126</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#afea2763c96575af7140d644e4d748299">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 = 0) = 0;</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> </div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a1024927d82ab5b8009177bb70fa6ee3b">DrawFittedBitmap</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="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0);</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> </div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a4254e8aef8564d3a27846bef5f13b1a8">DrawRotatedBitmap</a>(<span class="keyword">const</span> <a class="code hl_class" href="class_i_bitmap.html">IBitmap</a>& bitmap, <span class="keywordtype">float</span> destCentreX, <span class="keywordtype">float</span> destCentreY, <span class="keywordtype">double</span> angle, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0);</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> </div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a12160743db0e8acff868992756cf5899">DrawPoint</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0);</div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> </div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a76b6a1ddc1106ad96b79e434b3e74d16">DrawLine</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <span class="keywordtype">float</span> x1, <span class="keywordtype">float</span> y1, <span class="keywordtype">float</span> x2, <span class="keywordtype">float</span> y2, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0, <span class="keywordtype">float</span> thickness = 1.f);</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> </div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#ac5d09d2e80b62948a2f154fd739492b2">DrawDottedLine</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <span class="keywordtype">float</span> x1, <span class="keywordtype">float</span> y1, <span class="keywordtype">float</span> x2, <span class="keywordtype">float</span> y2, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0, <span class="keywordtype">float</span> thickness = 1.f, <span class="keywordtype">float</span> dashLen = 2.f);</div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> </div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#aea7b6b45eb9c0fe4e7511d43d99f59eb">DrawTriangle</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <span class="keywordtype">float</span> x1, <span class="keywordtype">float</span> y1, <span class="keywordtype">float</span> x2, <span class="keywordtype">float</span> y2, <span class="keywordtype">float</span> x3, <span class="keywordtype">float</span> y3, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0, <span class="keywordtype">float</span> thickness = 1.f);</div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> </div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a0a7bba668c103968e96fad159173eff3">DrawRect</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <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 = 0, <span class="keywordtype">float</span> thickness = 1.f);</div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> </div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a3d90d6b1f1e253c80c0d75cf0b5c8f85">DrawRoundRect</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <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> cornerRadius = 5.f, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0, <span class="keywordtype">float</span> thickness = 1.f);</div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span> </div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a3d90d6b1f1e253c80c0d75cf0b5c8f85">DrawRoundRect</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <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> cRTL, <span class="keywordtype">float</span> cRTR, <span class="keywordtype">float</span> cRBR, <span class="keywordtype">float</span> cRBL, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0, <span class="keywordtype">float</span> thickness = 1.f);</div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span> </div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a77008b546ef418e70fe6b7cfbe63b066">DrawArc</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <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, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0, <span class="keywordtype">float</span> thickness = 1.f);</div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span> </div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a808738ff58445652e3e0768cbfe448fd">DrawCircle</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <span class="keywordtype">float</span> cx, <span class="keywordtype">float</span> cy, <span class="keywordtype">float</span> r, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0, <span class="keywordtype">float</span> thickness = 1.f);</div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> </div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a0d7fdc383a98780b31dd11babbf2dc9e">DrawEllipse</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <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 = 0, <span class="keywordtype">float</span> thickness = 1.f);</div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span> </div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"> 243</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a0d7fdc383a98780b31dd11babbf2dc9e">DrawEllipse</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> r1, <span class="keywordtype">float</span> r2, <span class="keywordtype">float</span> angle = 0.0, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0, <span class="keywordtype">float</span> thickness = 1.f);</div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span> </div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"> 252</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a0cea90284e81160f5ae49dade3494cd6">DrawConvexPolygon</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <span class="keywordtype">float</span>* x, <span class="keywordtype">float</span>* y, <span class="keywordtype">int</span> nPoints, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0, <span class="keywordtype">float</span> thickness = 1.f);</div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span> </div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"> 259</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a331e896fe3f5a00a111df11c75d8ca3b">DrawDottedRect</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <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 = 0, <span class="keywordtype">float</span> thickness = 1.f, <span class="keywordtype">float</span> dashLen = 2.f);</div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span> </div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a9d2ed1c8a03d92d1d2421cf8d152123f">FillTriangle</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <span class="keywordtype">float</span> x1, <span class="keywordtype">float</span> y1, <span class="keywordtype">float</span> x2, <span class="keywordtype">float</span> y2, <span class="keywordtype">float</span> x3, <span class="keywordtype">float</span> y3, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0);</div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span> </div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"> 276</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a7056c9288ed66e21b8c9f424054677b2">FillRect</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <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 = 0);</div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"> 277</span> </div>
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a8ba048f7d02261da76eb3e515a492bc5">FillRoundRect</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <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> cornerRadius = 5.f, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0);</div>
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"> 284</span> </div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"> 293</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a8ba048f7d02261da76eb3e515a492bc5">FillRoundRect</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <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> cRTL, <span class="keywordtype">float</span> cRTR, <span class="keywordtype">float</span> cRBR, <span class="keywordtype">float</span> cRBL, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0);</div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"> 294</span> </div>
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno"> 301</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#af364cc413a7ec3277f39955334c1e3f9">FillCircle</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <span class="keywordtype">float</span> cx, <span class="keywordtype">float</span> cy, <span class="keywordtype">float</span> r, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0);</div>
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"> 302</span> </div>
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"> 307</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a0c98e2ea1174af8e9a58dc05962602d7">FillEllipse</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <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 = 0);</div>
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"> 308</span> </div>
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno"> 317</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a0c98e2ea1174af8e9a58dc05962602d7">FillEllipse</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> r1, <span class="keywordtype">float</span> r2, <span class="keywordtype">float</span> angle = 0.0, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0);</div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"> 318</span> </div>
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno"> 327</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#ac28cb6b1b6a69da7afc3e47a7bc76044">FillArc</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <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, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0);</div>
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno"> 328</span> </div>
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"> 335</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#aa43d154825e39828da40a887ee14e9d1">FillConvexPolygon</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <span class="keywordtype">float</span>* x, <span class="keywordtype">float</span>* y, <span class="keywordtype">int</span> nPoints, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0);</div>
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"> 336</span> </div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"> 342</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a1af84cb75ed09bae3deac0ec32076ddd">DrawText</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 = 0);</div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"> 343</span> </div>
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno"> 350</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a1af84cb75ed09bae3deac0ec32076ddd">DrawText</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="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0);</div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"> 351</span> </div>
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno"> 356</span> <span class="keyword">virtual</span> <span class="keywordtype">float</span> <a class="code hl_function" href="class_i_graphics.html#affe4aae057ddc015587648bbfa3be593">MeasureText</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</span>;</div>
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"> 357</span> </div>
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno"><a class="line" href="class_i_graphics.html#ad88dd543ef65a6c8381d38efeeaba642"> 363</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#ad88dd543ef65a6c8381d38efeeaba642">DrawMultiLineText</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 = 0) { <a class="code hl_function" href="class_i_graphics.html#a1af84cb75ed09bae3deac0ec32076ddd">DrawText</a>(text, <span class="stringliteral">"Unsupported"</span>, bounds, pBlend); }</div>
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno"> 364</span> </div>
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a1e1b75ade14fcae02d24262caa63757d"> 369</a></span> <span class="keyword">virtual</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a> <a class="code hl_function" href="class_i_graphics.html#a1e1b75ade14fcae02d24262caa63757d">GetPoint</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y) = 0;</div>
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno"> 370</span> </div>
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a223c6189a1906071bcb3018837792946"> 373</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span>* <a class="code hl_function" href="class_i_graphics.html#a223c6189a1906071bcb3018837792946">GetDrawContext</a>() = 0;</div>
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno"> 374</span> </div>
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a44c574012a59b541e6f18e8ecf1f7671"> 376</a></span> <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="class_i_graphics.html#a44c574012a59b541e6f18e8ecf1f7671">GetDrawingAPIStr</a>() = 0;</div>
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno"> 377</span> </div>
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno"> 383</span> <span class="keyword">virtual</span> <a class="code hl_class" href="class_i_bitmap.html">IBitmap</a> <a class="code hl_function" href="class_i_graphics.html#aa11586a0c0ade81e306ec6373ec8bc66">ScaleBitmap</a>(<span class="keyword">const</span> <a class="code hl_class" href="class_i_bitmap.html">IBitmap</a>& inBitmap, <span class="keyword">const</span> <span class="keywordtype">char</span>* cacheName, <span class="keywordtype">int</span> targetScale);</div>
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno"> 384</span> </div>
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno"> 388</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a27bd9abf9591fad9ddfc9a040a58564c">RetainBitmap</a>(<span class="keyword">const</span> <a class="code hl_class" href="class_i_bitmap.html">IBitmap</a>& bitmap, <span class="keyword">const</span> <span class="keywordtype">char</span>* cacheName);</div>
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno"> 389</span> </div>
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno"> 392</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a3c4325453e5dc772e44fd390beafce33">ReleaseBitmap</a>(<span class="keyword">const</span> <a class="code hl_class" href="class_i_bitmap.html">IBitmap</a>& bitmap);</div>
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno"> 393</span> </div>
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno"> 398</span> <a class="code hl_class" href="class_i_bitmap.html">IBitmap</a> <a class="code hl_function" href="class_i_graphics.html#aa33c6c1c7afaeb1f1fdded8293a0234a">GetScaledBitmap</a>(<a class="code hl_class" href="class_i_bitmap.html">IBitmap</a>& inBitmap);</div>
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno"> 399</span> </div>
<div class="line"><a id="l00401" name="l00401"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a7eb2eac86a838af6e6f85cd2242043d4"> 401</a></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#a7eb2eac86a838af6e6f85cd2242043d4">BitmapExtSupported</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* ext) = 0;</div>
<div class="line"><a id="l00402" name="l00402"></a><span class="lineno"> 402</span> </div>
<div class="line"><a id="l00404" name="l00404"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a716cb6f5934b0337b81eb3e0e39e796a"> 404</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a716cb6f5934b0337b81eb3e0e39e796a">DrawFastDropShadow</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>& innerBounds, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>& outerBounds, <span class="keywordtype">float</span> xyDrop = 5.f, <span class="keywordtype">float</span> roundness = 0.f, <span class="keywordtype">float</span> blur = 10.f, <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = <span class="keyword">nullptr</span>) { <span class="comment">/* NO-OP*/</span> }</div>
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno"> 405</span> </div>
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno"> 406</span><span class="preprocessor">#pragma mark - Base implementation - drawing helpers</span></div>
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno"> 407</span> </div>
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno"> 413</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#afea2763c96575af7140d644e4d748299">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> frame = 1, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0);</div>
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno"> 414</span> </div>
<div class="line"><a id="l00426" name="l00426"></a><span class="lineno"> 426</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a1136c5d3d11ca6fbe3c4b5cbc7e7932b">DrawBitmapedText</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, <a class="code hl_struct" href="struct_i_text.html">IText</a>& text, <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend, <span class="keyword">const</span> <span class="keywordtype">char</span>* str, <span class="keywordtype">bool</span> vCenter = <span class="keyword">true</span>, <span class="keywordtype">bool</span> multiline = <span class="keyword">false</span>, <span class="keywordtype">int</span> charWidth = 6, <span class="keywordtype">int</span> charHeight = 12, <span class="keywordtype">int</span> charOffset = 0);</div>
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno"> 427</span> </div>
<div class="line"><a id="l00435" name="l00435"></a><span class="lineno"> 435</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#acd8f01c7e00dc172f60e87cb9019924f">DrawLineAcross</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>& bounds, EDirection dir, <span class="keywordtype">float</span> pos, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0, <span class="keywordtype">float</span> thickness = 1.f);</div>
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno"> 436</span> </div>
<div class="line"><a id="l00443" name="l00443"></a><span class="lineno"> 443</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#aadd9450cf3ce8752697cebf4c14f581f">DrawVerticalLine</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <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> x, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0, <span class="keywordtype">float</span> thickness = 1.f);</div>
<div class="line"><a id="l00444" name="l00444"></a><span class="lineno"> 444</span> </div>
<div class="line"><a id="l00451" name="l00451"></a><span class="lineno"> 451</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#abe46178a9671ef43d2bd4f44355e992b">DrawHorizontalLine</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <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> y, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0, <span class="keywordtype">float</span> thickness = 1.f);</div>
<div class="line"><a id="l00452" name="l00452"></a><span class="lineno"> 452</span> </div>
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno"> 460</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#aadd9450cf3ce8752697cebf4c14f581f">DrawVerticalLine</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <span class="keywordtype">float</span> xi, <span class="keywordtype">float</span> yLo, <span class="keywordtype">float</span> yHi, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0, <span class="keywordtype">float</span> thickness = 1.f);</div>
<div class="line"><a id="l00461" name="l00461"></a><span class="lineno"> 461</span> </div>
<div class="line"><a id="l00469" name="l00469"></a><span class="lineno"> 469</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#abe46178a9671ef43d2bd4f44355e992b">DrawHorizontalLine</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <span class="keywordtype">float</span> yi, <span class="keywordtype">float</span> xLo, <span class="keywordtype">float</span> xHi, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0, <span class="keywordtype">float</span> thickness = 1.f);</div>
<div class="line"><a id="l00470" name="l00470"></a><span class="lineno"> 470</span> </div>
<div class="line"><a id="l00480" name="l00480"></a><span class="lineno"> 480</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a267dac3bdfb7283e97f4c1b15d622c50">DrawRadialLine</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <span class="keywordtype">float</span> cx, <span class="keywordtype">float</span> cy, <span class="keywordtype">float</span> angle, <span class="keywordtype">float</span> rMin, <span class="keywordtype">float</span> rMax, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0, <span class="keywordtype">float</span> thickness = 1.f);</div>
<div class="line"><a id="l00481" name="l00481"></a><span class="lineno"> 481</span> </div>
<div class="line"><a id="l00489" name="l00489"></a><span class="lineno"> 489</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a9e79861f0b8e360ca0b6e6a52c675e28">DrawGrid</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <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> gridSizeH, <span class="keywordtype">float</span> gridSizeV, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0, <span class="keywordtype">float</span> thickness = 1.f);</div>
<div class="line"><a id="l00490" name="l00490"></a><span class="lineno"> 490</span> </div>
<div class="line"><a id="l00500" name="l00500"></a><span class="lineno"> 500</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a99a1c3aba24b7f8bcb456f6404147bdd">DrawData</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <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>* normYPoints, <span class="keywordtype">int</span> nPoints, <span class="keywordtype">float</span>* normXPoints = <span class="keyword">nullptr</span>, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0, <span class="keywordtype">float</span> thickness = 1.f, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>* pFillColor = <span class="keyword">nullptr</span>);</div>
<div class="line"><a id="l00501" name="l00501"></a><span class="lineno"> 501</span> </div>
<div class="line"><a id="l00506" name="l00506"></a><span class="lineno"> 506</span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#a7d513f8dacee013d97242077c8225888">LoadFont</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* fontID, <span class="keyword">const</span> <span class="keywordtype">char</span>* fileNameOrResID);</div>
<div class="line"><a id="l00507" name="l00507"></a><span class="lineno"> 507</span> </div>
<div class="line"><a id="l00513" name="l00513"></a><span class="lineno"> 513</span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#a7d513f8dacee013d97242077c8225888">LoadFont</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* fontID, <span class="keywordtype">void</span>* pData, <span class="keywordtype">int</span> dataSize);</div>
<div class="line"><a id="l00514" name="l00514"></a><span class="lineno"> 514</span> </div>
<div class="line"><a id="l00520" name="l00520"></a><span class="lineno"> 520</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#a7d513f8dacee013d97242077c8225888">LoadFont</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* fontID, <span class="keyword">const</span> <span class="keywordtype">char</span>* fontName, ETextStyle style);</div>
<div class="line"><a id="l00521" name="l00521"></a><span class="lineno"> 521</span> </div>
<div class="line"><a id="l00522" name="l00522"></a><span class="lineno"> 522</span><span class="preprocessor">#pragma mark - Layer management</span></div>
<div class="line"><a id="l00523" name="l00523"></a><span class="lineno"> 523</span> </div>
<div class="line"><a id="l00528" name="l00528"></a><span class="lineno"> 528</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#ae427b7cf3acaa2cb3eb6c062f9248a66">StartLayer</a>(<a class="code hl_class" href="class_i_control.html">IControl</a>* pOwner, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>& r, <span class="keywordtype">bool</span> cacheable = <span class="keyword">false</span>);</div>
<div class="line"><a id="l00529" name="l00529"></a><span class="lineno"> 529</span> </div>
<div class="line"><a id="l00532" name="l00532"></a><span class="lineno"> 532</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a2bb1244b49e9dd2973237e37be939b70">ResumeLayer</a>(<a class="code hl_typedef" href="group___i_graphics_structs.html#ga9b7871899f7948866b57786e8dbf678b">ILayerPtr</a>& layer);</div>
<div class="line"><a id="l00533" name="l00533"></a><span class="lineno"> 533</span> </div>
<div class="line"><a id="l00536" name="l00536"></a><span class="lineno"> 536</span> <a class="code hl_typedef" href="group___i_graphics_structs.html#ga9b7871899f7948866b57786e8dbf678b">ILayerPtr</a> <a class="code hl_function" href="class_i_graphics.html#afa3df570340043f22b8a8d625f36a6e5">EndLayer</a>();</div>
<div class="line"><a id="l00537" name="l00537"></a><span class="lineno"> 537</span> </div>
<div class="line"><a id="l00541" name="l00541"></a><span class="lineno"> 541</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#a5b73162f95dfaec0187ebdbcb52bbaf5">CheckLayer</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___i_graphics_structs.html#ga9b7871899f7948866b57786e8dbf678b">ILayerPtr</a>& layer);</div>
<div class="line"><a id="l00542" name="l00542"></a><span class="lineno"> 542</span> </div>
<div class="line"><a id="l00546" name="l00546"></a><span class="lineno"> 546</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a65347de69ce4d12e6b9f5d0ba974fcc1">DrawLayer</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___i_graphics_structs.html#ga9b7871899f7948866b57786e8dbf678b">ILayerPtr</a>& layer, <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="l00547" name="l00547"></a><span class="lineno"> 547</span> </div>
<div class="line"><a id="l00552" name="l00552"></a><span class="lineno"> 552</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#ad6b927ee65f90e86a6ffa9d612f47bb3">DrawFittedLayer</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___i_graphics_structs.html#ga9b7871899f7948866b57786e8dbf678b">ILayerPtr</a>& layer, <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);</div>
<div class="line"><a id="l00553" name="l00553"></a><span class="lineno"> 553</span> </div>
<div class="line"><a id="l00557" name="l00557"></a><span class="lineno"> 557</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a2ec5c9122ace2b58b5ab00aa628be698">DrawRotatedLayer</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___i_graphics_structs.html#ga9b7871899f7948866b57786e8dbf678b">ILayerPtr</a>& layer, <span class="keywordtype">double</span> angle);</div>
<div class="line"><a id="l00558" name="l00558"></a><span class="lineno"> 558</span> </div>
<div class="line"><a id="l00562" name="l00562"></a><span class="lineno"> 562</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a9d98cb5d1729e74bfa83208ab8af2e6f">ApplyLayerDropShadow</a>(<a class="code hl_typedef" href="group___i_graphics_structs.html#ga9b7871899f7948866b57786e8dbf678b">ILayerPtr</a>& layer, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_shadow.html">IShadow</a>& shadow);</div>
<div class="line"><a id="l00563" name="l00563"></a><span class="lineno"> 563</span> </div>
<div class="line"><a id="l00568" name="l00568"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a8c93b8a237c99caf10a0281cc97e0327"> 568</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a8c93b8a237c99caf10a0281cc97e0327">GetLayerBitmapData</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group___i_graphics_structs.html#ga9b7871899f7948866b57786e8dbf678b">ILayerPtr</a>& layer, RawBitmapData& data) = 0;</div>
<div class="line"><a id="l00569" name="l00569"></a><span class="lineno"> 569</span> </div>
<div class="line"><a id="l00570" name="l00570"></a><span class="lineno"> 570</span><span class="keyword">protected</span>:</div>
<div class="line"><a id="l00575" name="l00575"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a62bbfa473b05138994e220cf24afdf3f"> 575</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a62bbfa473b05138994e220cf24afdf3f">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) = 0;</div>
<div class="line"><a id="l00576" name="l00576"></a><span class="lineno"> 576</span> </div>
<div class="line"><a id="l00578" name="l00578"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a95d25b3727d935b6b6905133ace19c04"> 578</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a95d25b3727d935b6b6905133ace19c04">UpdateLayer</a>() {}</div>
<div class="line"><a id="l00579" name="l00579"></a><span class="lineno"> 579</span> </div>
<div class="line"><a id="l00582" name="l00582"></a><span class="lineno"> 582</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a657a1a31242f950063213715c06d8a92">PushLayer</a>(<a class="code hl_class" href="class_i_layer.html">ILayer</a>* pLayer);</div>
<div class="line"><a id="l00583" name="l00583"></a><span class="lineno"> 583</span> </div>
<div class="line"><a id="l00586" name="l00586"></a><span class="lineno"> 586</span> <a class="code hl_class" href="class_i_layer.html">ILayer</a>* <a class="code hl_function" href="class_i_graphics.html#a0cc51e1ceea5f4f5cdeae981a559f5ff">PopLayer</a>();</div>
<div class="line"><a id="l00587" name="l00587"></a><span class="lineno"> 587</span> </div>
<div class="line"><a id="l00588" name="l00588"></a><span class="lineno"> 588</span><span class="preprocessor">#pragma mark - Drawing API path support</span></div>
<div class="line"><a id="l00589" name="l00589"></a><span class="lineno"> 589</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00591" name="l00591"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a1e8d0d9c4f7f680827abe7db265af82d"> 591</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a1e8d0d9c4f7f680827abe7db265af82d">PathClear</a>() = 0;</div>
<div class="line"><a id="l00592" name="l00592"></a><span class="lineno"> 592</span> </div>
<div class="line"><a id="l00594" name="l00594"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a24d5d28f2e0ccb1ecd64e59088c74f72"> 594</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a24d5d28f2e0ccb1ecd64e59088c74f72">PathClose</a>() = 0;</div>
<div class="line"><a id="l00595" name="l00595"></a><span class="lineno"> 595</span> </div>
<div class="line"><a id="l00601" name="l00601"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a3248a7adf5ee82f273505ff7743beecf"> 601</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a3248a7adf5ee82f273505ff7743beecf">PathLine</a>(<span class="keywordtype">float</span> x1, <span class="keywordtype">float</span> y1, <span class="keywordtype">float</span> x2, <span class="keywordtype">float</span> y2)</div>
<div class="line"><a id="l00602" name="l00602"></a><span class="lineno"> 602</span> {</div>
<div class="line"><a id="l00603" name="l00603"></a><span class="lineno"> 603</span> <a class="code hl_function" href="class_i_graphics.html#aafa78e8658ed993d876cbb4d91397043">PathMoveTo</a>(x1, y1);</div>
<div class="line"><a id="l00604" name="l00604"></a><span class="lineno"> 604</span> <a class="code hl_function" href="class_i_graphics.html#acd575e0411509a2fe05495ef05198a8d">PathLineTo</a>(x2, y2);</div>
<div class="line"><a id="l00605" name="l00605"></a><span class="lineno"> 605</span> }</div>
<div class="line"><a id="l00606" name="l00606"></a><span class="lineno"> 606</span> </div>
<div class="line"><a id="l00613" name="l00613"></a><span class="lineno"> 613</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a88aba584cfb4638885e53a628b3c9aba">PathRadialLine</a>(<span class="keywordtype">float</span> cx, <span class="keywordtype">float</span> cy, <span class="keywordtype">float</span> angle, <span class="keywordtype">float</span> rMin, <span class="keywordtype">float</span> rMax);</div>
<div class="line"><a id="l00614" name="l00614"></a><span class="lineno"> 614</span> </div>
<div class="line"><a id="l00622" name="l00622"></a><span class="lineno"> 622</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a484ea32a419fc1c89c2a591c053c10f5">PathTriangle</a>(<span class="keywordtype">float</span> x1, <span class="keywordtype">float</span> y1, <span class="keywordtype">float</span> x2, <span class="keywordtype">float</span> y2, <span class="keywordtype">float</span> x3, <span class="keywordtype">float</span> y3);</div>
<div class="line"><a id="l00623" name="l00623"></a><span class="lineno"> 623</span> </div>
<div class="line"><a id="l00626" name="l00626"></a><span class="lineno"> 626</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a279f8feaaaa341647ff5028932e85044">PathRect</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>& bounds);</div>
<div class="line"><a id="l00627" name="l00627"></a><span class="lineno"> 627</span> </div>
<div class="line"><a id="l00634" name="l00634"></a><span class="lineno"> 634</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a22ab1f92b10e1944b8e26770dcc815a4">PathRoundRect</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> ctl, <span class="keywordtype">float</span> ctr, <span class="keywordtype">float</span> cbl, <span class="keywordtype">float</span> cbr);</div>
<div class="line"><a id="l00635" name="l00635"></a><span class="lineno"> 635</span> </div>
<div class="line"><a id="l00639" name="l00639"></a><span class="lineno"> 639</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a22ab1f92b10e1944b8e26770dcc815a4">PathRoundRect</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> cornerRadius = 5.f);</div>
<div class="line"><a id="l00640" name="l00640"></a><span class="lineno"> 640</span> </div>
<div class="line"><a id="l00647" name="l00647"></a><span class="lineno"><a class="line" href="class_i_graphics.html#aafdafe42c5a776a8aeadd4c1aeb87bd9"> 647</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#aafdafe42c5a776a8aeadd4c1aeb87bd9">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 = EWinding::CW) = 0;</div>
<div class="line"><a id="l00648" name="l00648"></a><span class="lineno"> 648</span> </div>
<div class="line"><a id="l00653" name="l00653"></a><span class="lineno"> 653</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a8837784d96796a387528f431f0febe8c">PathCircle</a>(<span class="keywordtype">float</span> cx, <span class="keywordtype">float</span> cy, <span class="keywordtype">float</span> r);</div>
<div class="line"><a id="l00654" name="l00654"></a><span class="lineno"> 654</span> </div>
<div class="line"><a id="l00657" name="l00657"></a><span class="lineno"> 657</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#af0c393d3b3c9023d6d1739b952532feb">PathEllipse</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>& bounds);</div>
<div class="line"><a id="l00658" name="l00658"></a><span class="lineno"> 658</span> </div>
<div class="line"><a id="l00665" name="l00665"></a><span class="lineno"> 665</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#af0c393d3b3c9023d6d1739b952532feb">PathEllipse</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> r1, <span class="keywordtype">float</span> r2, <span class="keywordtype">float</span> angle = 0.0);</div>
<div class="line"><a id="l00666" name="l00666"></a><span class="lineno"> 666</span> </div>
<div class="line"><a id="l00671" name="l00671"></a><span class="lineno"> 671</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a177f86a9b78124e30aa65302187e8761">PathConvexPolygon</a>(<span class="keywordtype">float</span>* x, <span class="keywordtype">float</span>* y, <span class="keywordtype">int</span> nPoints);</div>
<div class="line"><a id="l00672" name="l00672"></a><span class="lineno"> 672</span> </div>
<div class="line"><a id="l00676" name="l00676"></a><span class="lineno"><a class="line" href="class_i_graphics.html#aafa78e8658ed993d876cbb4d91397043"> 676</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#aafa78e8658ed993d876cbb4d91397043">PathMoveTo</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y) = 0;</div>
<div class="line"><a id="l00677" name="l00677"></a><span class="lineno"> 677</span> </div>
<div class="line"><a id="l00681" name="l00681"></a><span class="lineno"><a class="line" href="class_i_graphics.html#acd575e0411509a2fe05495ef05198a8d"> 681</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#acd575e0411509a2fe05495ef05198a8d">PathLineTo</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y) = 0;</div>
<div class="line"><a id="l00682" name="l00682"></a><span class="lineno"> 682</span> </div>
<div class="line"><a id="l00685" name="l00685"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a359a9ab892a12259767102c10b8bc415"> 685</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a359a9ab892a12259767102c10b8bc415">PathSetWinding</a>(<span class="keywordtype">bool</span> clockwise) {};</div>
<div class="line"><a id="l00686" name="l00686"></a><span class="lineno"> 686</span> </div>
<div class="line"><a id="l00694" name="l00694"></a><span class="lineno"><a class="line" href="class_i_graphics.html#aed5ddf9b2290dd9a6c5cfad5153adb4d"> 694</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#aed5ddf9b2290dd9a6c5cfad5153adb4d">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) = 0;</div>
<div class="line"><a id="l00695" name="l00695"></a><span class="lineno"> 695</span> </div>
<div class="line"><a id="l00701" name="l00701"></a><span class="lineno"><a class="line" href="class_i_graphics.html#abd5b91fd7f7dd8784b4bf01fbf91da55"> 701</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#abd5b91fd7f7dd8784b4bf01fbf91da55">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) = 0;</div>
<div class="line"><a id="l00702" name="l00702"></a><span class="lineno"> 702</span> </div>
<div class="line"><a id="l00708" name="l00708"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a5b28bcb1e3e7e72307ceee71ab7fbb5a"> 708</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a5b28bcb1e3e7e72307ceee71ab7fbb5a">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 = <a class="code hl_struct" href="group___i_graphics_structs.html#struct_i_stroke_options">IStrokeOptions</a>(), <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0) = 0;</div>
<div class="line"><a id="l00709" name="l00709"></a><span class="lineno"> 709</span> </div>
<div class="line"><a id="l00714" name="l00714"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a185b056c70c54319c85c72246cd79458"> 714</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a185b056c70c54319c85c72246cd79458">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 = <a class="code hl_struct" href="struct_i_fill_options.html">IFillOptions</a>(), <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = 0) = 0;</div>
<div class="line"><a id="l00715" name="l00715"></a><span class="lineno"> 715</span> </div>
<div class="line"><a id="l00717" name="l00717"></a><span class="lineno"> 717</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#ac28803e8d8aa7ab50c414caea51e4f32">PathTransformSave</a>();</div>
<div class="line"><a id="l00718" name="l00718"></a><span class="lineno"> 718</span> </div>
<div class="line"><a id="l00720" name="l00720"></a><span class="lineno"> 720</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a64183939403574b2b16da84955bdcd79">PathTransformRestore</a>();</div>
<div class="line"><a id="l00721" name="l00721"></a><span class="lineno"> 721</span> </div>
<div class="line"><a id="l00724" name="l00724"></a><span class="lineno"> 724</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a5209c5e45a8ffcf938fc00d597696318">PathTransformReset</a>(<span class="keywordtype">bool</span> clearStates = <span class="keyword">false</span>);</div>
<div class="line"><a id="l00725" name="l00725"></a><span class="lineno"> 725</span> </div>
<div class="line"><a id="l00729" name="l00729"></a><span class="lineno"> 729</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a25ec2794da0240fd9612e18d97ec918a">PathTransformTranslate</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div>
<div class="line"><a id="l00730" name="l00730"></a><span class="lineno"> 730</span> </div>
<div class="line"><a id="l00734" name="l00734"></a><span class="lineno"> 734</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a30d5322ca7fdb9b80f9057ce7daaaad8">PathTransformScale</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div>
<div class="line"><a id="l00735" name="l00735"></a><span class="lineno"> 735</span> </div>
<div class="line"><a id="l00738" name="l00738"></a><span class="lineno"> 738</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a30d5322ca7fdb9b80f9057ce7daaaad8">PathTransformScale</a>(<span class="keywordtype">float</span> scale);</div>
<div class="line"><a id="l00739" name="l00739"></a><span class="lineno"> 739</span> </div>
<div class="line"><a id="l00742" name="l00742"></a><span class="lineno"> 742</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a88b9d9e3fa46f72cfbe19968bc3d874c">PathTransformRotate</a>(<span class="keywordtype">float</span> angle);</div>
<div class="line"><a id="l00743" name="l00743"></a><span class="lineno"> 743</span> </div>
<div class="line"><a id="l00747" name="l00747"></a><span class="lineno"> 747</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#ad4cd9c003564b96918f445622a44b920">PathTransformSkew</a>(<span class="keywordtype">float</span> xAngle, <span class="keywordtype">float</span> yAngle);</div>
<div class="line"><a id="l00748" name="l00748"></a><span class="lineno"> 748</span> </div>
<div class="line"><a id="l00751" name="l00751"></a><span class="lineno"> 751</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a2d0d9e896908650157bc0f25998f6b8b">PathTransformMatrix</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_matrix.html">IMatrix</a>& matrix);</div>
<div class="line"><a id="l00752" name="l00752"></a><span class="lineno"> 752</span> </div>
<div class="line"><a id="l00755" name="l00755"></a><span class="lineno"> 755</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a8818c439c614cfa58b87c436ae7d77bc">PathClipRegion</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a> r = <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>());</div>
<div class="line"><a id="l00756" name="l00756"></a><span class="lineno"> 756</span> </div>
<div class="line"><a id="l00757" name="l00757"></a><span class="lineno"> 757</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> PathTransformSetMatrix(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_matrix.html">IMatrix</a>& matrix) = 0;</div>
<div class="line"><a id="l00758" name="l00758"></a><span class="lineno"> 758</span> </div>
<div class="line"><a id="l00759" name="l00759"></a><span class="lineno"> 759</span> <span class="keywordtype">void</span> DoTextRotation(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_text.html">IText</a>& text, <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_r_e_c_t.html">IRECT</a>& rect)</div>
<div class="line"><a id="l00760" name="l00760"></a><span class="lineno"> 760</span> {</div>
<div class="line"><a id="l00761" name="l00761"></a><span class="lineno"> 761</span> <span class="keywordflow">if</span> (!text.mAngle)</div>
<div class="line"><a id="l00762" name="l00762"></a><span class="lineno"> 762</span> <span class="keywordflow">return</span>;</div>
<div class="line"><a id="l00763" name="l00763"></a><span class="lineno"> 763</span> </div>
<div class="line"><a id="l00764" name="l00764"></a><span class="lineno"> 764</span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a> rotated = rect;</div>
<div class="line"><a id="l00765" name="l00765"></a><span class="lineno"> 765</span> <span class="keywordtype">double</span> tx, ty;</div>
<div class="line"><a id="l00766" name="l00766"></a><span class="lineno"> 766</span> </div>
<div class="line"><a id="l00767" name="l00767"></a><span class="lineno"> 767</span> <a class="code hl_function" href="class_i_graphics.html#a55a7fc3df60465be431ea704623a1f1a">CalculateTextRotation</a>(text, bounds, rotated, tx, ty);</div>
<div class="line"><a id="l00768" name="l00768"></a><span class="lineno"> 768</span> <a class="code hl_function" href="class_i_graphics.html#a25ec2794da0240fd9612e18d97ec918a">PathTransformTranslate</a>(<span class="keyword">static_cast<</span><span class="keywordtype">float</span><span class="keyword">></span>(tx), <span class="keyword">static_cast<</span><span class="keywordtype">float</span><span class="keyword">></span>(ty));</div>
<div class="line"><a id="l00769" name="l00769"></a><span class="lineno"> 769</span> <a class="code hl_function" href="class_i_graphics.html#a88b9d9e3fa46f72cfbe19968bc3d874c">PathTransformRotate</a>(text.mAngle);</div>
<div class="line"><a id="l00770" name="l00770"></a><span class="lineno"> 770</span> }</div>
<div class="line"><a id="l00771" name="l00771"></a><span class="lineno"> 771</span> </div>
<div class="line"><a id="l00772" name="l00772"></a><span class="lineno"> 772</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00773" name="l00773"></a><span class="lineno"> 773</span> <a class="code hl_struct" href="struct_i_pattern.html">IPattern</a> GetSVGPattern(<span class="keyword">const</span> NSVGpaint& paint, <span class="keywordtype">float</span> opacity);</div>
<div class="line"><a id="l00774" name="l00774"></a><span class="lineno"> 774</span> </div>
<div class="line"><a id="l00775" name="l00775"></a><span class="lineno"> 775</span> <span class="keywordtype">void</span> DoDrawSVG(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_s_v_g.html">ISVG</a>& svg, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_blend.html">IBlend</a>* pBlend = <span class="keyword">nullptr</span>, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>* pStrokeColor = <span class="keyword">nullptr</span>, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>* pFillColor = <span class="keyword">nullptr</span>);</div>
<div class="line"><a id="l00776" name="l00776"></a><span class="lineno"> 776</span> </div>
<div class="line"><a id="l00779" name="l00779"></a><span class="lineno"> 779</span> <span class="keywordtype">void</span> PrepareRegion(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>& bounds)</div>
<div class="line"><a id="l00780" name="l00780"></a><span class="lineno"> 780</span> {</div>
<div class="line"><a id="l00781" name="l00781"></a><span class="lineno"> 781</span> <a class="code hl_function" href="class_i_graphics.html#a5209c5e45a8ffcf938fc00d597696318">PathTransformReset</a>(<span class="keyword">true</span>);</div>
<div class="line"><a id="l00782" name="l00782"></a><span class="lineno"> 782</span> <a class="code hl_function" href="class_i_graphics.html#a1e8d0d9c4f7f680827abe7db265af82d">PathClear</a>();</div>
<div class="line"><a id="l00783" name="l00783"></a><span class="lineno"> 783</span> SetClipRegion(bounds);</div>
<div class="line"><a id="l00784" name="l00784"></a><span class="lineno"> 784</span> mClipRECT = bounds;</div>
<div class="line"><a id="l00785" name="l00785"></a><span class="lineno"> 785</span> }</div>
<div class="line"><a id="l00786" name="l00786"></a><span class="lineno"> 786</span> </div>
<div class="line"><a id="l00789" name="l00789"></a><span class="lineno"> 789</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> CompleteRegion(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>& bounds) {}</div>
<div class="line"><a id="l00790" name="l00790"></a><span class="lineno"> 790</span> </div>
<div class="line"><a id="l00791" name="l00791"></a><span class="lineno"> 791</span> <span class="keyword">virtual</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) = 0;</div>
<div class="line"><a id="l00792" name="l00792"></a><span class="lineno"> 792</span> </div>
<div class="line"><a id="l00793" name="l00793"></a><span class="lineno"> 793</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00794" name="l00794"></a><span class="lineno"> 794</span><span class="preprocessor">#pragma mark - Platform implementation</span></div>
<div class="line"><a id="l00795" name="l00795"></a><span class="lineno"> 795</span> </div>
<div class="line"><a id="l00799" name="l00799"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a2a9f1910bcfa973e87e60f886470f3b3"> 799</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a2a9f1910bcfa973e87e60f886470f3b3">AttachPlatformView</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>& r, <span class="keywordtype">void</span>* pView) {};</div>
<div class="line"><a id="l00800" name="l00800"></a><span class="lineno"> 800</span> </div>
<div class="line"><a id="l00803" name="l00803"></a><span class="lineno"><a class="line" href="class_i_graphics.html#aa92122d60784c089a340843babe1e52c"> 803</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#aa92122d60784c089a340843babe1e52c">RemovePlatformView</a>(<span class="keywordtype">void</span>* pView) {};</div>
<div class="line"><a id="l00804" name="l00804"></a><span class="lineno"> 804</span> </div>
<div class="line"><a id="l00808" name="l00808"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a38967afc3d38cfde223b9c57a4bb8a05"> 808</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a38967afc3d38cfde223b9c57a4bb8a05">HidePlatformView</a>(<span class="keywordtype">void</span>* pView, <span class="keywordtype">bool</span> hide) {};</div>
<div class="line"><a id="l00809" name="l00809"></a><span class="lineno"> 809</span> </div>
<div class="line"><a id="l00813" name="l00813"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a91bece3b892790ff7a0b20c3adcbfa09"> 813</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a91bece3b892790ff7a0b20c3adcbfa09">GetMouseLocation</a>(<span class="keywordtype">float</span>& x, <span class="keywordtype">float</span>&y) <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00814" name="l00814"></a><span class="lineno"> 814</span> </div>
<div class="line"><a id="l00818" name="l00818"></a><span class="lineno"><a class="line" href="class_i_graphics.html#abc474503de42d4dfd9827b7c532fb6cb"> 818</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#abc474503de42d4dfd9827b7c532fb6cb">HideMouseCursor</a>(<span class="keywordtype">bool</span> hide = <span class="keyword">true</span>, <span class="keywordtype">bool</span> lock = <span class="keyword">true</span>) = 0;</div>
<div class="line"><a id="l00819" name="l00819"></a><span class="lineno"> 819</span> </div>
<div class="line"><a id="l00823" name="l00823"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a2202799550a398f712f9319df844c847"> 823</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a2202799550a398f712f9319df844c847">MoveMouseCursor</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y) = 0;</div>
<div class="line"><a id="l00824" name="l00824"></a><span class="lineno"> 824</span> </div>
<div class="line"><a id="l00828" name="l00828"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a324015b47c2337fc734f49c808b9c379"> 828</a></span> <span class="keyword">virtual</span> ECursor <a class="code hl_function" href="class_i_graphics.html#a324015b47c2337fc734f49c808b9c379">SetMouseCursor</a>(ECursor cursorType = ECursor::ARROW)</div>
<div class="line"><a id="l00829" name="l00829"></a><span class="lineno"> 829</span> {</div>
<div class="line"><a id="l00830" name="l00830"></a><span class="lineno"> 830</span> ECursor oldCursorType = mCursorType;</div>
<div class="line"><a id="l00831" name="l00831"></a><span class="lineno"> 831</span> mCursorType = cursorType;</div>
<div class="line"><a id="l00832" name="l00832"></a><span class="lineno"> 832</span> <span class="keywordflow">return</span> oldCursorType;</div>
<div class="line"><a id="l00833" name="l00833"></a><span class="lineno"> 833</span> }</div>
<div class="line"><a id="l00834" name="l00834"></a><span class="lineno"> 834</span> </div>
<div class="line"><a id="l00836" name="l00836"></a><span class="lineno"><a class="line" href="class_i_graphics.html#ade42e8d5a3441092bdb868b11c7806c9"> 836</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#ade42e8d5a3441092bdb868b11c7806c9">ForceEndUserEdit</a>() = 0;</div>
<div class="line"><a id="l00837" name="l00837"></a><span class="lineno"> 837</span> </div>
<div class="line"><a id="l00841" name="l00841"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a52e9057fbbb06a8b551b719de4fcc461"> 841</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span>* <a class="code hl_function" href="class_i_graphics.html#a52e9057fbbb06a8b551b719de4fcc461">OpenWindow</a>(<span class="keywordtype">void</span>* pParentWnd) = 0;</div>
<div class="line"><a id="l00842" name="l00842"></a><span class="lineno"> 842</span> </div>
<div class="line"><a id="l00844" name="l00844"></a><span class="lineno"><a class="line" href="class_i_graphics.html#aec2328e51f77ef35eb8e58e6961ee249"> 844</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#aec2328e51f77ef35eb8e58e6961ee249">CloseWindow</a>() = 0;</div>
<div class="line"><a id="l00845" name="l00845"></a><span class="lineno"> 845</span> </div>
<div class="line"><a id="l00848" name="l00848"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a290c693845898cd3b89f33175ac590c8"> 848</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span>* <a class="code hl_function" href="class_i_graphics.html#a290c693845898cd3b89f33175ac590c8">GetWindow</a>() = 0;</div>
<div class="line"><a id="l00849" name="l00849"></a><span class="lineno"> 849</span> </div>
<div class="line"><a id="l00851" name="l00851"></a><span class="lineno"><a class="line" href="class_i_graphics.html#ac69c4e6d882df4591a2e53fe9f9bec31"> 851</a></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#ac69c4e6d882df4591a2e53fe9f9bec31">WindowIsOpen</a>() { <span class="keywordflow">return</span> <a class="code hl_function" href="class_i_graphics.html#a290c693845898cd3b89f33175ac590c8">GetWindow</a>(); }</div>
<div class="line"><a id="l00852" name="l00852"></a><span class="lineno"> 852</span> </div>
<div class="line"><a id="l00856" name="l00856"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a46a4895ac9ba54f2848671b7a6c614c8"> 856</a></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#a46a4895ac9ba54f2848671b7a6c614c8">GetTextFromClipboard</a>(WDL_String& str) = 0;</div>
<div class="line"><a id="l00857" name="l00857"></a><span class="lineno"> 857</span> </div>
<div class="line"><a id="l00861" name="l00861"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a37af03428d6bd7637999688358d37f63"> 861</a></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#a37af03428d6bd7637999688358d37f63">SetTextInClipboard</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* str) = 0;</div>
<div class="line"><a id="l00862" name="l00862"></a><span class="lineno"> 862</span> </div>
<div class="line"><a id="l00866" name="l00866"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a071829183885ec7116672576576230ee"> 866</a></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#a071829183885ec7116672576576230ee">SetFilePathInClipboard</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* path) { <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div>
<div class="line"><a id="l00867" name="l00867"></a><span class="lineno"> 867</span> </div>
<div class="line"><a id="l00872" name="l00872"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a1ef20bf321cddcef9c30ec8f7ae001ba"> 872</a></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#a1ef20bf321cddcef9c30ec8f7ae001ba">InitiateExternalFileDragDrop</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* path, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>& iconBounds) { <span class="keywordflow">return</span> <span class="keyword">false</span>; };</div>
<div class="line"><a id="l00873" name="l00873"></a><span class="lineno"> 873</span> </div>
<div class="line"><a id="l00875" name="l00875"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a7960f9bd277f40380d86194e0716eddf"> 875</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a7960f9bd277f40380d86194e0716eddf">UpdateTooltips</a>() = 0;</div>
<div class="line"><a id="l00876" name="l00876"></a><span class="lineno"> 876</span> </div>
<div class="line"><a id="l00883" name="l00883"></a><span class="lineno"><a class="line" href="class_i_graphics.html#abbe2b417e275ced32e4f7cadc6d435bf"> 883</a></span> <span class="keyword">virtual</span> EMsgBoxResult <a class="code hl_function" href="class_i_graphics.html#abbe2b417e275ced32e4f7cadc6d435bf">ShowMessageBox</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* str, <span class="keyword">const</span> <span class="keywordtype">char</span>* title, EMsgBoxType type, IMsgBoxCompletionHandlerFunc completionHandler = <span class="keyword">nullptr</span>) = 0;</div>
<div class="line"><a id="l00884" name="l00884"></a><span class="lineno"> 884</span> </div>
<div class="line"><a id="l00891" name="l00891"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a8d1ea967c5bff143a3554d7589e88f58"> 891</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a8d1ea967c5bff143a3554d7589e88f58">PromptForFile</a>(WDL_String& fileName, WDL_String& path, EFileAction action = EFileAction::Open, <span class="keyword">const</span> <span class="keywordtype">char</span>* ext = <span class="stringliteral">""</span>, IFileDialogCompletionHandlerFunc completionHandler = <span class="keyword">nullptr</span>) = 0;</div>
<div class="line"><a id="l00892" name="l00892"></a><span class="lineno"> 892</span> </div>
<div class="line"><a id="l00896" name="l00896"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a542c8469a9d12e0d34f7921ad4c43343"> 896</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a542c8469a9d12e0d34f7921ad4c43343">PromptForDirectory</a>(WDL_String& dir, IFileDialogCompletionHandlerFunc completionHandler = <span class="keyword">nullptr</span>) = 0;</div>
<div class="line"><a id="l00897" name="l00897"></a><span class="lineno"> 897</span> </div>
<div class="line"><a id="l00903" name="l00903"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a71b874d1960c1bb5c97fdb9ad796acf8"> 903</a></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#a71b874d1960c1bb5c97fdb9ad796acf8">PromptForColor</a>(<a class="code hl_struct" href="struct_i_color.html">IColor</a>& color, <span class="keyword">const</span> <span class="keywordtype">char</span>* str = <span class="stringliteral">""</span>, IColorPickerHandlerFunc func = <span class="keyword">nullptr</span>) = 0;</div>
<div class="line"><a id="l00904" name="l00904"></a><span class="lineno"> 904</span> </div>
<div class="line"><a id="l00911" name="l00911"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a0d23572c0f154262ff7dc7387bf7c3d1"> 911</a></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#a0d23572c0f154262ff7dc7387bf7c3d1">OpenURL</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* url, <span class="keyword">const</span> <span class="keywordtype">char</span>* msgWindowTitle = 0, <span class="keyword">const</span> <span class="keywordtype">char</span>* confirmMsg = 0, <span class="keyword">const</span> <span class="keywordtype">char</span>* errMsgOnFailure = 0) = 0;</div>
<div class="line"><a id="l00912" name="l00912"></a><span class="lineno"> 912</span> </div>
<div class="line"><a id="l00914" name="l00914"></a><span class="lineno"><a class="line" href="class_i_graphics.html#ab4a69b94b206c2f294cdbcf8a2118a77"> 914</a></span> <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="class_i_graphics.html#ab4a69b94b206c2f294cdbcf8a2118a77">GetPlatformAPIStr</a>() { <span class="keywordflow">return</span> <span class="stringliteral">""</span>; }</div>
<div class="line"><a id="l00915" name="l00915"></a><span class="lineno"> 915</span> </div>
<div class="line"><a id="l00919" name="l00919"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a764f90e7a6e7e8bed57d9f9697171b3b"> 919</a></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#a764f90e7a6e7e8bed57d9f9697171b3b">RevealPathInExplorerOrFinder</a>(WDL_String& path, <span class="keywordtype">bool</span> select = <span class="keyword">false</span>) { <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div>
<div class="line"><a id="l00920" name="l00920"></a><span class="lineno"> 920</span> </div>
<div class="line"><a id="l00923" name="l00923"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a4637fe55ee2d5518605ede37f02e0656"> 923</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a4637fe55ee2d5518605ede37f02e0656">SetWinModuleHandle</a>(<span class="keywordtype">void</span>* pHinstance) {}</div>
<div class="line"><a id="l00924" name="l00924"></a><span class="lineno"> 924</span> </div>
<div class="line"><a id="l00926" name="l00926"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a9456d20d4ee4bbf5cfb67aa24f145cf7"> 926</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span>* <a class="code hl_function" href="class_i_graphics.html#a9456d20d4ee4bbf5cfb67aa24f145cf7">GetWinModuleHandle</a>() { <span class="keywordflow">return</span> <span class="keyword">nullptr</span>; }</div>
<div class="line"><a id="l00927" name="l00927"></a><span class="lineno"> 927</span> </div>
<div class="line"><a id="l00931" name="l00931"></a><span class="lineno"><a class="line" href="class_i_graphics.html#af27753489f1e15693b7fff3fdfe1aec4"> 931</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#af27753489f1e15693b7fff3fdfe1aec4">SetPlatformContext</a>(<span class="keywordtype">void</span>* pContext) { mPlatformContext = pContext; }</div>
<div class="line"><a id="l00932" name="l00932"></a><span class="lineno"> 932</span> </div>
<div class="line"><a id="l00935" name="l00935"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a747a150e12c6ca9afd7e514cc6862042"> 935</a></span> <span class="keywordtype">void</span>* <a class="code hl_function" href="class_i_graphics.html#a747a150e12c6ca9afd7e514cc6862042">GetPlatformContext</a>() { <span class="keywordflow">return</span> mPlatformContext; }</div>
<div class="line"><a id="l00936" name="l00936"></a><span class="lineno"> 936</span> </div>
<div class="line"><a id="l00940" name="l00940"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a086bf6e4a259ae066d31065d2b649325"> 940</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a086bf6e4a259ae066d31065d2b649325">ClientToScreen</a>(<span class="keywordtype">float</span>& x, <span class="keywordtype">float</span>& y) {};</div>
<div class="line"><a id="l00941" name="l00941"></a><span class="lineno"> 941</span> </div>
<div class="line"><a id="l00946" name="l00946"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a7b72f89275082c7ad84148d0da44e2c3"> 946</a></span> <span class="keyword">virtual</span> PlatformFontPtr <a class="code hl_function" href="class_i_graphics.html#a7b72f89275082c7ad84148d0da44e2c3">LoadPlatformFont</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* fontID, <span class="keyword">const</span> <span class="keywordtype">char</span>* fileNameOrResID) = 0;</div>
<div class="line"><a id="l00947" name="l00947"></a><span class="lineno"> 947</span> </div>
<div class="line"><a id="l00953" name="l00953"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a22762bd220dd682c6923f24a8d0eeab5"> 953</a></span> <span class="keyword">virtual</span> PlatformFontPtr <a class="code hl_function" href="class_i_graphics.html#a22762bd220dd682c6923f24a8d0eeab5">LoadPlatformFont</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* fontID, <span class="keywordtype">void</span>* pData, <span class="keywordtype">int</span> dataSize) = 0;</div>
<div class="line"><a id="l00954" name="l00954"></a><span class="lineno"> 954</span> </div>
<div class="line"><a id="l00960" name="l00960"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a0e26bc7dc03e5c53bbdbfef6456b29f3"> 960</a></span> <span class="keyword">virtual</span> PlatformFontPtr <a class="code hl_function" href="class_i_graphics.html#a0e26bc7dc03e5c53bbdbfef6456b29f3">LoadPlatformFont</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* fontID, <span class="keyword">const</span> <span class="keywordtype">char</span>* fontName, ETextStyle style) = 0;</div>
<div class="line"><a id="l00961" name="l00961"></a><span class="lineno"> 961</span> </div>
<div class="line"><a id="l00965" name="l00965"></a><span class="lineno"><a class="line" href="class_i_graphics.html#ae682058e6cf9b415cd97b82b6f90c3b3"> 965</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#ae682058e6cf9b415cd97b82b6f90c3b3">CachePlatformFont</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* fontID, <span class="keyword">const</span> PlatformFontPtr& font) = 0;</div>
<div class="line"><a id="l00966" name="l00966"></a><span class="lineno"> 966</span> </div>
<div class="line"><a id="l00968" name="l00968"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a171f1716503a3fe1abcee32ab7413b67"> 968</a></span> <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="class_i_graphics.html#a171f1716503a3fe1abcee32ab7413b67">GetBundleID</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="stringliteral">""</span>; }</div>
<div class="line"><a id="l00969" name="l00969"></a><span class="lineno"> 969</span> </div>
<div class="line"><a id="l00971" name="l00971"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a2f3e7c1eadb7b68bcd5e5e51b10305e4"> 971</a></span> <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="class_i_graphics.html#a2f3e7c1eadb7b68bcd5e5e51b10305e4">GetAppGroupID</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="stringliteral">""</span>; }</div>
<div class="line"><a id="l00972" name="l00972"></a><span class="lineno"> 972</span> </div>
<div class="line"><a id="l00973" name="l00973"></a><span class="lineno"> 973</span><span class="keyword">protected</span>:</div>
<div class="line"><a id="l00974" name="l00974"></a><span class="lineno"> 974</span> <span class="comment">/* Activate the context for the view (GL only) */</span></div>
<div class="line"><a id="l00975" name="l00975"></a><span class="lineno"> 975</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> ActivateGLContext() {};</div>
<div class="line"><a id="l00976" name="l00976"></a><span class="lineno"> 976</span> </div>
<div class="line"><a id="l00977" name="l00977"></a><span class="lineno"> 977</span> <span class="comment">/* Deactivate the context for the view (GL only) */</span></div>
<div class="line"><a id="l00978" name="l00978"></a><span class="lineno"> 978</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> DeactivateGLContext() {};</div>
<div class="line"><a id="l00979" name="l00979"></a><span class="lineno"> 979</span> </div>
<div class="line"><a id="l00986" name="l00986"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a2b3f8305b9c11ac81d6cb29d43ca67e5"> 986</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a2b3f8305b9c11ac81d6cb29d43ca67e5">CreatePlatformTextEntry</a>(<span class="keywordtype">int</span> paramIdx, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_text.html">IText</a>& text, <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> length, <span class="keyword">const</span> <span class="keywordtype">char</span>* str) = 0;</div>
<div class="line"><a id="l00987" name="l00987"></a><span class="lineno"> 987</span> </div>
<div class="line"><a id="l00993" name="l00993"></a><span class="lineno"><a class="line" href="class_i_graphics.html#aa7dc8a78a1ea1b8a766b596face37e0b"> 993</a></span> <span class="keyword">virtual</span> <a class="code hl_class" href="class_i_popup_menu.html">IPopupMenu</a>* <a class="code hl_function" href="class_i_graphics.html#aa7dc8a78a1ea1b8a766b596face37e0b">CreatePlatformPopupMenu</a>(<a class="code hl_class" href="class_i_popup_menu.html">IPopupMenu</a>& menu, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a> bounds, <span class="keywordtype">bool</span>& isAsync) = 0;</div>
<div class="line"><a id="l00994" name="l00994"></a><span class="lineno"> 994</span> </div>
<div class="line"><a id="l00995" name="l00995"></a><span class="lineno"> 995</span><span class="preprocessor">#pragma mark - Base implementation</span></div>
<div class="line"><a id="l00996" name="l00996"></a><span class="lineno"> 996</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00997" name="l00997"></a><span class="lineno"> 997</span> <a class="code hl_class" href="class_i_graphics.html">IGraphics</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 = DEFAULT_FPS, <span class="keywordtype">float</span> scale = 1.);</div>
<div class="line"><a id="l00998" name="l00998"></a><span class="lineno"> 998</span> </div>
<div class="line"><a id="l00999" name="l00999"></a><span class="lineno"> 999</span> <span class="keyword">virtual</span> <a class="code hl_class" href="class_i_graphics.html">~IGraphics</a>();</div>
<div class="line"><a id="l01000" name="l01000"></a><span class="lineno"> 1000</span> </div>
<div class="line"><a id="l01001" name="l01001"></a><span class="lineno"> 1001</span> <a class="code hl_class" href="class_i_graphics.html">IGraphics</a>(<span class="keyword">const</span> <a class="code hl_class" href="class_i_graphics.html">IGraphics</a>&) = <span class="keyword">delete</span>;</div>
<div class="line"><a id="l01002" name="l01002"></a><span class="lineno"> 1002</span> <a class="code hl_class" href="class_i_graphics.html">IGraphics</a>& operator=(<span class="keyword">const</span> <a class="code hl_class" href="class_i_graphics.html">IGraphics</a>&) = <span class="keyword">delete</span>;</div>
<div class="line"><a id="l01003" name="l01003"></a><span class="lineno"> 1003</span> </div>
<div class="line"><a id="l01006" name="l01006"></a><span class="lineno"> 1006</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#af6f5354b3f360cb4c073330e83bbc417">SetScreenScale</a>(<span class="keywordtype">float</span> scale);</div>
<div class="line"><a id="l01007" name="l01007"></a><span class="lineno"> 1007</span> </div>
<div class="line"><a id="l01009" name="l01009"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a55cf65e3df8909d86d19e90905f64004"> 1009</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a55cf65e3df8909d86d19e90905f64004">SetTranslation</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y) { mXTranslation = x; mYTranslation = y; }</div>
<div class="line"><a id="l01010" name="l01010"></a><span class="lineno"> 1010</span> </div>
<div class="line"><a id="l01014" name="l01014"></a><span class="lineno"> 1014</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#a8ae509b2ee38016dd590f4e5dd06ac12">IsDirty</a>(<a class="code hl_class" href="class_i_r_e_c_t_list.html">IRECTList</a>& rects);</div>
<div class="line"><a id="l01015" name="l01015"></a><span class="lineno"> 1015</span> </div>
<div class="line"><a id="l01018" name="l01018"></a><span class="lineno"> 1018</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a5ba09c0140d7575b615be4bba75f0c88">Draw</a>(<a class="code hl_class" href="class_i_r_e_c_t_list.html">IRECTList</a>& rects);</div>
<div class="line"><a id="l01019" name="l01019"></a><span class="lineno"> 1019</span> </div>
<div class="line"><a id="l01024" name="l01024"></a><span class="lineno"> 1024</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#ab3eef662f469a6148d4419c491a8e621">PromptUserInput</a>(<a class="code hl_class" href="class_i_control.html">IControl</a>& control, <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> valIdx = 0);</div>
<div class="line"><a id="l01025" name="l01025"></a><span class="lineno"> 1025</span> </div>
<div class="line"><a id="l01031" name="l01031"></a><span class="lineno"> 1031</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a1e810f7c16d23717ad4e9e546f4f522b">CreatePopupMenu</a>(<a class="code hl_class" href="class_i_control.html">IControl</a>& control, <a class="code hl_class" href="class_i_popup_menu.html">IPopupMenu</a>& menu, <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> valIdx = 0);</div>
<div class="line"><a id="l01032" name="l01032"></a><span class="lineno"> 1032</span> </div>
<div class="line"><a id="l01038" name="l01038"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a051667c6331487eb3d7fb8391cfe59ce"> 1038</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a051667c6331487eb3d7fb8391cfe59ce">CreatePopupMenu</a>(<a class="code hl_class" href="class_i_control.html">IControl</a>& control, <a class="code hl_class" href="class_i_popup_menu.html">IPopupMenu</a>& menu, <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">int</span> valIdx = 0)</div>
<div class="line"><a id="l01039" name="l01039"></a><span class="lineno"> 1039</span> {</div>
<div class="line"><a id="l01040" name="l01040"></a><span class="lineno"> 1040</span> <span class="keywordflow">return</span> <a class="code hl_function" href="class_i_graphics.html#a1e810f7c16d23717ad4e9e546f4f522b">CreatePopupMenu</a>(control, menu, <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>(x, y, x, y), valIdx);</div>
<div class="line"><a id="l01041" name="l01041"></a><span class="lineno"> 1041</span> }</div>
<div class="line"><a id="l01042" name="l01042"></a><span class="lineno"> 1042</span> </div>
<div class="line"><a id="l01049" name="l01049"></a><span class="lineno"> 1049</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a1e848b57678588b4d0a1f9153a7f670b">CreateTextEntry</a>(<a class="code hl_class" href="class_i_control.html">IControl</a>& control, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_text.html">IText</a>& text, <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> <span class="keywordtype">char</span>* str = <span class="stringliteral">""</span>, <span class="keywordtype">int</span> valIdx = 0);</div>
<div class="line"><a id="l01050" name="l01050"></a><span class="lineno"> 1050</span> </div>
<div class="line"><a id="l01053" name="l01053"></a><span class="lineno"> 1053</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a913a1d1309a1f5f8dd8f53874b934533">SetControlValueAfterTextEdit</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* str);</div>
<div class="line"><a id="l01054" name="l01054"></a><span class="lineno"> 1054</span> </div>
<div class="line"><a id="l01057" name="l01057"></a><span class="lineno"> 1057</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a6428d50325773e674ef13e9312936f1c">SetControlValueAfterPopupMenu</a>(<a class="code hl_class" href="class_i_popup_menu.html">IPopupMenu</a>* pMenu);</div>
<div class="line"><a id="l01058" name="l01058"></a><span class="lineno"> 1058</span> </div>
<div class="line"><a id="l01062" name="l01062"></a><span class="lineno"> 1062</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a159028725f47a51160cf69da2a51e603">DeleteFromPopupMenu</a>(<a class="code hl_class" href="class_i_popup_menu.html">IPopupMenu</a>* pMenu, <span class="keywordtype">int</span> itemIdx);</div>
<div class="line"><a id="l01063" name="l01063"></a><span class="lineno"> 1063</span> </div>
<div class="line"><a id="l01067" name="l01067"></a><span class="lineno"> 1067</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#abd37a46dc9c22498faa67874f3f59019">SetScaleConstraints</a>(<span class="keywordtype">float</span> lo, <span class="keywordtype">float</span> hi);</div>
<div class="line"><a id="l01068" name="l01068"></a><span class="lineno"> 1068</span> </div>
<div class="line"><a id="l01075" name="l01075"></a><span class="lineno"> 1075</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a095c4538eeda7ff3647214563bb559ec">Resize</a>(<span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h, <span class="keywordtype">float</span> scale, <span class="keywordtype">bool</span> needsPlatformResize = <span class="keyword">true</span>);</div>
<div class="line"><a id="l01076" name="l01076"></a><span class="lineno"> 1076</span> </div>
<div class="line"><a id="l01079" name="l01079"></a><span class="lineno"> 1079</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#adbe74f3e589d8c2d0b9f9c79ac25bbb0">SetStrictDrawing</a>(<span class="keywordtype">bool</span> strict);</div>
<div class="line"><a id="l01080" name="l01080"></a><span class="lineno"> 1080</span> </div>
<div class="line"><a id="l01081" name="l01081"></a><span class="lineno"> 1081</span> <span class="comment">/* Enables layout on resize. This means IGEditorDelegate:LayoutUI() will be called when the GUI is resized */</span></div>
<div class="line"><a id="l01082" name="l01082"></a><span class="lineno"> 1082</span> <span class="keywordtype">void</span> SetLayoutOnResize(<span class="keywordtype">bool</span> layoutOnResize);</div>
<div class="line"><a id="l01083" name="l01083"></a><span class="lineno"> 1083</span> </div>
<div class="line"><a id="l01086" name="l01086"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a4628c02e00b2e883f3d92d26136443ce"> 1086</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="class_i_graphics.html#a4628c02e00b2e883f3d92d26136443ce">Width</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mWidth; }</div>
<div class="line"><a id="l01087" name="l01087"></a><span class="lineno"> 1087</span> </div>
<div class="line"><a id="l01090" name="l01090"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a876e2160f3ba0f2e732e07301e4b9e24"> 1090</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="class_i_graphics.html#a876e2160f3ba0f2e732e07301e4b9e24">Height</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mHeight; }</div>
<div class="line"><a id="l01091" name="l01091"></a><span class="lineno"> 1091</span> </div>
<div class="line"><a id="l01094" name="l01094"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a5b8ca42c8c7afff4da0b110704268cc6"> 1094</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="class_i_graphics.html#a5b8ca42c8c7afff4da0b110704268cc6">WindowWidth</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">static_cast<</span><span class="keywordtype">int</span><span class="keyword">></span>(<span class="keyword">static_cast<</span><span class="keywordtype">float</span><span class="keyword">></span>(mWidth) * mDrawScale); }</div>
<div class="line"><a id="l01095" name="l01095"></a><span class="lineno"> 1095</span> </div>
<div class="line"><a id="l01098" name="l01098"></a><span class="lineno"><a class="line" href="class_i_graphics.html#af08f849251665da7aebbbd0271a2ff55"> 1098</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="class_i_graphics.html#af08f849251665da7aebbbd0271a2ff55">WindowHeight</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">static_cast<</span><span class="keywordtype">int</span><span class="keyword">></span>(<span class="keyword">static_cast<</span><span class="keywordtype">float</span><span class="keyword">></span>(mHeight) * mDrawScale); }</div>
<div class="line"><a id="l01099" name="l01099"></a><span class="lineno"> 1099</span> </div>
<div class="line"><a id="l01102" name="l01102"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a307c6059095414b0d1555b8a480263f0"> 1102</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="class_i_graphics.html#a307c6059095414b0d1555b8a480263f0">FPS</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mFPS; }</div>
<div class="line"><a id="l01103" name="l01103"></a><span class="lineno"> 1103</span> </div>
<div class="line"><a id="l01106" name="l01106"></a><span class="lineno"><a class="line" href="class_i_graphics.html#ad5f403e5b79d4068985b7b8afcaa8da1"> 1106</a></span> <span class="keywordtype">float</span> <a class="code hl_function" href="class_i_graphics.html#ad5f403e5b79d4068985b7b8afcaa8da1">GetDrawScale</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mDrawScale; }</div>
<div class="line"><a id="l01107" name="l01107"></a><span class="lineno"> 1107</span> </div>
<div class="line"><a id="l01110" name="l01110"></a><span class="lineno"><a class="line" href="class_i_graphics.html#ab676d94318f98607f37b64f17531d28f"> 1110</a></span> <span class="keywordtype">float</span> <a class="code hl_function" href="class_i_graphics.html#ab676d94318f98607f37b64f17531d28f">GetScreenScale</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mScreenScale; }</div>
<div class="line"><a id="l01111" name="l01111"></a><span class="lineno"> 1111</span> </div>
<div class="line"><a id="l01114" name="l01114"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a70606271a8eb9da4c6e444833527b966"> 1114</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="class_i_graphics.html#a70606271a8eb9da4c6e444833527b966">GetRoundedScreenScale</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">static_cast<</span><span class="keywordtype">int</span><span class="keyword">></span>(std::ceil(<a class="code hl_function" href="class_i_graphics.html#ab676d94318f98607f37b64f17531d28f">GetScreenScale</a>())); }</div>
<div class="line"><a id="l01115" name="l01115"></a><span class="lineno"> 1115</span> </div>
<div class="line"><a id="l01118" name="l01118"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a1b0cc8771c8484a20f3552de1170408f"> 1118</a></span> <span class="keywordtype">float</span> <a class="code hl_function" href="class_i_graphics.html#a1b0cc8771c8484a20f3552de1170408f">GetTotalScale</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mDrawScale * mScreenScale; }</div>
<div class="line"><a id="l01119" name="l01119"></a><span class="lineno"> 1119</span> </div>
<div class="line"><a id="l01123" name="l01123"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a676651d5585ed21603a39222d8117fdc"> 1123</a></span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a> <a class="code hl_function" href="class_i_graphics.html#a676651d5585ed21603a39222d8117fdc">GetPixelSnapped</a>(<a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a> &r)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> r.<a class="code hl_function" href="struct_i_r_e_c_t.html#a807c6373160ac0d4d892203510f936f9">GetPixelSnapped</a>(<a class="code hl_function" href="class_i_graphics.html#a407a30ad8dc12d5e9d282e6175402c78">GetBackingPixelScale</a>()); }</div>
<div class="line"><a id="l01124" name="l01124"></a><span class="lineno"> 1124</span> </div>
<div class="line"><a id="l01127" name="l01127"></a><span class="lineno"><a class="line" href="class_i_graphics.html#ae1f3731ce38d7647fb4fa68c3b94fa70"> 1127</a></span> <a class="code hl_class" href="class_i_g_editor_delegate.html">IGEditorDelegate</a>* <a class="code hl_function" href="class_i_graphics.html#ae1f3731ce38d7647fb4fa68c3b94fa70">GetDelegate</a>() { <span class="keywordflow">return</span> mDelegate; }</div>
<div class="line"><a id="l01128" name="l01128"></a><span class="lineno"> 1128</span> </div>
<div class="line"><a id="l01130" name="l01130"></a><span class="lineno"><a class="line" href="class_i_graphics.html#ac2a67de3d18c08258aea0a6745fa9853"> 1130</a></span> <a class="code hl_class" href="class_i_popup_menu.html">IPopupMenu</a>& <a class="code hl_function" href="class_i_graphics.html#ac2a67de3d18c08258aea0a6745fa9853">GetPromptMenu</a>() { <span class="keywordflow">return</span> mPromptPopupMenu; }</div>
<div class="line"><a id="l01131" name="l01131"></a><span class="lineno"> 1131</span> </div>
<div class="line"><a id="l01133" name="l01133"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a55c19cd1b149a8672666b6e821f41123"> 1133</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#a55c19cd1b149a8672666b6e821f41123">IsInPlatformTextEntry</a>() { <span class="keywordflow">return</span> mInTextEntry != <span class="keyword">nullptr</span> && !mTextEntryControl; }</div>
<div class="line"><a id="l01134" name="l01134"></a><span class="lineno"> 1134</span> </div>
<div class="line"><a id="l01136" name="l01136"></a><span class="lineno"><a class="line" href="class_i_graphics.html#aa152b6e0a6215b1cc73fe6adbcf2a5f9"> 1136</a></span> <a class="code hl_class" href="class_i_control.html">IControl</a>* <a class="code hl_function" href="class_i_graphics.html#aa152b6e0a6215b1cc73fe6adbcf2a5f9">GetControlInTextEntry</a>() { <span class="keywordflow">return</span> mInTextEntry; }</div>
<div class="line"><a id="l01137" name="l01137"></a><span class="lineno"> 1137</span> </div>
<div class="line"><a id="l01139" name="l01139"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a26114ce1fe7e48cd3067db977aa81c2a"> 1139</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a26114ce1fe7e48cd3067db977aa81c2a">ClearInTextEntryControl</a>() { mInTextEntry = <span class="keyword">nullptr</span>; }</div>
<div class="line"><a id="l01140" name="l01140"></a><span class="lineno"> 1140</span> </div>
<div class="line"><a id="l01142" name="l01142"></a><span class="lineno"><a class="line" href="class_i_graphics.html#ae85ce56ad99aa53118b41a261d8602df"> 1142</a></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#ae85ce56ad99aa53118b41a261d8602df">TooltipsEnabled</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mEnableTooltips; }</div>
<div class="line"><a id="l01143" name="l01143"></a><span class="lineno"> 1143</span> </div>
<div class="line"><a id="l01145" name="l01145"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a6dcbbf8634e68d2d798e2d6fb107b825"> 1145</a></span> EUIResizerMode <a class="code hl_function" href="class_i_graphics.html#a6dcbbf8634e68d2d798e2d6fb107b825">GetResizerMode</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mGUISizeMode; }</div>
<div class="line"><a id="l01146" name="l01146"></a><span class="lineno"> 1146</span> </div>
<div class="line"><a id="l01148" name="l01148"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a895dd97a316c7f34b0f6b296e2463a98"> 1148</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#a895dd97a316c7f34b0f6b296e2463a98">GetResizingInProcess</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mResizingInProcess; }</div>
<div class="line"><a id="l01149" name="l01149"></a><span class="lineno"> 1149</span> </div>
<div class="line"><a id="l01152" name="l01152"></a><span class="lineno"><a class="line" href="class_i_graphics.html#ab9a4fb984f4911b4d3d847c2c7b19821"> 1152</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#ab9a4fb984f4911b4d3d847c2c7b19821">EnableMultiTouch</a>(<span class="keywordtype">bool</span> enable)</div>
<div class="line"><a id="l01153" name="l01153"></a><span class="lineno"> 1153</span> {</div>
<div class="line"><a id="l01154" name="l01154"></a><span class="lineno"> 1154</span> <span class="keywordflow">if</span> (<a class="code hl_function" href="class_i_graphics.html#a0bcc23658db1c57afc04e0aa99f89e91">PlatformSupportsMultiTouch</a>())</div>
<div class="line"><a id="l01155" name="l01155"></a><span class="lineno"> 1155</span> {</div>
<div class="line"><a id="l01156" name="l01156"></a><span class="lineno"> 1156</span> mEnableMultiTouch = enable;</div>
<div class="line"><a id="l01157" name="l01157"></a><span class="lineno"> 1157</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a id="l01158" name="l01158"></a><span class="lineno"> 1158</span> }</div>
<div class="line"><a id="l01159" name="l01159"></a><span class="lineno"> 1159</span> <span class="keywordflow">else</span></div>
<div class="line"><a id="l01160" name="l01160"></a><span class="lineno"> 1160</span> mEnableMultiTouch = <span class="keyword">false</span>;</div>
<div class="line"><a id="l01161" name="l01161"></a><span class="lineno"> 1161</span> </div>
<div class="line"><a id="l01162" name="l01162"></a><span class="lineno"> 1162</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a id="l01163" name="l01163"></a><span class="lineno"> 1163</span> }</div>
<div class="line"><a id="l01164" name="l01164"></a><span class="lineno"> 1164</span> </div>
<div class="line"><a id="l01166" name="l01166"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a449053912b022f873d5461ce058b5a3a"> 1166</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#a449053912b022f873d5461ce058b5a3a">MultiTouchEnabled</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mEnableMultiTouch; }</div>
<div class="line"><a id="l01167" name="l01167"></a><span class="lineno"> 1167</span> </div>
<div class="line"><a id="l01169" name="l01169"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a0bcc23658db1c57afc04e0aa99f89e91"> 1169</a></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#a0bcc23658db1c57afc04e0aa99f89e91">PlatformSupportsMultiTouch</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div>
<div class="line"><a id="l01170" name="l01170"></a><span class="lineno"> 1170</span> </div>
<div class="line"><a id="l01172" name="l01172"></a><span class="lineno"> 1172</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a015f2ebfe0cbbe9701581fda749c3d10">EnableTooltips</a>(<span class="keywordtype">bool</span> enable);</div>
<div class="line"><a id="l01173" name="l01173"></a><span class="lineno"> 1173</span> </div>
<div class="line"><a id="l01175" name="l01175"></a><span class="lineno"> 1175</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#ab85cd88a85e584e1085aa0e8179a8985">AssignParamNameToolTips</a>();</div>
<div class="line"><a id="l01176" name="l01176"></a><span class="lineno"> 1176</span> </div>
<div class="line"><a id="l01178" name="l01178"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a3cb8ee0d4d83b3c8ed4b4003b695f396"> 1178</a></span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a3cb8ee0d4d83b3c8ed4b4003b695f396">ShowControlBounds</a>(<span class="keywordtype">bool</span> enable) { mShowControlBounds = enable; <a class="code hl_function" href="class_i_graphics.html#a9fdf9efc44f6d0734e38f11a211c892a">SetAllControlsDirty</a>(); }</div>
<div class="line"><a id="l01179" name="l01179"></a><span class="lineno"> 1179</span> </div>
<div class="line"><a id="l01181" name="l01181"></a><span class="lineno"><a class="line" href="class_i_graphics.html#ae3e7fc4b4de7a8f5cd45eb2be2f9cfc0"> 1181</a></span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#ae3e7fc4b4de7a8f5cd45eb2be2f9cfc0">ShowAreaDrawn</a>(<span class="keywordtype">bool</span> enable) { mShowAreaDrawn = enable; <span class="keywordflow">if</span>(!enable) <a class="code hl_function" href="class_i_graphics.html#a9fdf9efc44f6d0734e38f11a211c892a">SetAllControlsDirty</a>(); }</div>
<div class="line"><a id="l01182" name="l01182"></a><span class="lineno"> 1182</span> </div>
<div class="line"><a id="l01184" name="l01184"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a6aeff52ec24a1ef66d4bcd3b345a787d"> 1184</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#a6aeff52ec24a1ef66d4bcd3b345a787d">ShowAreaDrawnEnabled</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mShowAreaDrawn; }</div>
<div class="line"><a id="l01185" name="l01185"></a><span class="lineno"> 1185</span> </div>
<div class="line"><a id="l01187" name="l01187"></a><span class="lineno"><a class="line" href="class_i_graphics.html#ab6eed23b5a2b674ba2319e1defb83dff"> 1187</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#ab6eed23b5a2b674ba2319e1defb83dff">ShowControlBoundsEnabled</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mShowControlBounds; }</div>
<div class="line"><a id="l01188" name="l01188"></a><span class="lineno"> 1188</span> </div>
<div class="line"><a id="l01191" name="l01191"></a><span class="lineno"> 1191</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a637237470659702554f53061b91c8d86">EnableLiveEdit</a>(<span class="keywordtype">bool</span> enable);</div>
<div class="line"><a id="l01192" name="l01192"></a><span class="lineno"> 1192</span> </div>
<div class="line"><a id="l01194" name="l01194"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a83833b185326e9f927a022aeb030fa4c"> 1194</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#a83833b185326e9f927a022aeb030fa4c">LiveEditEnabled</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mLiveEdit != <span class="keyword">nullptr</span>; }</div>
<div class="line"><a id="l01195" name="l01195"></a><span class="lineno"> 1195</span> </div>
<div class="line"><a id="l01199" name="l01199"></a><span class="lineno"><a class="line" href="class_i_graphics.html#afb59640795b21f5504b59a991935ad2b"> 1199</a></span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a> <a class="code hl_function" href="class_i_graphics.html#afb59640795b21f5504b59a991935ad2b">GetBounds</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>(0.f, 0.f, (<span class="keywordtype">float</span>) <a class="code hl_function" href="class_i_graphics.html#a4628c02e00b2e883f3d92d26136443ce">Width</a>(), (<span class="keywordtype">float</span>) <a class="code hl_function" href="class_i_graphics.html#a876e2160f3ba0f2e732e07301e4b9e24">Height</a>()); }</div>
<div class="line"><a id="l01200" name="l01200"></a><span class="lineno"> 1200</span> </div>
<div class="line"><a id="l01203" name="l01203"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a7e9fb7efca47186dc3e24aff760da63d"> 1203</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a7e9fb7efca47186dc3e24aff760da63d">SetDisplayTickFunc</a>(IDisplayTickFunc func) { mDisplayTickFunc = func; }</div>
<div class="line"><a id="l01204" name="l01204"></a><span class="lineno"> 1204</span> </div>
<div class="line"><a id="l01207" name="l01207"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a3ef9c2088066d9f3ec13f3266b7ad3fa"> 1207</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a3ef9c2088066d9f3ec13f3266b7ad3fa">SetUIAppearanceChangedFunc</a>(IUIAppearanceChangedFunc func) { mAppearanceChangedFunc = func; }</div>
<div class="line"><a id="l01208" name="l01208"></a><span class="lineno"> 1208</span> </div>
<div class="line"><a id="l01211" name="l01211"></a><span class="lineno"><a class="line" href="class_i_graphics.html#ac32bf9d177b98d34dde2ff33833dfb03"> 1211</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#ac32bf9d177b98d34dde2ff33833dfb03">SetKeyHandlerFunc</a>(IKeyHandlerFunc func) { mKeyHandlerFunc = func; }</div>
<div class="line"><a id="l01212" name="l01212"></a><span class="lineno"> 1212</span> </div>
<div class="line"><a id="l01215" name="l01215"></a><span class="lineno"> 1215</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a9aee06f8fb48fa6105c49855a66a10de">SetQwertyMidiKeyHandlerFunc</a>(std::function<<span class="keywordtype">void</span>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_midi_msg.html">IMidiMsg</a>& msg)> func = <span class="keyword">nullptr</span>);</div>
<div class="line"><a id="l01216" name="l01216"></a><span class="lineno"> 1216</span> </div>
<div class="line"><a id="l01218" name="l01218"></a><span class="lineno"> 1218</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#a8cfecf7bd9ce3b256e53cfa1ebe015a3">RespondsToGesture</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div>
<div class="line"><a id="l01219" name="l01219"></a><span class="lineno"> 1219</span> </div>
<div class="line"><a id="l01221" name="l01221"></a><span class="lineno"> 1221</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#ae57f4103bb68ad76a796a57b9bbd9070">OnGestureRecognized</a>(<span class="keyword">const</span> <a class="code hl_struct" href="group___i_graphics_structs.html#struct_i_gesture_info">IGestureInfo</a>& info);</div>
<div class="line"><a id="l01222" name="l01222"></a><span class="lineno"> 1222</span> </div>
<div class="line"><a id="l01225" name="l01225"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a1ab917d4f23bb273d29c7f30160d8814"> 1225</a></span> <span class="keyword">virtual</span> <span class="keywordtype">float</span> <a class="code hl_function" href="class_i_graphics.html#a1ab917d4f23bb273d29c7f30160d8814">GetPlatformWindowScale</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 1.f; }</div>
<div class="line"><a id="l01226" name="l01226"></a><span class="lineno"> 1226</span> </div>
<div class="line"><a id="l01227" name="l01227"></a><span class="lineno"> 1227</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l01228" name="l01228"></a><span class="lineno"> 1228</span> </div>
<div class="line"><a id="l01230" name="l01230"></a><span class="lineno"> 1230</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> PlatformResize(<span class="keywordtype">bool</span> parentHasResized) {}</div>
<div class="line"><a id="l01231" name="l01231"></a><span class="lineno"> 1231</span> </div>
<div class="line"><a id="l01233" name="l01233"></a><span class="lineno"> 1233</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> DrawResize() {}</div>
<div class="line"><a id="l01234" name="l01234"></a><span class="lineno"> 1234</span> </div>
<div class="line"><a id="l01238" name="l01238"></a><span class="lineno"> 1238</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a5ba09c0140d7575b615be4bba75f0c88">Draw</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> scale);</div>
<div class="line"><a id="l01239" name="l01239"></a><span class="lineno"> 1239</span> </div>
<div class="line"><a id="l01244" name="l01244"></a><span class="lineno"> 1244</span> <span class="keywordtype">void</span> DrawControl(<a class="code hl_class" href="class_i_control.html">IControl</a>* pControl, <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> scale);</div>
<div class="line"><a id="l01245" name="l01245"></a><span class="lineno"> 1245</span> </div>
<div class="line"><a id="l01252" name="l01252"></a><span class="lineno"> 1252</span> <span class="keywordtype">void</span> DoCreatePopupMenu(<a class="code hl_class" href="class_i_control.html">IControl</a>& control, <a class="code hl_class" href="class_i_popup_menu.html">IPopupMenu</a>& menu, <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> valIdx, <span class="keywordtype">bool</span> isContext);</div>
<div class="line"><a id="l01253" name="l01253"></a><span class="lineno"> 1253</span> </div>
<div class="line"><a id="l01255" name="l01255"></a><span class="lineno"> 1255</span> <span class="keywordtype">void</span> StartDragResize() { mResizingInProcess = <span class="keyword">true</span>; }</div>
<div class="line"><a id="l01256" name="l01256"></a><span class="lineno"> 1256</span> </div>
<div class="line"><a id="l01258" name="l01258"></a><span class="lineno"> 1258</span> <span class="keywordtype">void</span> EndDragResize();</div>
<div class="line"><a id="l01259" name="l01259"></a><span class="lineno"> 1259</span> </div>
<div class="line"><a id="l01260" name="l01260"></a><span class="lineno"> 1260</span><span class="preprocessor">#pragma mark - Control management</span></div>
<div class="line"><a id="l01261" name="l01261"></a><span class="lineno"> 1261</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l01264" name="l01264"></a><span class="lineno"> 1264</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a7c3d3aaa709ead55d551e8d985554315">ForAllControlsFunc</a>(IControlFunction func);</div>
<div class="line"><a id="l01265" name="l01265"></a><span class="lineno"> 1265</span> </div>
<div class="line"><a id="l01269" name="l01269"></a><span class="lineno"> 1269</span> <span class="keyword">template</span><<span class="keyword">typename</span> T, <span class="keyword">typename</span>... Args></div>
<div class="line"><a id="l01270" name="l01270"></a><span class="lineno"> 1270</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a8e28b0fb92e422d1c4fb886b28a7cbac">ForAllControls</a>(T method, Args... args);</div>
<div class="line"><a id="l01271" name="l01271"></a><span class="lineno"> 1271</span> </div>
<div class="line"><a id="l01274" name="l01274"></a><span class="lineno"> 1274</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#aea6960c2c74414e3e77e3ac2fbb967aa">ForStandardControlsFunc</a>(IControlFunction func);</div>
<div class="line"><a id="l01275" name="l01275"></a><span class="lineno"> 1275</span> </div>
<div class="line"><a id="l01280" name="l01280"></a><span class="lineno"> 1280</span> <span class="keyword">template</span><<span class="keyword">typename</span> T, <span class="keyword">typename</span>... Args></div>
<div class="line"><a id="l01281" name="l01281"></a><span class="lineno"> 1281</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a2a58841692d3b494ef830bf8732d3cc3">ForMatchingControls</a>(T method, <span class="keywordtype">int</span> paramIdx, Args... args);</div>
<div class="line"><a id="l01282" name="l01282"></a><span class="lineno"> 1282</span> </div>
<div class="line"><a id="l01286" name="l01286"></a><span class="lineno"> 1286</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a69ef3e348dd9e944bd6d9ff7d706bdc5">ForControlWithParam</a>(<span class="keywordtype">int</span> paramIdx, IControlFunction func);</div>
<div class="line"><a id="l01287" name="l01287"></a><span class="lineno"> 1287</span> </div>
<div class="line"><a id="l01291" name="l01291"></a><span class="lineno"> 1291</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a69ef3e348dd9e944bd6d9ff7d706bdc5">ForControlWithParam</a>(<span class="keyword">const</span> std::initializer_list<int>& params, IControlFunction func);</div>
<div class="line"><a id="l01292" name="l01292"></a><span class="lineno"> 1292</span> </div>
<div class="line"><a id="l01296" name="l01296"></a><span class="lineno"> 1296</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#abfd6127c64631039a028232328960b49">ForControlInGroup</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* group, IControlFunction func);</div>
<div class="line"><a id="l01297" name="l01297"></a><span class="lineno"> 1297</span> </div>
<div class="line"><a id="l01300" name="l01300"></a><span class="lineno"> 1300</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#ad9cbb8ba852ff39e505e0173bbd6ce3f">AttachBackground</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* fileName);</div>
<div class="line"><a id="l01301" name="l01301"></a><span class="lineno"> 1301</span> </div>
<div class="line"><a id="l01304" name="l01304"></a><span class="lineno"> 1304</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a9b48a5fb56729b8e15a3a204de1250ac">AttachSVGBackground</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* fileName);</div>
<div class="line"><a id="l01305" name="l01305"></a><span class="lineno"> 1305</span> </div>
<div class="line"><a id="l01308" name="l01308"></a><span class="lineno"> 1308</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#aa37cec0943d5c96aef081ea41cb09cac">AttachPanelBackground</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_pattern.html">IPattern</a>& color);</div>
<div class="line"><a id="l01309" name="l01309"></a><span class="lineno"> 1309</span> </div>
<div class="line"><a id="l01312" name="l01312"></a><span class="lineno"> 1312</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a4faebebfe5235e2b0ccb07369b693685">AttachCornerResizer</a>(EUIResizerMode sizeMode = EUIResizerMode::Scale, <span class="keywordtype">bool</span> layoutOnResize = <span class="keyword">false</span>, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& color = COLOR_TRANSLUCENT, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& mouseOverColor = COLOR_BLACK, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_color.html">IColor</a>& dragColor = COLOR_BLACK, <span class="keywordtype">float</span> size = 20.f);</div>
<div class="line"><a id="l01313" name="l01313"></a><span class="lineno"> 1313</span> </div>
<div class="line"><a id="l01317" name="l01317"></a><span class="lineno"> 1317</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a4faebebfe5235e2b0ccb07369b693685">AttachCornerResizer</a>(<a class="code hl_class" href="class_i_corner_resizer_control.html">ICornerResizerControl</a>* pControl, EUIResizerMode sizeMode = EUIResizerMode::Scale, <span class="keywordtype">bool</span> layoutOnResize = <span class="keyword">false</span>);</div>
<div class="line"><a id="l01318" name="l01318"></a><span class="lineno"> 1318</span> </div>
<div class="line"><a id="l01322" name="l01322"></a><span class="lineno"> 1322</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a11ecdf445769da518b5366ec7e27da36">AttachPopupMenuControl</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_text.html">IText</a>& text = DEFAULT_TEXT, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>& bounds = <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>());</div>
<div class="line"><a id="l01323" name="l01323"></a><span class="lineno"> 1323</span> </div>
<div class="line"><a id="l01325" name="l01325"></a><span class="lineno"> 1325</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a3fec6ae18bb1c20ef464b3ddeed11fe9">RemovePopupMenuControl</a>();</div>
<div class="line"><a id="l01326" name="l01326"></a><span class="lineno"> 1326</span> </div>
<div class="line"><a id="l01328" name="l01328"></a><span class="lineno"> 1328</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a4f57da0dc3b88c6b7c4f7d18b14b3d71">AttachTextEntryControl</a>();</div>
<div class="line"><a id="l01329" name="l01329"></a><span class="lineno"> 1329</span> </div>
<div class="line"><a id="l01331" name="l01331"></a><span class="lineno"> 1331</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#ac87a5f2cea437435c5ec1ef58fe72675">RemoveTextEntryControl</a>();</div>
<div class="line"><a id="l01332" name="l01332"></a><span class="lineno"> 1332</span> </div>
<div class="line"><a id="l01334" name="l01334"></a><span class="lineno"> 1334</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a6b0a205e6e3326fdb87dafec233f39eb">AttachBubbleControl</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_text.html">IText</a>& text = DEFAULT_TEXT);</div>
<div class="line"><a id="l01335" name="l01335"></a><span class="lineno"> 1335</span> </div>
<div class="line"><a id="l01337" name="l01337"></a><span class="lineno"> 1337</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a6b0a205e6e3326fdb87dafec233f39eb">AttachBubbleControl</a>(<a class="code hl_class" href="class_i_bubble_control.html">IBubbleControl</a>* pControl);</div>
<div class="line"><a id="l01338" name="l01338"></a><span class="lineno"> 1338</span> </div>
<div class="line"><a id="l01339" name="l01339"></a><span class="lineno"> 1339</span> <span class="comment">/* Called by controls to display text in the bubble control */</span></div>
<div class="line"><a id="l01340" name="l01340"></a><span class="lineno"> 1340</span> <span class="keywordtype">void</span> ShowBubbleControl(<a class="code hl_class" href="class_i_control.html">IControl</a>* pCaller, <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keyword">const</span> <span class="keywordtype">char</span>* str, EDirection dir = EDirection::Horizontal, <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a> minimumContentBounds = <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>());</div>
<div class="line"><a id="l01341" name="l01341"></a><span class="lineno"> 1341</span> </div>
<div class="line"><a id="l01344" name="l01344"></a><span class="lineno"> 1344</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#aca24c31d6beb359421816fa4c487c7db">ShowFPSDisplay</a>(<span class="keywordtype">bool</span> enable);</div>
<div class="line"><a id="l01345" name="l01345"></a><span class="lineno"> 1345</span> </div>
<div class="line"><a id="l01347" name="l01347"></a><span class="lineno"><a class="line" href="class_i_graphics.html#add082b0067feb509b9e857003ea791d7"> 1347</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#add082b0067feb509b9e857003ea791d7">ShowingFPSDisplay</a>() { <span class="keywordflow">return</span> mPerfDisplay != <span class="keyword">nullptr</span>; }</div>
<div class="line"><a id="l01348" name="l01348"></a><span class="lineno"> 1348</span> </div>
<div class="line"><a id="l01354" name="l01354"></a><span class="lineno"> 1354</span> <a class="code hl_class" href="class_i_control.html">IControl</a>* <a class="code hl_function" href="class_i_graphics.html#afbca10b1912ddc855b7fc9d9a24a5c91">AttachControl</a>(<a class="code hl_class" href="class_i_control.html">IControl</a>* pControl, <span class="keywordtype">int</span> ctrlTag = kNoTag, <span class="keyword">const</span> <span class="keywordtype">char</span>* group = <span class="stringliteral">""</span>);</div>
<div class="line"><a id="l01355" name="l01355"></a><span class="lineno"> 1355</span> </div>
<div class="line"><a id="l01359" name="l01359"></a><span class="lineno"><a class="line" href="class_i_graphics.html#ae41c071af426a8bdf58e50f31cf0d64c"> 1359</a></span> <a class="code hl_class" href="class_i_control.html">IControl</a>* <a class="code hl_function" href="class_i_graphics.html#ae41c071af426a8bdf58e50f31cf0d64c">GetControl</a>(<span class="keywordtype">int</span> idx) { <span class="keywordflow">return</span> mControls.Get(idx); }</div>
<div class="line"><a id="l01360" name="l01360"></a><span class="lineno"> 1360</span> </div>
<div class="line"><a id="l01364" name="l01364"></a><span class="lineno"><a class="line" href="class_i_graphics.html#acd9b556d8e23a3a0187e77a872638597"> 1364</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="class_i_graphics.html#acd9b556d8e23a3a0187e77a872638597">GetControlIdx</a>(<a class="code hl_class" href="class_i_control.html">IControl</a>* pControl)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mControls.Find(pControl); }</div>
<div class="line"><a id="l01365" name="l01365"></a><span class="lineno"> 1365</span> </div>
<div class="line"><a id="l01369" name="l01369"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a57491a0aa562e1080f235ff8c27187d7"> 1369</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="class_i_graphics.html#a57491a0aa562e1080f235ff8c27187d7">GetIdxOfTaggedControl</a>(<span class="keywordtype">int</span> ctrlTag)<span class="keyword"> const</span></div>
<div class="line"><a id="l01370" name="l01370"></a><span class="lineno"> 1370</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l01371" name="l01371"></a><span class="lineno"> 1371</span> <a class="code hl_class" href="class_i_control.html">IControl</a>* pControl = <a class="code hl_function" href="class_i_graphics.html#a3330c4f95dec9590a0c0a3d9be8cd177">GetControlWithTag</a>(ctrlTag);</div>
<div class="line"><a id="l01372" name="l01372"></a><span class="lineno"> 1372</span> <span class="keywordflow">return</span> pControl ? <a class="code hl_function" href="class_i_graphics.html#acd9b556d8e23a3a0187e77a872638597">GetControlIdx</a>(pControl) : -1;</div>
<div class="line"><a id="l01373" name="l01373"></a><span class="lineno"> 1373</span> }</div>
<div class="line"><a id="l01374" name="l01374"></a><span class="lineno"> 1374</span> </div>
<div class="line"><a id="l01378" name="l01378"></a><span class="lineno"> 1378</span> <a class="code hl_class" href="class_i_control.html">IControl</a>* <a class="code hl_function" href="class_i_graphics.html#a3330c4f95dec9590a0c0a3d9be8cd177">GetControlWithTag</a>(<span class="keywordtype">int</span> ctrlTag) <span class="keyword">const</span>;</div>
<div class="line"><a id="l01379" name="l01379"></a><span class="lineno"> 1379</span> </div>
<div class="line"><a id="l01383" name="l01383"></a><span class="lineno"><a class="line" href="class_i_graphics.html#ae4638f2d426a3ee040c5a80e5b52ad7c"> 1383</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="class_i_graphics.html#ae4638f2d426a3ee040c5a80e5b52ad7c">GetControlTag</a>(<span class="keyword">const</span> <a class="code hl_class" href="class_i_control.html">IControl</a>* pControl)<span class="keyword"> const</span></div>
<div class="line"><a id="l01384" name="l01384"></a><span class="lineno"> 1384</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l01385" name="l01385"></a><span class="lineno"> 1385</span> <span class="keywordflow">for</span> (<span class="keyword">auto</span> itr = mCtrlTags.begin(); itr != mCtrlTags.end(); ++itr)</div>
<div class="line"><a id="l01386" name="l01386"></a><span class="lineno"> 1386</span> {</div>
<div class="line"><a id="l01387" name="l01387"></a><span class="lineno"> 1387</span> <span class="keywordflow">if</span> (itr->second == pControl)</div>
<div class="line"><a id="l01388" name="l01388"></a><span class="lineno"> 1388</span> <span class="keywordflow">return</span> itr->first;</div>
<div class="line"><a id="l01389" name="l01389"></a><span class="lineno"> 1389</span> }</div>
<div class="line"><a id="l01390" name="l01390"></a><span class="lineno"> 1390</span> </div>
<div class="line"><a id="l01391" name="l01391"></a><span class="lineno"> 1391</span> <span class="keywordflow">return</span> kNoTag;</div>
<div class="line"><a id="l01392" name="l01392"></a><span class="lineno"> 1392</span> }</div>
<div class="line"><a id="l01393" name="l01393"></a><span class="lineno"> 1393</span> </div>
<div class="line"><a id="l01397" name="l01397"></a><span class="lineno"> 1397</span> <a class="code hl_class" href="class_i_control.html">IControl</a>* <a class="code hl_function" href="class_i_graphics.html#a5c4dbf4dec941baca73f5bc75d2c5888">GetControlWithParamIdx</a>(<span class="keywordtype">int</span> paramIdx);</div>
<div class="line"><a id="l01398" name="l01398"></a><span class="lineno"> 1398</span> </div>
<div class="line"><a id="l01400" name="l01400"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a01594da5721a4f188a0592a50a88f18d"> 1400</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#a01594da5721a4f188a0592a50a88f18d">ControlIsCaptured</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mCapturedMap.size() > 0; }</div>
<div class="line"><a id="l01401" name="l01401"></a><span class="lineno"> 1401</span> </div>
<div class="line"><a id="l01404" name="l01404"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a9140ae7dd8d1a1c0eb6ddb6a8b858f81"> 1404</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#a9140ae7dd8d1a1c0eb6ddb6a8b858f81">ControlIsCaptured</a>(<a class="code hl_class" href="class_i_control.html">IControl</a>* pControl)<span class="keyword"> const</span></div>
<div class="line"><a id="l01405" name="l01405"></a><span class="lineno"> 1405</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l01406" name="l01406"></a><span class="lineno"> 1406</span> <span class="keywordflow">return</span> std::find_if(std::begin(mCapturedMap), std::end(mCapturedMap), [pControl](<span class="keyword">auto</span>&& press) { <span class="keywordflow">return</span> press.second == pControl; }) != mCapturedMap.end();</div>
<div class="line"><a id="l01407" name="l01407"></a><span class="lineno"> 1407</span> }</div>
<div class="line"><a id="l01408" name="l01408"></a><span class="lineno"> 1408</span> </div>
<div class="line"><a id="l01410" name="l01410"></a><span class="lineno"><a class="line" href="class_i_graphics.html#aada7d938989f83b5a73f69e7de8c2cc7"> 1410</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#aada7d938989f83b5a73f69e7de8c2cc7">GetTouches</a>(<a class="code hl_class" href="class_i_control.html">IControl</a>* pControl, std::vector<ITouchID>& touchesOnThisControl)<span class="keyword"> const</span></div>
<div class="line"><a id="l01411" name="l01411"></a><span class="lineno"> 1411</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l01412" name="l01412"></a><span class="lineno"> 1412</span> <span class="keywordflow">for</span> (<span class="keyword">auto</span> i = mCapturedMap.begin(), j = mCapturedMap.end(); i != j; ++i)</div>
<div class="line"><a id="l01413" name="l01413"></a><span class="lineno"> 1413</span> <span class="keywordflow">if</span> (i->second == pControl)</div>
<div class="line"><a id="l01414" name="l01414"></a><span class="lineno"> 1414</span> touchesOnThisControl.push_back(i->first);</div>
<div class="line"><a id="l01415" name="l01415"></a><span class="lineno"> 1415</span> }</div>
<div class="line"><a id="l01416" name="l01416"></a><span class="lineno"> 1416</span> </div>
<div class="line"><a id="l01417" name="l01417"></a><span class="lineno"> 1417</span> <span class="comment">/* Get the first control in the control list, the background */</span></div>
<div class="line"><a id="l01418" name="l01418"></a><span class="lineno"> 1418</span> <a class="code hl_class" href="class_i_control.html">IControl</a>* GetBackgroundControl() { <span class="keywordflow">return</span> <a class="code hl_function" href="class_i_graphics.html#ae41c071af426a8bdf58e50f31cf0d64c">GetControl</a>(0); }</div>
<div class="line"><a id="l01419" name="l01419"></a><span class="lineno"> 1419</span> </div>
<div class="line"><a id="l01421" name="l01421"></a><span class="lineno"><a class="line" href="class_i_graphics.html#ad31a6269ed8eb1308eb24b50d4b743c2"> 1421</a></span> <a class="code hl_class" href="class_i_popup_menu_control.html">IPopupMenuControl</a>* <a class="code hl_function" href="class_i_graphics.html#ad31a6269ed8eb1308eb24b50d4b743c2">GetPopupMenuControl</a>() { <span class="keywordflow">return</span> mPopupControl.get(); }</div>
<div class="line"><a id="l01422" name="l01422"></a><span class="lineno"> 1422</span> </div>
<div class="line"><a id="l01424" name="l01424"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a2bc8a3e37076b853294f5c2a060e3536"> 1424</a></span> <a class="code hl_class" href="class_i_text_entry_control.html">ITextEntryControl</a>* <a class="code hl_function" href="class_i_graphics.html#a2bc8a3e37076b853294f5c2a060e3536">GetTextEntryControl</a>() { <span class="keywordflow">return</span> mTextEntryControl.get(); }</div>
<div class="line"><a id="l01425" name="l01425"></a><span class="lineno"> 1425</span> </div>
<div class="line"><a id="l01427" name="l01427"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a6d57ecac0476325af0710bb2b1a97fc4"> 1427</a></span> <a class="code hl_class" href="class_i_bubble_control.html">IBubbleControl</a>* <a class="code hl_function" href="class_i_graphics.html#a6d57ecac0476325af0710bb2b1a97fc4">GetBubbleControl</a>(<span class="keywordtype">int</span> i = 0) { <span class="keywordflow">return</span> mBubbleControls.Get(i); }</div>
<div class="line"><a id="l01428" name="l01428"></a><span class="lineno"> 1428</span> </div>
<div class="line"><a id="l01430" name="l01430"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a7cbe718d325f933967219a87c5214d82"> 1430</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="class_i_graphics.html#a7cbe718d325f933967219a87c5214d82">NBubbleControls</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mBubbleControls.GetSize(); }</div>
<div class="line"><a id="l01431" name="l01431"></a><span class="lineno"> 1431</span> </div>
<div class="line"><a id="l01434" name="l01434"></a><span class="lineno"> 1434</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#aa6fca2691e3db39db37b45009287b931">StyleAllVectorControls</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_v_style.html">IVStyle</a>& style);</div>
<div class="line"><a id="l01435" name="l01435"></a><span class="lineno"> 1435</span> </div>
<div class="line"><a id="l01439" name="l01439"></a><span class="lineno"> 1439</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a3fb076035b69c9b96197e36983221acf">UpdatePeers</a>(<a class="code hl_class" href="class_i_control.html">IControl</a>* pCaller, <span class="keywordtype">int</span> callerValIdx);</div>
<div class="line"><a id="l01440" name="l01440"></a><span class="lineno"> 1440</span> </div>
<div class="line"><a id="l01442" name="l01442"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a9526e5e336839cb145e646dd899f5139"> 1442</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="class_i_graphics.html#a9526e5e336839cb145e646dd899f5139">NControls</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mControls.GetSize(); }</div>
<div class="line"><a id="l01443" name="l01443"></a><span class="lineno"> 1443</span> </div>
<div class="line"><a id="l01445" name="l01445"></a><span class="lineno"> 1445</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#aa91228d9c99727fb10f6d5f3cc685f99">RemoveControlWithTag</a>(<span class="keywordtype">int</span> ctrlTag);</div>
<div class="line"><a id="l01446" name="l01446"></a><span class="lineno"> 1446</span> </div>
<div class="line"><a id="l01448" name="l01448"></a><span class="lineno"> 1448</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#ad9b75fd93b3b228b8a99fa662b0570b5">RemoveControls</a>(<span class="keywordtype">int</span> fromIdx);</div>
<div class="line"><a id="l01449" name="l01449"></a><span class="lineno"> 1449</span> </div>
<div class="line"><a id="l01451" name="l01451"></a><span class="lineno"> 1451</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a148c1d7432a7db81a59a3b954c1c7a0b">RemoveControl</a>(<span class="keywordtype">int</span> idx);</div>
<div class="line"><a id="l01452" name="l01452"></a><span class="lineno"> 1452</span> </div>
<div class="line"><a id="l01454" name="l01454"></a><span class="lineno"> 1454</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a148c1d7432a7db81a59a3b954c1c7a0b">RemoveControl</a>(<a class="code hl_class" href="class_i_control.html">IControl</a>* pControl);</div>
<div class="line"><a id="l01455" name="l01455"></a><span class="lineno"> 1455</span> </div>
<div class="line"><a id="l01457" name="l01457"></a><span class="lineno"> 1457</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a800f6cbb56df1af93389ca0e7080ec17">RemoveAllControls</a>();</div>
<div class="line"><a id="l01458" name="l01458"></a><span class="lineno"> 1458</span> </div>
<div class="line"><a id="l01462" name="l01462"></a><span class="lineno"> 1462</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a7d3c658447977fc1d8587ce1a69c29c8">HideControl</a>(<span class="keywordtype">int</span> paramIdx, <span class="keywordtype">bool</span> hide);</div>
<div class="line"><a id="l01463" name="l01463"></a><span class="lineno"> 1463</span> </div>
<div class="line"><a id="l01467" name="l01467"></a><span class="lineno"> 1467</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a46a13be9e3bf814824edf39fa28b7e9f">DisableControl</a>(<span class="keywordtype">int</span> paramIdx, <span class="keywordtype">bool</span> diable);</div>
<div class="line"><a id="l01468" name="l01468"></a><span class="lineno"> 1468</span> </div>
<div class="line"><a id="l01470" name="l01470"></a><span class="lineno"> 1470</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a9fdf9efc44f6d0734e38f11a211c892a">SetAllControlsDirty</a>();</div>
<div class="line"><a id="l01471" name="l01471"></a><span class="lineno"> 1471</span> </div>
<div class="line"><a id="l01473" name="l01473"></a><span class="lineno"> 1473</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#aa5d1ef593f225696eab9a2bd15c5ebe5">SetAllControlsClean</a>();</div>
<div class="line"><a id="l01474" name="l01474"></a><span class="lineno"> 1474</span> </div>
<div class="line"><a id="l01479" name="l01479"></a><span class="lineno"> 1479</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#af4a5af730cf86f5457c4d56d10d10496">SetControlPosition</a>(<a class="code hl_class" href="class_i_control.html">IControl</a>* pControl, <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div>
<div class="line"><a id="l01480" name="l01480"></a><span class="lineno"> 1480</span> </div>
<div class="line"><a id="l01485" name="l01485"></a><span class="lineno"> 1485</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#ab66af1518e9c834c0b90a2e5acc9c05a">SetControlSize</a>(<a class="code hl_class" href="class_i_control.html">IControl</a>* pControl, <span class="keywordtype">float</span> w, <span class="keywordtype">float</span> h);</div>
<div class="line"><a id="l01486" name="l01486"></a><span class="lineno"> 1486</span> </div>
<div class="line"><a id="l01490" name="l01490"></a><span class="lineno"> 1490</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a46aa7fbe727e6161275dbba87463adf3">SetControlBounds</a>(<a class="code hl_class" href="class_i_control.html">IControl</a>* pControl, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>& r);</div>
<div class="line"><a id="l01491" name="l01491"></a><span class="lineno"> 1491</span> </div>
<div class="line"><a id="l01492" name="l01492"></a><span class="lineno"> 1492</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l01498" name="l01498"></a><span class="lineno"> 1498</span> <span class="keywordtype">int</span> GetMouseControlIdx(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">bool</span> mouseOver = <span class="keyword">false</span>);</div>
<div class="line"><a id="l01499" name="l01499"></a><span class="lineno"> 1499</span> </div>
<div class="line"><a id="l01507" name="l01507"></a><span class="lineno"> 1507</span> <a class="code hl_class" href="class_i_control.html">IControl</a>* GetMouseControl(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">bool</span> capture, <span class="keywordtype">bool</span> mouseOver = <span class="keyword">false</span>, ITouchID touchID = 0);</div>
<div class="line"><a id="l01508" name="l01508"></a><span class="lineno"> 1508</span> </div>
<div class="line"><a id="l01509" name="l01509"></a><span class="lineno"> 1509</span><span class="preprocessor">#pragma mark - Event handling</span></div>
<div class="line"><a id="l01510" name="l01510"></a><span class="lineno"> 1510</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l01512" name="l01512"></a><span class="lineno"> 1512</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a86b94dd76ea9c7ab258d6f4cc850e879">OnMouseDown</a>(<span class="keyword">const</span> std::vector<IMouseInfo>& points);</div>
<div class="line"><a id="l01513" name="l01513"></a><span class="lineno"> 1513</span> </div>
<div class="line"><a id="l01515" name="l01515"></a><span class="lineno"> 1515</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a51e7898018b80f119d6a43003e69d6fa">OnMouseUp</a>(<span class="keyword">const</span> std::vector<IMouseInfo>& points);</div>
<div class="line"><a id="l01516" name="l01516"></a><span class="lineno"> 1516</span> </div>
<div class="line"><a id="l01518" name="l01518"></a><span class="lineno"> 1518</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a38db2c13f1891fcf5cc79ec033d76072">OnMouseDrag</a>(<span class="keyword">const</span> std::vector<IMouseInfo>& points);</div>
<div class="line"><a id="l01519" name="l01519"></a><span class="lineno"> 1519</span> </div>
<div class="line"><a id="l01521" name="l01521"></a><span class="lineno"> 1521</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a78f85feb3a2f2856862c7827405ece78">OnTouchCancelled</a>(<span class="keyword">const</span> std::vector<IMouseInfo>& points);</div>
<div class="line"><a id="l01522" name="l01522"></a><span class="lineno"> 1522</span> </div>
<div class="line"><a id="l01527" name="l01527"></a><span class="lineno"> 1527</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#ae810b29afa91827a51e647ccf6e5542c">OnMouseDblClick</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_mouse_mod.html">IMouseMod</a>& mod);</div>
<div class="line"><a id="l01528" name="l01528"></a><span class="lineno"> 1528</span> </div>
<div class="line"><a id="l01533" name="l01533"></a><span class="lineno"> 1533</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#aadcd02524fea04d2ea20cf2f27f1ea54">OnMouseWheel</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_mouse_mod.html">IMouseMod</a>& mod, <span class="keywordtype">float</span> delta);</div>
<div class="line"><a id="l01534" name="l01534"></a><span class="lineno"> 1534</span> </div>
<div class="line"><a id="l01539" name="l01539"></a><span class="lineno"> 1539</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#a426e6ad6b086c2c681b7ca200056a342">OnKeyDown</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_key_press.html">IKeyPress</a>& key);</div>
<div class="line"><a id="l01540" name="l01540"></a><span class="lineno"> 1540</span> </div>
<div class="line"><a id="l01545" name="l01545"></a><span class="lineno"> 1545</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#a8a16b22994bda40069bc4a04ab39eafa">OnKeyUp</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_key_press.html">IKeyPress</a>& key);</div>
<div class="line"><a id="l01546" name="l01546"></a><span class="lineno"> 1546</span> </div>
<div class="line"><a id="l01551" name="l01551"></a><span class="lineno"> 1551</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#a7906522a3792b7bd7d1583e5a03bd60e">OnMouseOver</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_mouse_mod.html">IMouseMod</a>& mod);</div>
<div class="line"><a id="l01552" name="l01552"></a><span class="lineno"> 1552</span> </div>
<div class="line"><a id="l01554" name="l01554"></a><span class="lineno"> 1554</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a3f49fee73402c4d03a0fb285d99686ae">OnMouseOut</a>();</div>
<div class="line"><a id="l01555" name="l01555"></a><span class="lineno"> 1555</span> </div>
<div class="line"><a id="l01557" name="l01557"></a><span class="lineno"><a class="line" href="class_i_graphics.html#af45880b0583e05a21ee8d4d3bd774ab5"> 1557</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#af45880b0583e05a21ee8d4d3bd774ab5">OnSetCursor</a>() { <a class="code hl_function" href="class_i_graphics.html#a324015b47c2337fc734f49c808b9c379">SetMouseCursor</a>(mCursorType); }</div>
<div class="line"><a id="l01558" name="l01558"></a><span class="lineno"> 1558</span> </div>
<div class="line"><a id="l01562" name="l01562"></a><span class="lineno"> 1562</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#afb0b6d28e2c93565bf3566e64b0d2ced">OnDrop</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* str, <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div>
<div class="line"><a id="l01563" name="l01563"></a><span class="lineno"> 1563</span> </div>
<div class="line"><a id="l01567" name="l01567"></a><span class="lineno"> 1567</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#ab76ffda7fa9fbec0de0b2380cddd96fe">OnDropMultiple</a>(<span class="keyword">const</span> std::vector<const char*>& paths, <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div>
<div class="line"><a id="l01568" name="l01568"></a><span class="lineno"> 1568</span> </div>
<div class="line"><a id="l01570" name="l01570"></a><span class="lineno"> 1570</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#adee2e73ca530755b7344dcbf864d18cb">OnGUIIdle</a>();</div>
<div class="line"><a id="l01571" name="l01571"></a><span class="lineno"> 1571</span> </div>
<div class="line"><a id="l01573" name="l01573"></a><span class="lineno"> 1573</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a7b61587927e574c19bca2502ce110be9">OnDragResize</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div>
<div class="line"><a id="l01574" name="l01574"></a><span class="lineno"> 1574</span> </div>
<div class="line"><a id="l01577" name="l01577"></a><span class="lineno"> 1577</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a529d8d0e2a6edbb286e10c432a023140">OnAppearanceChanged</a>(EUIAppearance appearance);</div>
<div class="line"><a id="l01578" name="l01578"></a><span class="lineno"> 1578</span> </div>
<div class="line"><a id="l01581" name="l01581"></a><span class="lineno"><a class="line" href="class_i_graphics.html#ac2384eeabaa22614c5b87ff685f16e52"> 1581</a></span> <span class="keyword">virtual</span> EUIAppearance <a class="code hl_function" href="class_i_graphics.html#ac2384eeabaa22614c5b87ff685f16e52">GetUIAppearance</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> EUIAppearance::Light; }</div>
<div class="line"><a id="l01582" name="l01582"></a><span class="lineno"> 1582</span> </div>
<div class="line"><a id="l01584" name="l01584"></a><span class="lineno"><a class="line" href="class_i_graphics.html#af7776c41a3a8f7fe625b8ed0cc90b84d"> 1584</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#af7776c41a3a8f7fe625b8ed0cc90b84d">EnableMouseOver</a>(<span class="keywordtype">bool</span> enable) { mEnableMouseOver = enable; }</div>
<div class="line"><a id="l01585" name="l01585"></a><span class="lineno"> 1585</span> </div>
<div class="line"><a id="l01587" name="l01587"></a><span class="lineno"> 1587</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a66fb499abd593492216041145220041a">ReleaseMouseCapture</a>();</div>
<div class="line"><a id="l01588" name="l01588"></a><span class="lineno"> 1588</span> </div>
<div class="line"><a id="l01590" name="l01590"></a><span class="lineno"><a class="line" href="class_i_graphics.html#ad3c6ae54796c26b135204f4fac048780"> 1590</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#ad3c6ae54796c26b135204f4fac048780">CanEnableMouseOver</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mEnableMouseOver; }</div>
<div class="line"><a id="l01591" name="l01591"></a><span class="lineno"> 1591</span> </div>
<div class="line"><a id="l01593" name="l01593"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a9f52276b6439688b467ba2c33fe0e043"> 1593</a></span> <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code hl_function" href="class_i_graphics.html#a9f52276b6439688b467ba2c33fe0e043">GetMouseOver</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mMouseOverIdx; }</div>
<div class="line"><a id="l01594" name="l01594"></a><span class="lineno"> 1594</span> </div>
<div class="line"><a id="l01598" name="l01598"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a876018fa6ca2f0aed0ffd5acda0c665d"> 1598</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a876018fa6ca2f0aed0ffd5acda0c665d">GetMouseDownPoint</a>(<span class="keywordtype">float</span>& x, <span class="keywordtype">float</span>&y)<span class="keyword"> const </span>{ x = mMouseDownX; y = mMouseDownY; }</div>
<div class="line"><a id="l01599" name="l01599"></a><span class="lineno"> 1599</span> </div>
<div class="line"><a id="l01602" name="l01602"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a19d8d2aed5dea9ae2205eb936e93192a"> 1602</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a19d8d2aed5dea9ae2205eb936e93192a">SetTabletInput</a>(<span class="keywordtype">bool</span> tablet) { mTabletInput = tablet; }</div>
<div class="line"><a id="l01603" name="l01603"></a><span class="lineno"> 1603</span><span class="preprocessor">#pragma mark - Plug-in API Specific</span></div>
<div class="line"><a id="l01604" name="l01604"></a><span class="lineno"> 1604</span> </div>
<div class="line"><a id="l01610" name="l01610"></a><span class="lineno"> 1610</span> <span class="keywordtype">int</span> <a class="code hl_function" href="class_i_graphics.html#a1c0b50e68455e7759c3b197efbe27174">GetParamIdxForPTAutomation</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div>
<div class="line"><a id="l01611" name="l01611"></a><span class="lineno"> 1611</span> </div>
<div class="line"><a id="l01614" name="l01614"></a><span class="lineno"> 1614</span> <span class="keywordtype">int</span> <a class="code hl_function" href="class_i_graphics.html#a67e36755be688a3598b82bbce841faa9">GetLastClickedParamForPTAutomation</a>();</div>
<div class="line"><a id="l01615" name="l01615"></a><span class="lineno"> 1615</span> </div>
<div class="line"><a id="l01620" name="l01620"></a><span class="lineno"> 1620</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a23226d9012472826f39814405fa9da10">SetPTParameterHighlight</a>(<span class="keywordtype">int</span> paramIdx, <span class="keywordtype">bool</span> isHighlighted, <span class="keywordtype">int</span> color);</div>
<div class="line"><a id="l01621" name="l01621"></a><span class="lineno"> 1621</span> </div>
<div class="line"><a id="l01628" name="l01628"></a><span class="lineno"> 1628</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#ab03ac78cd4efed993d10ae155dced04d">PopupHostContextMenuForParam</a>(<span class="keywordtype">int</span> controlIdx, <span class="keywordtype">int</span> paramIdx, <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div>
<div class="line"><a id="l01629" name="l01629"></a><span class="lineno"> 1629</span> </div>
<div class="line"><a id="l01636" name="l01636"></a><span class="lineno"> 1636</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#ab03ac78cd4efed993d10ae155dced04d">PopupHostContextMenuForParam</a>(<a class="code hl_class" href="class_i_control.html">IControl</a>* pControl, <span class="keywordtype">int</span> paramIdx, <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div>
<div class="line"><a id="l01637" name="l01637"></a><span class="lineno"> 1637</span> </div>
<div class="line"><a id="l01638" name="l01638"></a><span class="lineno"> 1638</span><span class="preprocessor">#pragma mark - Resource/File Loading</span></div>
<div class="line"><a id="l01639" name="l01639"></a><span class="lineno"> 1639</span> </div>
<div class="line"><a id="l01641" name="l01641"></a><span class="lineno"><a class="line" href="class_i_graphics.html#ad21c50d13eae62aafdcdfa5c6615562f"> 1641</a></span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="class_i_graphics.html#ad21c50d13eae62aafdcdfa5c6615562f">GetSharedResourcesSubPath</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mSharedResourcesSubPath.Get(); }</div>
<div class="line"><a id="l01642" name="l01642"></a><span class="lineno"> 1642</span> </div>
<div class="line"><a id="l01644" name="l01644"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a9eed39260a88995145ef73cd36e24ea1"> 1644</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a9eed39260a88995145ef73cd36e24ea1">SetSharedResourcesSubPath</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* sharedResourcesSubPath) { mSharedResourcesSubPath.Set(sharedResourcesSubPath); }</div>
<div class="line"><a id="l01645" name="l01645"></a><span class="lineno"> 1645</span> </div>
<div class="line"><a id="l01652" name="l01652"></a><span class="lineno"> 1652</span> <span class="keyword">virtual</span> <a class="code hl_class" href="class_i_bitmap.html">IBitmap</a> <a class="code hl_function" href="class_i_graphics.html#af213e9d5003c923f9b57ad10080ec2f3">LoadBitmap</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* fileNameOrResID, <span class="keywordtype">int</span> nStates = 1, <span class="keywordtype">bool</span> framesAreHorizontal = <span class="keyword">false</span>, <span class="keywordtype">int</span> targetScale = 0);</div>
<div class="line"><a id="l01653" name="l01653"></a><span class="lineno"> 1653</span> </div>
<div class="line"><a id="l01662" name="l01662"></a><span class="lineno"> 1662</span> <span class="keyword">virtual</span> <a class="code hl_class" href="class_i_bitmap.html">IBitmap</a> <a class="code hl_function" href="class_i_graphics.html#af213e9d5003c923f9b57ad10080ec2f3">LoadBitmap</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> nStates = 1, <span class="keywordtype">bool</span> framesAreHorizontal = <span class="keyword">false</span>, <span class="keywordtype">int</span> targetScale = 0);</div>
<div class="line"><a id="l01663" name="l01663"></a><span class="lineno"> 1663</span> </div>
<div class="line"><a id="l01667" name="l01667"></a><span class="lineno"> 1667</span> <span class="keyword">virtual</span> <a class="code hl_struct" href="struct_i_s_v_g.html">ISVG</a> <a class="code hl_function" href="class_i_graphics.html#aba602eb4f6a0a9481f47d7c2c3bff0a8">LoadSVG</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* fileNameOrResID, <span class="keyword">const</span> <span class="keywordtype">char</span>* units = <span class="stringliteral">"px"</span>, <span class="keywordtype">float</span> dpi = 72.f);</div>
<div class="line"><a id="l01668" name="l01668"></a><span class="lineno"> 1668</span> </div>
<div class="line"><a id="l01676" name="l01676"></a><span class="lineno"> 1676</span> <span class="keyword">virtual</span> <a class="code hl_struct" href="struct_i_s_v_g.html">ISVG</a> <a class="code hl_function" href="class_i_graphics.html#aba602eb4f6a0a9481f47d7c2c3bff0a8">LoadSVG</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="keyword">const</span> <span class="keywordtype">char</span>* units = <span class="stringliteral">"px"</span>, <span class="keywordtype">float</span> dpi = 72.f);</div>
<div class="line"><a id="l01677" name="l01677"></a><span class="lineno"> 1677</span> </div>
<div class="line"><a id="l01682" name="l01682"></a><span class="lineno"> 1682</span> <span class="keyword">virtual</span> WDL_TypedBuf<uint8_t> <a class="code hl_function" href="class_i_graphics.html#afa643253be20a1846362639884017520">LoadResource</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* fileNameOrResID, <span class="keyword">const</span> <span class="keywordtype">char</span>* fileType);</div>
<div class="line"><a id="l01683" name="l01683"></a><span class="lineno"> 1683</span> </div>
<div class="line"><a id="l01686" name="l01686"></a><span class="lineno"> 1686</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a50390d533f1478ce1373ff601479cb80">AttachGestureRecognizer</a>(EGestureType type);</div>
<div class="line"><a id="l01687" name="l01687"></a><span class="lineno"> 1687</span> </div>
<div class="line"><a id="l01692" name="l01692"></a><span class="lineno"> 1692</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a447a30912b3c5aa549a97ee7e428ccaf">AttachGestureRecognizerToRegion</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>& bounds, EGestureType type, IGestureFunc func);</div>
<div class="line"><a id="l01693" name="l01693"></a><span class="lineno"> 1693</span> </div>
<div class="line"><a id="l01695" name="l01695"></a><span class="lineno"> 1695</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a90d1944841c88919636a9c3b300bd2af">ClearGestureRegions</a>();</div>
<div class="line"><a id="l01696" name="l01696"></a><span class="lineno"> 1696</span> </div>
<div class="line"><a id="l01697" name="l01697"></a><span class="lineno"> 1697</span><span class="keyword">protected</span>:</div>
<div class="line"><a id="l01704" name="l01704"></a><span class="lineno"><a class="line" href="class_i_graphics.html#aba99ea1dbf73309d1008fdaf101402d8"> 1704</a></span> <span class="keyword">virtual</span> <a class="code hl_class" href="class_a_p_i_bitmap.html">APIBitmap</a>* <a class="code hl_function" href="class_i_graphics.html#aba99ea1dbf73309d1008fdaf101402d8">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) = 0;</div>
<div class="line"><a id="l01705" name="l01705"></a><span class="lineno"> 1705</span> </div>
<div class="line"><a id="l01712" name="l01712"></a><span class="lineno"><a class="line" href="class_i_graphics.html#af7f799b234dcfd826815a8a8b1028d64"> 1712</a></span> <span class="keyword">virtual</span> <a class="code hl_class" href="class_a_p_i_bitmap.html">APIBitmap</a>* <a class="code hl_function" href="class_i_graphics.html#af7f799b234dcfd826815a8a8b1028d64">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) = 0;</div>
<div class="line"><a id="l01713" name="l01713"></a><span class="lineno"> 1713</span> </div>
<div class="line"><a id="l01721" name="l01721"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a514ba05782664fefb137edddf6c4accb"> 1721</a></span> <span class="keyword">virtual</span> <a class="code hl_class" href="class_a_p_i_bitmap.html">APIBitmap</a>* <a class="code hl_function" href="class_i_graphics.html#a514ba05782664fefb137edddf6c4accb">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>) = 0;</div>
<div class="line"><a id="l01722" name="l01722"></a><span class="lineno"> 1722</span> </div>
<div class="line"><a id="l01727" name="l01727"></a><span class="lineno"><a class="line" href="class_i_graphics.html#ab6cbb9c4ec9e06b0ba49bb04369f51d8"> 1727</a></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#ab6cbb9c4ec9e06b0ba49bb04369f51d8">LoadAPIFont</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* fontID, <span class="keyword">const</span> PlatformFontPtr& font) = 0;</div>
<div class="line"><a id="l01728" name="l01728"></a><span class="lineno"> 1728</span> </div>
<div class="line"><a id="l01730" name="l01730"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a5aef76c90b25e6acfad95ba94234ed84"> 1730</a></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#a5aef76c90b25e6acfad95ba94234ed84">AssetsLoaded</a>() { <span class="keywordflow">return</span> <span class="keyword">true</span>; }</div>
<div class="line"><a id="l01731" name="l01731"></a><span class="lineno"> 1731</span> </div>
<div class="line"><a id="l01733" name="l01733"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a42d34a154fd59b2b9ffdb818c358defc"> 1733</a></span> <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="class_i_graphics.html#a42d34a154fd59b2b9ffdb818c358defc">AlphaChannel</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l01734" name="l01734"></a><span class="lineno"> 1734</span> </div>
<div class="line"><a id="l01736" name="l01736"></a><span class="lineno"><a class="line" href="class_i_graphics.html#ab07c25e58a1fdfd6acce197bf0805ec0"> 1736</a></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_i_graphics.html#ab07c25e58a1fdfd6acce197bf0805ec0">FlippedBitmap</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l01737" name="l01737"></a><span class="lineno"> 1737</span> </div>
<div class="line"><a id="l01745" name="l01745"></a><span class="lineno"> 1745</span> EResourceLocation <a class="code hl_function" href="class_i_graphics.html#a5bd172d5f4011d4651b27b9d2c01931a">SearchImageResource</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* fileName, <span class="keyword">const</span> <span class="keywordtype">char</span>* type, WDL_String& result, <span class="keywordtype">int</span> targetScale, <span class="keywordtype">int</span>& sourceScale);</div>
<div class="line"><a id="l01746" name="l01746"></a><span class="lineno"> 1746</span> </div>
<div class="line"><a id="l01752" name="l01752"></a><span class="lineno"> 1752</span> <a class="code hl_class" href="class_a_p_i_bitmap.html">APIBitmap</a>* <a class="code hl_function" href="class_i_graphics.html#a7285ac6a3514a343f697cd2eabd5e768">SearchBitmapInCache</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* fileName, <span class="keywordtype">int</span> targetScale, <span class="keywordtype">int</span>& sourceScale);</div>
<div class="line"><a id="l01753" name="l01753"></a><span class="lineno"> 1753</span> </div>
<div class="line"><a id="l01759" name="l01759"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a056c8ae37821338c32091e6b228429a9"> 1759</a></span> <span class="keyword">virtual</span> <span class="keywordtype">float</span> <a class="code hl_function" href="class_i_graphics.html#a056c8ae37821338c32091e6b228429a9">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</span> = 0;</div>
<div class="line"><a id="l01760" name="l01760"></a><span class="lineno"> 1760</span> </div>
<div class="line"><a id="l01766" name="l01766"></a><span class="lineno"><a class="line" href="class_i_graphics.html#abfee1fdc10a629de6ef03cad85ad5a65"> 1766</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#abfee1fdc10a629de6ef03cad85ad5a65">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">nullptr</span>) = 0;</div>
<div class="line"><a id="l01767" name="l01767"></a><span class="lineno"> 1767</span> </div>
<div class="line"><a id="l01772" name="l01772"></a><span class="lineno"> 1772</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a4aa1c246f3d75dc4ed9b9c76585d749d">DoMeasureTextRotation</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_text.html">IText</a>& text, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>& bounds, <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>& rect) <span class="keyword">const</span>;</div>
<div class="line"><a id="l01773" name="l01773"></a><span class="lineno"> 1773</span> </div>
<div class="line"><a id="l01780" name="l01780"></a><span class="lineno"> 1780</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_i_graphics.html#a55a7fc3df60465be431ea704623a1f1a">CalculateTextRotation</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_i_text.html">IText</a>& text, <span class="keyword">const</span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>& bounds, <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a>& rect, <span class="keywordtype">double</span>& tx, <span class="keywordtype">double</span>& ty) <span class="keyword">const</span>;</div>
<div class="line"><a id="l01781" name="l01781"></a><span class="lineno"> 1781</span> </div>
<div class="line"><a id="l01783" name="l01783"></a><span class="lineno"><a class="line" href="class_i_graphics.html#a407a30ad8dc12d5e9d282e6175402c78"> 1783</a></span> <span class="keyword">virtual</span> <span class="keywordtype">float</span> <a class="code hl_function" href="class_i_graphics.html#a407a30ad8dc12d5e9d282e6175402c78">GetBackingPixelScale</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_function" href="class_i_graphics.html#ab676d94318f98607f37b64f17531d28f">GetScreenScale</a>() * <a class="code hl_function" href="class_i_graphics.html#ad5f403e5b79d4068985b7b8afcaa8da1">GetDrawScale</a>(); };</div>
<div class="line"><a id="l01784" name="l01784"></a><span class="lineno"> 1784</span> </div>
<div class="line"><a id="l01785" name="l01785"></a><span class="lineno"> 1785</span> <a class="code hl_struct" href="struct_i_matrix.html">IMatrix</a> GetTransformMatrix()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mTransform; }</div>
<div class="line"><a id="l01786" name="l01786"></a><span class="lineno"> 1786</span><span class="preprocessor">#pragma mark -</span></div>
<div class="line"><a id="l01787" name="l01787"></a><span class="lineno"> 1787</span> </div>
<div class="line"><a id="l01788" name="l01788"></a><span class="lineno"> 1788</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l01789" name="l01789"></a><span class="lineno"> 1789</span> <span class="keywordtype">void</span> ClearMouseOver()</div>
<div class="line"><a id="l01790" name="l01790"></a><span class="lineno"> 1790</span> {</div>
<div class="line"><a id="l01791" name="l01791"></a><span class="lineno"> 1791</span> mMouseOver = <span class="keyword">nullptr</span>;</div>
<div class="line"><a id="l01792" name="l01792"></a><span class="lineno"> 1792</span> mMouseOverIdx = -1;</div>
<div class="line"><a id="l01793" name="l01793"></a><span class="lineno"> 1793</span> }</div>
<div class="line"><a id="l01794" name="l01794"></a><span class="lineno"> 1794</span> </div>
<div class="line"><a id="l01795" name="l01795"></a><span class="lineno"> 1795</span> WDL_PtrList<IControl> mControls;</div>
<div class="line"><a id="l01796" name="l01796"></a><span class="lineno"> 1796</span> std::unordered_map<int, IControl*> mCtrlTags;</div>
<div class="line"><a id="l01797" name="l01797"></a><span class="lineno"> 1797</span> </div>
<div class="line"><a id="l01798" name="l01798"></a><span class="lineno"> 1798</span> <span class="comment">// Order (front-to-back) ToolTip / PopUp / TextEntry / LiveEdit / Corner / PerfDisplay</span></div>
<div class="line"><a id="l01799" name="l01799"></a><span class="lineno"> 1799</span> std::unique_ptr<ICornerResizerControl> mCornerResizer;</div>
<div class="line"><a id="l01800" name="l01800"></a><span class="lineno"> 1800</span> WDL_PtrList<IBubbleControl> mBubbleControls;</div>
<div class="line"><a id="l01801" name="l01801"></a><span class="lineno"> 1801</span> std::unique_ptr<IPopupMenuControl> mPopupControl;</div>
<div class="line"><a id="l01802" name="l01802"></a><span class="lineno"> 1802</span> std::unique_ptr<IFPSDisplayControl> mPerfDisplay;</div>
<div class="line"><a id="l01803" name="l01803"></a><span class="lineno"> 1803</span> std::unique_ptr<ITextEntryControl> mTextEntryControl;</div>
<div class="line"><a id="l01804" name="l01804"></a><span class="lineno"> 1804</span> std::unique_ptr<IControl> mLiveEdit;</div>
<div class="line"><a id="l01805" name="l01805"></a><span class="lineno"> 1805</span> </div>
<div class="line"><a id="l01806" name="l01806"></a><span class="lineno"> 1806</span> <a class="code hl_class" href="class_i_popup_menu.html">IPopupMenu</a> mPromptPopupMenu;</div>
<div class="line"><a id="l01807" name="l01807"></a><span class="lineno"> 1807</span> </div>
<div class="line"><a id="l01808" name="l01808"></a><span class="lineno"> 1808</span> WDL_String mSharedResourcesSubPath;</div>
<div class="line"><a id="l01809" name="l01809"></a><span class="lineno"> 1809</span> </div>
<div class="line"><a id="l01810" name="l01810"></a><span class="lineno"> 1810</span> ECursor mCursorType = ECursor::ARROW;</div>
<div class="line"><a id="l01811" name="l01811"></a><span class="lineno"> 1811</span> <span class="keywordtype">int</span> mWidth;</div>
<div class="line"><a id="l01812" name="l01812"></a><span class="lineno"> 1812</span> <span class="keywordtype">int</span> mHeight;</div>
<div class="line"><a id="l01813" name="l01813"></a><span class="lineno"> 1813</span> <span class="keywordtype">int</span> mFPS;</div>
<div class="line"><a id="l01814" name="l01814"></a><span class="lineno"> 1814</span> <span class="keywordtype">float</span> mScreenScale = 1.f; <span class="comment">// the scaling of the display that the UI is currently on e.g. 2 for retina</span></div>
<div class="line"><a id="l01815" name="l01815"></a><span class="lineno"> 1815</span> <span class="keywordtype">float</span> mDrawScale = 1.f; <span class="comment">// scale deviation from default width and height i.e stretching the UI by dragging bottom right hand corner</span></div>
<div class="line"><a id="l01816" name="l01816"></a><span class="lineno"> 1816</span> </div>
<div class="line"><a id="l01817" name="l01817"></a><span class="lineno"> 1817</span> <span class="keywordtype">int</span> mIdleTicks = 0;</div>
<div class="line"><a id="l01818" name="l01818"></a><span class="lineno"> 1818</span> </div>
<div class="line"><a id="l01819" name="l01819"></a><span class="lineno"> 1819</span> std::vector<EGestureType> mRegisteredGestures; <span class="comment">// All the types of gesture registered with the graphics context</span></div>
<div class="line"><a id="l01820" name="l01820"></a><span class="lineno"> 1820</span> <a class="code hl_class" href="class_i_r_e_c_t_list.html">IRECTList</a> mGestureRegions; <span class="comment">// Rectangular regions linked to gestures (excluding IControls)</span></div>
<div class="line"><a id="l01821" name="l01821"></a><span class="lineno"> 1821</span> std::unordered_map<int, IGestureFunc> mGestureRegionFuncs; <span class="comment">// Map of gesture region index to gesture function</span></div>
<div class="line"><a id="l01822" name="l01822"></a><span class="lineno"> 1822</span> std::unordered_map<ITouchID, IControl*> mCapturedMap; <span class="comment">// associative array of touch ids to control pointers, the same control can be touched multiple times</span></div>
<div class="line"><a id="l01823" name="l01823"></a><span class="lineno"> 1823</span> <a class="code hl_class" href="class_i_control.html">IControl</a>* mMouseOver = <span class="keyword">nullptr</span>;</div>
<div class="line"><a id="l01824" name="l01824"></a><span class="lineno"> 1824</span> <a class="code hl_class" href="class_i_control.html">IControl</a>* mInTextEntry = <span class="keyword">nullptr</span>;</div>
<div class="line"><a id="l01825" name="l01825"></a><span class="lineno"> 1825</span> <a class="code hl_class" href="class_i_control.html">IControl</a>* mInPopupMenu = <span class="keyword">nullptr</span>;</div>
<div class="line"><a id="l01826" name="l01826"></a><span class="lineno"> 1826</span> <span class="keywordtype">void</span>* mPlatformContext = <span class="keyword">nullptr</span>;</div>
<div class="line"><a id="l01827" name="l01827"></a><span class="lineno"> 1827</span> <span class="keywordtype">bool</span> mIsContextMenu = <span class="keyword">false</span>;</div>
<div class="line"><a id="l01828" name="l01828"></a><span class="lineno"> 1828</span> <span class="keywordtype">int</span> mTextEntryValIdx = kNoValIdx;</div>
<div class="line"><a id="l01829" name="l01829"></a><span class="lineno"> 1829</span> <span class="keywordtype">int</span> mPopupMenuValIdx = kNoValIdx;</div>
<div class="line"><a id="l01830" name="l01830"></a><span class="lineno"> 1830</span> <span class="keywordtype">int</span> mMouseOverIdx = -1;</div>
<div class="line"><a id="l01831" name="l01831"></a><span class="lineno"> 1831</span> <span class="keywordtype">float</span> mMouseDownX = -1.f;</div>
<div class="line"><a id="l01832" name="l01832"></a><span class="lineno"> 1832</span> <span class="keywordtype">float</span> mMouseDownY = -1.f;</div>
<div class="line"><a id="l01833" name="l01833"></a><span class="lineno"> 1833</span> <span class="keywordtype">float</span> mMinScale;</div>
<div class="line"><a id="l01834" name="l01834"></a><span class="lineno"> 1834</span> <span class="keywordtype">float</span> mMaxScale;</div>
<div class="line"><a id="l01835" name="l01835"></a><span class="lineno"> 1835</span> <span class="keywordtype">int</span> mLastClickedParam = kNoParameter;</div>
<div class="line"><a id="l01836" name="l01836"></a><span class="lineno"> 1836</span> <span class="keywordtype">bool</span> mEnableMouseOver = <span class="keyword">false</span>;</div>
<div class="line"><a id="l01837" name="l01837"></a><span class="lineno"> 1837</span> <span class="keywordtype">bool</span> mStrict = <span class="keyword">false</span>;</div>
<div class="line"><a id="l01838" name="l01838"></a><span class="lineno"> 1838</span> <span class="keywordtype">bool</span> mEnableTooltips = <span class="keyword">false</span>;</div>
<div class="line"><a id="l01839" name="l01839"></a><span class="lineno"> 1839</span> <span class="keywordtype">bool</span> mShowControlBounds = <span class="keyword">false</span>;</div>
<div class="line"><a id="l01840" name="l01840"></a><span class="lineno"> 1840</span> <span class="keywordtype">bool</span> mShowAreaDrawn = <span class="keyword">false</span>;</div>
<div class="line"><a id="l01841" name="l01841"></a><span class="lineno"> 1841</span> <span class="keywordtype">bool</span> mResizingInProcess = <span class="keyword">false</span>;</div>
<div class="line"><a id="l01842" name="l01842"></a><span class="lineno"> 1842</span> <span class="keywordtype">bool</span> mLayoutOnResize = <span class="keyword">false</span>;</div>
<div class="line"><a id="l01843" name="l01843"></a><span class="lineno"> 1843</span> <span class="keywordtype">bool</span> mEnableMultiTouch = <span class="keyword">false</span>;</div>
<div class="line"><a id="l01844" name="l01844"></a><span class="lineno"> 1844</span> EUIResizerMode mGUISizeMode = EUIResizerMode::Scale;</div>
<div class="line"><a id="l01845" name="l01845"></a><span class="lineno"> 1845</span> <span class="keywordtype">double</span> mPrevTimestamp = 0.;</div>
<div class="line"><a id="l01846" name="l01846"></a><span class="lineno"> 1846</span> IKeyHandlerFunc mKeyHandlerFunc = <span class="keyword">nullptr</span>;</div>
<div class="line"><a id="l01847" name="l01847"></a><span class="lineno"> 1847</span> IDisplayTickFunc mDisplayTickFunc = <span class="keyword">nullptr</span>;</div>
<div class="line"><a id="l01848" name="l01848"></a><span class="lineno"> 1848</span> IUIAppearanceChangedFunc mAppearanceChangedFunc = <span class="keyword">nullptr</span>;</div>
<div class="line"><a id="l01849" name="l01849"></a><span class="lineno"> 1849</span> </div>
<div class="line"><a id="l01850" name="l01850"></a><span class="lineno"> 1850</span><span class="keyword">protected</span>:</div>
<div class="line"><a id="l01851" name="l01851"></a><span class="lineno"> 1851</span> <a class="code hl_class" href="class_i_g_editor_delegate.html">IGEditorDelegate</a>* mDelegate;</div>
<div class="line"><a id="l01852" name="l01852"></a><span class="lineno"> 1852</span> <span class="keywordtype">bool</span> mCursorHidden = <span class="keyword">false</span>;</div>
<div class="line"><a id="l01853" name="l01853"></a><span class="lineno"> 1853</span> <span class="keywordtype">bool</span> mCursorLock = <span class="keyword">false</span>;</div>
<div class="line"><a id="l01854" name="l01854"></a><span class="lineno"> 1854</span> <span class="keywordtype">bool</span> mTabletInput = <span class="keyword">false</span>;</div>
<div class="line"><a id="l01855" name="l01855"></a><span class="lineno"> 1855</span> <span class="keywordtype">float</span> mCursorX = -1.f;</div>
<div class="line"><a id="l01856" name="l01856"></a><span class="lineno"> 1856</span> <span class="keywordtype">float</span> mCursorY = -1.f;</div>
<div class="line"><a id="l01857" name="l01857"></a><span class="lineno"> 1857</span> <span class="keywordtype">float</span> mXTranslation = 0.f;</div>
<div class="line"><a id="l01858" name="l01858"></a><span class="lineno"> 1858</span> <span class="keywordtype">float</span> mYTranslation = 0.f;</div>
<div class="line"><a id="l01859" name="l01859"></a><span class="lineno"> 1859</span> </div>
<div class="line"><a id="l01860" name="l01860"></a><span class="lineno"> 1860</span> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code hl_class" href="class_i_graphics_live_edit.html">IGraphicsLiveEdit</a>;</div>
<div class="line"><a id="l01861" name="l01861"></a><span class="lineno"> 1861</span> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code hl_class" href="class_i_corner_resizer_control.html">ICornerResizerControl</a>;</div>
<div class="line"><a id="l01862" name="l01862"></a><span class="lineno"> 1862</span> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code hl_class" href="class_i_text_entry_control.html">ITextEntryControl</a>;</div>
<div class="line"><a id="l01863" name="l01863"></a><span class="lineno"> 1863</span> </div>
<div class="line"><a id="l01864" name="l01864"></a><span class="lineno"> 1864</span> std::stack<ILayer*> mLayers;</div>
<div class="line"><a id="l01865" name="l01865"></a><span class="lineno"> 1865</span> </div>
<div class="line"><a id="l01866" name="l01866"></a><span class="lineno"> 1866</span> <a class="code hl_struct" href="struct_i_r_e_c_t.html">IRECT</a> mClipRECT;</div>
<div class="line"><a id="l01867" name="l01867"></a><span class="lineno"> 1867</span> <a class="code hl_struct" href="struct_i_matrix.html">IMatrix</a> mTransform;</div>
<div class="line"><a id="l01868" name="l01868"></a><span class="lineno"> 1868</span> std::stack<IMatrix> mTransformStates;</div>
<div class="line"><a id="l01869" name="l01869"></a><span class="lineno"> 1869</span>};</div>
<div class="line"><a id="l01870" name="l01870"></a><span class="lineno"> 1870</span> </div>
<div class="line"><a id="l01871" name="l01871"></a><span class="lineno"> 1871</span>END_IGRAPHICS_NAMESPACE</div>
<div class="line"><a id="l01872" name="l01872"></a><span class="lineno"> 1872</span>END_IPLUG_NAMESPACE</div>
<div class="ttc" id="a_i_graphics_editor_delegate_8h_html"><div class="ttname"><a href="_i_graphics_editor_delegate_8h.html">IGraphicsEditorDelegate.h</a></div></div>
<div class="ttc" id="a_i_graphics_popup_menu_8h_html"><div class="ttname"><a href="_i_graphics_popup_menu_8h.html">IGraphicsPopupMenu.h</a></div></div>
<div class="ttc" id="a_i_plug_constants_8h_html"><div class="ttname"><a href="_i_plug_constants_8h.html">IPlugConstants.h</a></div><div class="ttdoc">IPlug Constant definitions, Types, magic numbers.</div></div>
<div class="ttc" id="a_i_plug_logger_8h_html"><div class="ttname"><a href="_i_plug_logger_8h.html">IPlugLogger.h</a></div><div class="ttdoc">IPlug logging a.k.a tracing functionality.</div></div>
<div class="ttc" id="a_i_plug_paths_8h_html"><div class="ttname"><a href="_i_plug_paths_8h.html">IPlugPaths.h</a></div><div class="ttdoc">Common paths useful for plug-ins.</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_bubble_control_html"><div class="ttname"><a href="class_i_bubble_control.html">IBubbleControl</a></div><div class="ttdoc">A special control to draw contextual info as a slider etc is moved If used in the main IControl stack...</div><div class="ttdef"><b>Definition:</b> <a href="_i_bubble_control_8h_source.html#l00027">IBubbleControl.h:28</a></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_corner_resizer_control_html"><div class="ttname"><a href="class_i_corner_resizer_control.html">ICornerResizerControl</a></div><div class="ttdoc">A control for resizing the plug-in window by clicking and dragging in the bottom right-hand corner Th...</div><div class="ttdef"><b>Definition:</b> <a href="_i_corner_resizer_control_8h_source.html#l00026">ICornerResizerControl.h:27</a></div></div>
<div class="ttc" id="aclass_i_f_p_s_display_control_html"><div class="ttname"><a href="class_i_f_p_s_display_control.html">IFPSDisplayControl</a></div><div class="ttdoc">Performance display meter, based on code from NanoVG This is a special control that lives outside the...</div><div class="ttdef"><b>Definition:</b> <a href="_i_f_p_s_display_control_8h_source.html#l00027">IFPSDisplayControl.h:29</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_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_a01594da5721a4f188a0592a50a88f18d"><div class="ttname"><a href="class_i_graphics.html#a01594da5721a4f188a0592a50a88f18d">IGraphics::ControlIsCaptured</a></div><div class="ttdeci">bool ControlIsCaptured() const</div><div class="ttdoc">Check to see if any control is captured.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_8h_source.html#l01400">IGraphics.h:1400</a></div></div>
<div class="ttc" id="aclass_i_graphics_html_a015f2ebfe0cbbe9701581fda749c3d10"><div class="ttname"><a href="class_i_graphics.html#a015f2ebfe0cbbe9701581fda749c3d10">IGraphics::EnableTooltips</a></div><div class="ttdeci">void EnableTooltips(bool enable)</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_8cpp_source.html#l01535">IGraphics.cpp:1535</a></div></div>
<div class="ttc" id="aclass_i_graphics_html_a051667c6331487eb3d7fb8391cfe59ce"><div class="ttname"><a href="class_i_graphics.html#a051667c6331487eb3d7fb8391cfe59ce">IGraphics::CreatePopupMenu</a></div><div class="ttdeci">void CreatePopupMenu(IControl &control, IPopupMenu &menu, float x, float y, int valIdx=0)</div><div class="ttdoc">Shows a pop up/contextual menu at point.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_8h_source.html#l01038">IGraphics.h:1038</a></div></div>
<div class="ttc" id="aclass_i_graphics_html_a056c8ae37821338c32091e6b228429a9"><div class="ttname"><a href="class_i_graphics.html#a056c8ae37821338c32091e6b228429a9">IGraphics::DoMeasureText</a></div><div class="ttdeci">virtual float DoMeasureText(const IText &text, const char *str, IRECT &bounds) const =0</div></div>
<div class="ttc" id="aclass_i_graphics_html_a071829183885ec7116672576576230ee"><div class="ttname"><a href="class_i_graphics.html#a071829183885ec7116672576576230ee">IGraphics::SetFilePathInClipboard</a></div><div class="ttdeci">virtual bool SetFilePathInClipboard(const char *path)</div><div class="ttdoc">Set a file path in the clipboard.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_8h_source.html#l00866">IGraphics.h:866</a></div></div>
<div class="ttc" id="aclass_i_graphics_html_a086bf6e4a259ae066d31065d2b649325"><div class="ttname"><a href="class_i_graphics.html#a086bf6e4a259ae066d31065d2b649325">IGraphics::ClientToScreen</a></div><div class="ttdeci">virtual void ClientToScreen(float &x, float &y)</div><div class="ttdoc">Convert an x, y position in the view to screen coordinates.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_8h_source.html#l00940">IGraphics.h:940</a></div></div>
<div class="ttc" id="aclass_i_graphics_html_a095c4538eeda7ff3647214563bb559ec"><div class="ttname"><a href="class_i_graphics.html#a095c4538eeda7ff3647214563bb559ec">IGraphics::Resize</a></div><div class="ttdeci">void Resize(int w, int h, float scale, bool needsPlatformResize=true)</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_8cpp_source.html#l00090">IGraphics.cpp:90</a></div></div>
<div class="ttc" id="aclass_i_graphics_html_a0a19fce9b0942bd2c771310a21c21e3c"><div class="ttname"><a href="class_i_graphics.html#a0a19fce9b0942bd2c771310a21c21e3c">IGraphics::DrawRotatedSVG</a></div><div class="ttdeci">virtual void DrawRotatedSVG(const ISVG &svg, float destCentreX, float destCentreY, float width, float height, double angle, const IBlend *pBlend=0)</div><div class="ttdoc">Draw an SVG image to the graphics context with rotation.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_8cpp_source.html#l02805">IGraphics.cpp:2805</a></div></div>
<div class="ttc" id="aclass_i_graphics_html_a0a7bba668c103968e96fad159173eff3"><div class="ttname"><a href="class_i_graphics.html#a0a7bba668c103968e96fad159173eff3">IGraphics::DrawRect</a></div><div class="ttdeci">virtual void DrawRect(const IColor &color, const IRECT &bounds, const IBlend *pBlend=0, float thickness=1.f)</div><div class="ttdoc">Draw a rectangle to the graphics context.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_8cpp_source.html#l02505">IGraphics.cpp:2505</a></div></div>
<div class="ttc" id="aclass_i_graphics_html_a0bcc23658db1c57afc04e0aa99f89e91"><div class="ttname"><a href="class_i_graphics.html#a0bcc23658db1c57afc04e0aa99f89e91">IGraphics::PlatformSupportsMultiTouch</a></div><div class="ttdeci">virtual bool PlatformSupportsMultiTouch() const</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_8h_source.html#l01169">IGraphics.h:1169</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_a0cc51e1ceea5f4f5cdeae981a559f5ff"><div class="ttname"><a href="class_i_graphics.html#a0cc51e1ceea5f4f5cdeae981a559f5ff">IGraphics::PopLayer</a></div><div class="ttdeci">ILayer * PopLayer()</div><div class="ttdoc">Pop a layer off the stack.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_8cpp_source.html#l02022">IGraphics.cpp:2022</a></div></div>
<div class="ttc" id="aclass_i_graphics_html_a0cea90284e81160f5ae49dade3494cd6"><div class="ttname"><a href="class_i_graphics.html#a0cea90284e81160f5ae49dade3494cd6">IGraphics::DrawConvexPolygon</a></div><div class="ttdeci">virtual void DrawConvexPolygon(const IColor &color, float *x, float *y, int nPoints, const IBlend *pBlend=0, float thickness=1.f)</div><div class="ttdoc">Draw a convex polygon to the graphics context.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_8cpp_source.html#l02526">IGraphics.cpp:2526</a></div></div>
<div class="ttc" id="aclass_i_graphics_html_a0d23572c0f154262ff7dc7387bf7c3d1"><div class="ttname"><a href="class_i_graphics.html#a0d23572c0f154262ff7dc7387bf7c3d1">IGraphics::OpenURL</a></div><div class="ttdeci">virtual bool OpenURL(const char *url, const char *msgWindowTitle=0, const char *confirmMsg=0, const char *errMsgOnFailure=0)=0</div><div class="ttdoc">Open a URL in the platform’s default browser.</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_a0e26bc7dc03e5c53bbdbfef6456b29f3"><div class="ttname"><a href="class_i_graphics.html#a0e26bc7dc03e5c53bbdbfef6456b29f3">IGraphics::LoadPlatformFont</a></div><div class="ttdeci">virtual PlatformFontPtr LoadPlatformFont(const char *fontID, const char *fontName, ETextStyle style)=0</div><div class="ttdoc">Load a system font in a platform format.</div></div>
<div class="ttc" id="aclass_i_graphics_html_a1024927d82ab5b8009177bb70fa6ee3b"><div class="ttname"><a href="class_i_graphics.html#a1024927d82ab5b8009177bb70fa6ee3b">IGraphics::DrawFittedBitmap</a></div><div class="ttdeci">virtual void DrawFittedBitmap(const IBitmap &bitmap, const IRECT &bounds, const IBlend *pBlend=0)</div><div class="ttdoc">Draw a bitmap (raster) image to the graphics context, scaling the image to fit the bounds.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_8cpp_source.html#l02782">IGraphics.cpp:2782</a></div></div>
<div class="ttc" id="aclass_i_graphics_html_a1136c5d3d11ca6fbe3c4b5cbc7e7932b"><div class="ttname"><a href="class_i_graphics.html#a1136c5d3d11ca6fbe3c4b5cbc7e7932b">IGraphics::DrawBitmapedText</a></div><div class="ttdeci">void DrawBitmapedText(const IBitmap &bitmap, const IRECT &bounds, IText &text, IBlend *pBlend, const char *str, bool vCenter=true, bool multiline=false, int charWidth=6, int charHeight=12, int charOffset=0)</div><div class="ttdoc">Draws mono spaced bitmap text.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_8cpp_source.html#l00722">IGraphics.cpp:722</a></div></div>
<div class="ttc" id="aclass_i_graphics_html_a11ecdf445769da518b5366ec7e27da36"><div class="ttname"><a href="class_i_graphics.html#a11ecdf445769da518b5366ec7e27da36">IGraphics::AttachPopupMenuControl</a></div><div class="ttdeci">void AttachPopupMenuControl(const IText &text=DEFAULT_TEXT, const IRECT &bounds=IRECT())</div><div class="ttdoc">Attach a control for pop-up menus, to override platform style menus.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_8cpp_source.html#l00364">IGraphics.cpp:364</a></div></div>
<div class="ttc" id="aclass_i_graphics_html_a12160743db0e8acff868992756cf5899"><div class="ttname"><a href="class_i_graphics.html#a12160743db0e8acff868992756cf5899">IGraphics::DrawPoint</a></div><div class="ttdeci">virtual void DrawPoint(const IColor &color, float x, float y, const IBlend *pBlend=0)</div><div class="ttdoc">Fill a rectangle corresponding to a pixel on a 1:1 screen with a color.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_8cpp_source.html#l02419">IGraphics.cpp:2419</a></div></div>
<div class="ttc" id="aclass_i_graphics_html_a148c1d7432a7db81a59a3b954c1c7a0b"><div class="ttname"><a href="class_i_graphics.html#a148c1d7432a7db81a59a3b954c1c7a0b">IGraphics::RemoveControl</a></div><div class="ttdeci">void RemoveControl(int idx)</div><div class="ttdoc">Remove a control at a particular index, (frees memory).</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_8cpp_source.html#l00167">IGraphics.cpp:167</a></div></div>
<div class="ttc" id="aclass_i_graphics_html_a159028725f47a51160cf69da2a51e603"><div class="ttname"><a href="class_i_graphics.html#a159028725f47a51160cf69da2a51e603">IGraphics::DeleteFromPopupMenu</a></div><div class="ttdeci">void DeleteFromPopupMenu(IPopupMenu *pMenu, int itemIdx)</div><div class="ttdoc">Called by IOS platform (or other supported platforms) in order to update a control with a deletion in...</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_8cpp_source.html#l00280">IGraphics.cpp:280</a></div></div>
<div class="ttc" id="aclass_i_graphics_html_a171f1716503a3fe1abcee32ab7413b67"><div class="ttname"><a href="class_i_graphics.html#a171f1716503a3fe1abcee32ab7413b67">IGraphics::GetBundleID</a></div><div class="ttdeci">virtual const char * GetBundleID() const</div><div class="ttdoc">Get the bundle ID on macOS and iOS, returns emtpy string on other OSs.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_8h_source.html#l00968">IGraphics.h:968</a></div></div>
<div class="ttc" id="aclass_i_graphics_html_a177f86a9b78124e30aa65302187e8761"><div class="ttname"><a href="class_i_graphics.html#a177f86a9b78124e30aa65302187e8761">IGraphics::PathConvexPolygon</a></div><div class="ttdeci">void PathConvexPolygon(float *x, float *y, int nPoints)</div><div class="ttdoc">Add a convex polygon to the current path.</div><div class="ttdef"><b>Definition:</b> <a href="_i_graphics_8cpp_source.html#l02703">IGraphics.cpp:2703</a></div></div>