aboutsummaryrefslogtreecommitdiffstats
path: root/dev/MinGfx/docs/html/text__shader_8h_source.html
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2021-09-20 18:15:14 -0500
committerMatt Strapp <matt@mattstrapp.net>2021-09-20 18:15:14 -0500
commit342403a02f8063903d0f38327430721d4d0ae331 (patch)
tree29d020a27bc16939c568dd4b29166566d1c0e658 /dev/MinGfx/docs/html/text__shader_8h_source.html
parentFix parenthesis (diff)
downloadcsci4611-342403a02f8063903d0f38327430721d4d0ae331.tar
csci4611-342403a02f8063903d0f38327430721d4d0ae331.tar.gz
csci4611-342403a02f8063903d0f38327430721d4d0ae331.tar.bz2
csci4611-342403a02f8063903d0f38327430721d4d0ae331.tar.lz
csci4611-342403a02f8063903d0f38327430721d4d0ae331.tar.xz
csci4611-342403a02f8063903d0f38327430721d4d0ae331.tar.zst
csci4611-342403a02f8063903d0f38327430721d4d0ae331.zip
Diffstat (limited to 'dev/MinGfx/docs/html/text__shader_8h_source.html')
-rw-r--r--dev/MinGfx/docs/html/text__shader_8h_source.html458
1 files changed, 229 insertions, 229 deletions
diff --git a/dev/MinGfx/docs/html/text__shader_8h_source.html b/dev/MinGfx/docs/html/text__shader_8h_source.html
index 7c88741..9147294 100644
--- a/dev/MinGfx/docs/html/text__shader_8h_source.html
+++ b/dev/MinGfx/docs/html/text__shader_8h_source.html
@@ -1,229 +1,229 @@
-<!-- HTML header for doxygen 1.8.9.1-->
-<!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.1"/>
-<title>MinGfx Toolkit: src/text_shader.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="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
-<link href="doxygen.css" rel="stylesheet" type="text/css" />
-<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
-</head>
-<body>
-<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
-<div id="titlearea">
-<table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td style="padding-left: 0.5em;">
- <div id="projectname">MinGfx Toolkit
- &#160;<span id="projectnumber">1.0</span>
- </div>
- <div id="projectbrief">A minimal library for writing cross-platform (Windows, OSX, linux) graphics programs.</div>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-<!-- end header part -->
-<!-- Generated by Doxygen 1.9.1 -->
-<script type="text/javascript">
-/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
-var searchBox = new SearchBox("searchBox", "search",false,'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:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
-$(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">
-<iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
-</iframe>
-</div>
-
-<div id="nav-path" class="navpath">
- <ul>
-<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
-</div>
-</div><!-- top -->
-<div class="header">
- <div class="headertitle">
-<div class="title">text_shader.h</div> </div>
-</div><!--header-->
-<div class="contents">
-<a href="text__shader_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div>
-<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> This file is part of the MinGfx Project.</span></div>
-<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> </span></div>
-<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> Copyright (c) 2017,2018 Regents of the University of Minnesota.</span></div>
-<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> All Rights Reserved.</span></div>
-<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> </span></div>
-<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> Original Author(s) of this File:</span></div>
-<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> Dan Keefe, 2018, University of Minnesota</span></div>
-<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> </span></div>
-<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> Author(s) of Significant Updates/Modifications to the File:</span></div>
-<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> ...</span></div>
-<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> */</span></div>
-<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160; </div>
-<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#ifndef SRC_TEXT_SHADER_H_</span></div>
-<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#define SRC_TEXT_SHADER_H_</span></div>
-<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; </div>
-<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
-<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &lt;map&gt;</span></div>
-<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; </div>
-<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="matrix4_8h.html">matrix4.h</a>&quot;</span></div>
-<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="mesh_8h.html">mesh.h</a>&quot;</span></div>
-<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="shader__program_8h.html">shader_program.h</a>&quot;</span></div>
-<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="texture2d_8h.html">texture2d.h</a>&quot;</span></div>
-<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; </div>
-<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="comment">// disable warnings for this 3rd party code</span></div>
-<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#pragma warning ( push, 0 )</span></div>
-<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;stb_truetype.h&gt;</span></div>
-<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#pragma warning ( pop )</span></div>
-<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; </div>
-<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacemingfx.html">mingfx</a> {</div>
-<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; </div>
-<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; </div>
-<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; </div>
-<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader.html"> 36</a></span>&#160;<span class="keyword">class </span><a class="code" href="classmingfx_1_1_text_shader.html">TextShader</a> {</div>
-<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="keyword">public</span>:</div>
-<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader.html#a0ec5a6ba22abb3f86c611107925fca67"> 38</a></span>&#160; <a class="code" href="classmingfx_1_1_text_shader.html#a0ec5a6ba22abb3f86c611107925fca67">TextShader</a>();</div>
-<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader.html#a457f7a42eceb957cdb103664dd864feb"> 39</a></span>&#160; <span class="keyword">virtual</span> <a class="code" href="classmingfx_1_1_text_shader.html#a457f7a42eceb957cdb103664dd864feb">~TextShader</a>();</div>
-<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; </div>
-<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader.html#ad60a8b572adc30dad47e2d163dc603a3"> 45</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classmingfx_1_1_text_shader.html#ad60a8b572adc30dad47e2d163dc603a3">Init</a>(<span class="keyword">const</span> std::string &amp;font_file, <span class="keywordtype">int</span> <a class="code" href="classmingfx_1_1_text_shader.html#a707b2b36547db78d19139575003c8a0d">native_font_size</a>);</div>
-<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; </div>
-<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader.html#af464d970e6475a2176f21c3f4b24c63c"> 47</a></span>&#160; <span class="keyword">enum class</span> <a class="code" href="classmingfx_1_1_text_shader.html#af464d970e6475a2176f21c3f4b24c63c">HorizAlign</a> {</div>
-<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <a class="code" href="classmingfx_1_1_text_shader.html#af464d970e6475a2176f21c3f4b24c63ca8e6d89d62375493a3cc1fb5dba289f92">HORIZ_ALIGN_LEFT</a>,</div>
-<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <a class="code" href="classmingfx_1_1_text_shader.html#af464d970e6475a2176f21c3f4b24c63ca5089ab07b80a999b45667e5711cae1f4">HORIZ_ALIGN_CENTER</a>,</div>
-<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <a class="code" href="classmingfx_1_1_text_shader.html#af464d970e6475a2176f21c3f4b24c63ca6999f9ad8384a34813e7535baf44f78b">HORIZ_ALIGN_RIGHT</a></div>
-<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; };</div>
-<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; </div>
-<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader.html#a7624918a2d157cf2880fc8858c00db2a"> 53</a></span>&#160; <span class="keyword">enum class</span> <a class="code" href="classmingfx_1_1_text_shader.html#a7624918a2d157cf2880fc8858c00db2a">VertAlign</a> {</div>
-<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <a class="code" href="classmingfx_1_1_text_shader.html#a7624918a2d157cf2880fc8858c00db2aa970e4fcd7c426e6cd49709119fba6e04">VERT_ALIGN_TOP</a>,</div>
-<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <a class="code" href="classmingfx_1_1_text_shader.html#a7624918a2d157cf2880fc8858c00db2aac49ae9c9553284e44f90228b9ce647af">VERT_ALIGN_CENTER</a>,</div>
-<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <a class="code" href="classmingfx_1_1_text_shader.html#a7624918a2d157cf2880fc8858c00db2aa0400d0d77ea6770b313eedaf36fe71bb">VERT_ALIGN_BASELINE</a>,</div>
-<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <a class="code" href="classmingfx_1_1_text_shader.html#a7624918a2d157cf2880fc8858c00db2aa080e12cacc0f01b361c8b93c73dd2e28">VERT_ALIGN_BOTTOM</a></div>
-<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; };</div>
-<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; </div>
-<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader_1_1_text_format.html"> 60</a></span>&#160; <span class="keyword">class </span><a class="code" href="classmingfx_1_1_text_shader_1_1_text_format.html">TextFormat</a> {</div>
-<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keyword">public</span>:</div>
-<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="comment">// constructor sets defaults</span></div>
-<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader_1_1_text_format.html#a2b7d7e2e540c881952b97b8948b49fcb"> 63</a></span>&#160; <a class="code" href="classmingfx_1_1_text_shader_1_1_text_format.html#a2b7d7e2e540c881952b97b8948b49fcb">TextFormat</a>() :</div>
-<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <a class="code" href="classmingfx_1_1_text_shader_1_1_text_format.html#aeecda817624276f0cfb812ddcdbbc2f0">size</a>(0.1f),</div>
-<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <a class="code" href="classmingfx_1_1_text_shader_1_1_text_format.html#af0483874ac3fcea58b6ff99ef6644ff7">color</a>(1,1,1,1),</div>
-<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <a class="code" href="classmingfx_1_1_text_shader_1_1_text_format.html#acde55d28b0446e788e6c68b85df83066">h_align</a>(<a class="code" href="classmingfx_1_1_text_shader.html#af464d970e6475a2176f21c3f4b24c63c">HorizAlign</a>::HORIZ_ALIGN_CENTER),</div>
-<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <a class="code" href="classmingfx_1_1_text_shader_1_1_text_format.html#a8455382a6829022020eb307ae9168bd7">v_align</a>(<a class="code" href="classmingfx_1_1_text_shader.html#a7624918a2d157cf2880fc8858c00db2a">VertAlign</a>::VERT_ALIGN_BASELINE) {}</div>
-<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; </div>
-<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader_1_1_text_format.html#aeecda817624276f0cfb812ddcdbbc2f0"> 69</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_text_shader_1_1_text_format.html#aeecda817624276f0cfb812ddcdbbc2f0">size</a>;</div>
-<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader_1_1_text_format.html#af0483874ac3fcea58b6ff99ef6644ff7"> 70</a></span>&#160; <a class="code" href="classmingfx_1_1_color.html">Color</a> <a class="code" href="classmingfx_1_1_text_shader_1_1_text_format.html#af0483874ac3fcea58b6ff99ef6644ff7">color</a>;</div>
-<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader_1_1_text_format.html#acde55d28b0446e788e6c68b85df83066"> 71</a></span>&#160; <a class="code" href="classmingfx_1_1_text_shader.html#af464d970e6475a2176f21c3f4b24c63c">HorizAlign</a> <a class="code" href="classmingfx_1_1_text_shader_1_1_text_format.html#acde55d28b0446e788e6c68b85df83066">h_align</a>;</div>
-<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader_1_1_text_format.html#a8455382a6829022020eb307ae9168bd7"> 72</a></span>&#160; <a class="code" href="classmingfx_1_1_text_shader.html#a7624918a2d157cf2880fc8858c00db2a">VertAlign</a> <a class="code" href="classmingfx_1_1_text_shader_1_1_text_format.html#a8455382a6829022020eb307ae9168bd7">v_align</a>;</div>
-<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; };</div>
-<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; </div>
-<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; </div>
-<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="comment">//void Draw2D(const Point2 &amp;pos,</span></div>
-<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="comment">// const std::string &amp;text, TextFormat format, bool cache=false);</span></div>
-<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; </div>
-<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; </div>
-<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader.html#a2caaaf2decfac523b476951474e9a359"> 80</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classmingfx_1_1_text_shader.html#a2caaaf2decfac523b476951474e9a359">Draw3D</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> &amp;model, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> &amp;view, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> &amp;projection,</div>
-<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keyword">const</span> std::string &amp;text, <a class="code" href="classmingfx_1_1_text_shader_1_1_text_format.html">TextFormat</a> format, <span class="keywordtype">bool</span> cache=<span class="keyword">false</span>);</div>
-<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; </div>
-<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; </div>
-<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader.html#ac4e9a150311fe6d74e9f6214ebeb6b28"> 84</a></span>&#160; <a class="code" href="classmingfx_1_1_vector2.html">Vector2</a> <a class="code" href="classmingfx_1_1_text_shader.html#ac4e9a150311fe6d74e9f6214ebeb6b28">TextExtents</a>(<span class="keyword">const</span> std::string &amp;text, <a class="code" href="classmingfx_1_1_text_shader_1_1_text_format.html">TextFormat</a> format, <span class="keywordtype">bool</span> cache=<span class="keyword">false</span>);</div>
-<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; </div>
-<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader.html#a707b2b36547db78d19139575003c8a0d"> 86</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_text_shader.html#a707b2b36547db78d19139575003c8a0d">native_font_size</a>();</div>
-<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; </div>
-<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;<span class="keyword">private</span>:</div>
-<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <a class="code" href="classmingfx_1_1_texture2_d.html">Texture2D</a> atlas_;</div>
-<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <span class="keywordtype">float</span> native_font_size_;</div>
-<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; </div>
-<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; stbtt_packedchar chardata_[128];</div>
-<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; </div>
-<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <span class="keyword">struct </span>MeshData {</div>
-<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <a class="code" href="classmingfx_1_1_mesh.html">Mesh</a> mesh;</div>
-<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <a class="code" href="classmingfx_1_1_point2.html">Point2</a> min;</div>
-<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <a class="code" href="classmingfx_1_1_point2.html">Point2</a> max;</div>
-<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; };</div>
-<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; </div>
-<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="keywordtype">void</span> SetTextMesh(<span class="keyword">const</span> std::string &amp;text, MeshData *md);</div>
-<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; </div>
-<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; std::map&lt;std::string, MeshData&gt; cache_;</div>
-<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; MeshData tmp_md_;</div>
-<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; </div>
-<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <a class="code" href="classmingfx_1_1_shader_program.html">ShaderProgram</a> shader_;</div>
-<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;};</div>
-<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; </div>
-<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;} <span class="comment">// end namespace</span></div>
-<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; </div>
-<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;<span class="preprocessor">#endif</span></div>
-<div class="ttc" id="aclassmingfx_1_1_color_html"><div class="ttname"><a href="classmingfx_1_1_color.html">mingfx::Color</a></div><div class="ttdoc">Represents a 4-component (R,G,B,A) color, stored internally in a float array to be compatable with Op...</div><div class="ttdef"><b>Definition:</b> <a href="color_8h_source.html#l00041">color.h:41</a></div></div>
-<div class="ttc" id="aclassmingfx_1_1_matrix4_html"><div class="ttname"><a href="classmingfx_1_1_matrix4.html">mingfx::Matrix4</a></div><div class="ttdoc">A 4x4 transformation matrix stored internally as an array of floats in column-major order so as to be...</div><div class="ttdef"><b>Definition:</b> <a href="matrix4_8h_source.html#l00050">matrix4.h:50</a></div></div>
-<div class="ttc" id="aclassmingfx_1_1_mesh_html"><div class="ttname"><a href="classmingfx_1_1_mesh.html">mingfx::Mesh</a></div><div class="ttdoc">A triangle mesh data structure that can be rendered with a ShaderProgram like DefaultShader.</div><div class="ttdef"><b>Definition:</b> <a href="mesh_8h_source.html#l00127">mesh.h:127</a></div></div>
-<div class="ttc" id="aclassmingfx_1_1_point2_html"><div class="ttname"><a href="classmingfx_1_1_point2.html">mingfx::Point2</a></div><div class="ttdoc">A 2D Point with floating point coordinates, used for storing 2D texture coordinates,...</div><div class="ttdef"><b>Definition:</b> <a href="point2_8h_source.html#l00028">point2.h:28</a></div></div>
-<div class="ttc" id="aclassmingfx_1_1_shader_program_html"><div class="ttname"><a href="classmingfx_1_1_shader_program.html">mingfx::ShaderProgram</a></div><div class="ttdoc">A wrapper around GLSL shader programs.</div><div class="ttdef"><b>Definition:</b> <a href="shader__program_8h_source.html#l00066">shader_program.h:66</a></div></div>
-<div class="ttc" id="aclassmingfx_1_1_text_shader_1_1_text_format_html"><div class="ttname"><a href="classmingfx_1_1_text_shader_1_1_text_format.html">mingfx::TextShader::TextFormat</a></div><div class="ttdef"><b>Definition:</b> <a href="text__shader_8h_source.html#l00060">text_shader.h:60</a></div></div>
-<div class="ttc" id="aclassmingfx_1_1_text_shader_1_1_text_format_html_a2b7d7e2e540c881952b97b8948b49fcb"><div class="ttname"><a href="classmingfx_1_1_text_shader_1_1_text_format.html#a2b7d7e2e540c881952b97b8948b49fcb">mingfx::TextShader::TextFormat::TextFormat</a></div><div class="ttdeci">TextFormat()</div><div class="ttdef"><b>Definition:</b> <a href="text__shader_8h_source.html#l00063">text_shader.h:63</a></div></div>
-<div class="ttc" id="aclassmingfx_1_1_text_shader_1_1_text_format_html_a8455382a6829022020eb307ae9168bd7"><div class="ttname"><a href="classmingfx_1_1_text_shader_1_1_text_format.html#a8455382a6829022020eb307ae9168bd7">mingfx::TextShader::TextFormat::v_align</a></div><div class="ttdeci">VertAlign v_align</div><div class="ttdef"><b>Definition:</b> <a href="text__shader_8h_source.html#l00072">text_shader.h:72</a></div></div>
-<div class="ttc" id="aclassmingfx_1_1_text_shader_1_1_text_format_html_acde55d28b0446e788e6c68b85df83066"><div class="ttname"><a href="classmingfx_1_1_text_shader_1_1_text_format.html#acde55d28b0446e788e6c68b85df83066">mingfx::TextShader::TextFormat::h_align</a></div><div class="ttdeci">HorizAlign h_align</div><div class="ttdef"><b>Definition:</b> <a href="text__shader_8h_source.html#l00071">text_shader.h:71</a></div></div>
-<div class="ttc" id="aclassmingfx_1_1_text_shader_1_1_text_format_html_aeecda817624276f0cfb812ddcdbbc2f0"><div class="ttname"><a href="classmingfx_1_1_text_shader_1_1_text_format.html#aeecda817624276f0cfb812ddcdbbc2f0">mingfx::TextShader::TextFormat::size</a></div><div class="ttdeci">float size</div><div class="ttdef"><b>Definition:</b> <a href="text__shader_8h_source.html#l00069">text_shader.h:69</a></div></div>
-<div class="ttc" id="aclassmingfx_1_1_text_shader_1_1_text_format_html_af0483874ac3fcea58b6ff99ef6644ff7"><div class="ttname"><a href="classmingfx_1_1_text_shader_1_1_text_format.html#af0483874ac3fcea58b6ff99ef6644ff7">mingfx::TextShader::TextFormat::color</a></div><div class="ttdeci">Color color</div><div class="ttdef"><b>Definition:</b> <a href="text__shader_8h_source.html#l00070">text_shader.h:70</a></div></div>
-<div class="ttc" id="aclassmingfx_1_1_text_shader_html"><div class="ttname"><a href="classmingfx_1_1_text_shader.html">mingfx::TextShader</a></div><div class="ttdef"><b>Definition:</b> <a href="text__shader_8h_source.html#l00036">text_shader.h:36</a></div></div>
-<div class="ttc" id="aclassmingfx_1_1_text_shader_html_a0ec5a6ba22abb3f86c611107925fca67"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#a0ec5a6ba22abb3f86c611107925fca67">mingfx::TextShader::TextShader</a></div><div class="ttdeci">TextShader()</div></div>
-<div class="ttc" id="aclassmingfx_1_1_text_shader_html_a2caaaf2decfac523b476951474e9a359"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#a2caaaf2decfac523b476951474e9a359">mingfx::TextShader::Draw3D</a></div><div class="ttdeci">void Draw3D(const Matrix4 &amp;model, const Matrix4 &amp;view, const Matrix4 &amp;projection, const std::string &amp;text, TextFormat format, bool cache=false)</div></div>
-<div class="ttc" id="aclassmingfx_1_1_text_shader_html_a457f7a42eceb957cdb103664dd864feb"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#a457f7a42eceb957cdb103664dd864feb">mingfx::TextShader::~TextShader</a></div><div class="ttdeci">virtual ~TextShader()</div></div>
-<div class="ttc" id="aclassmingfx_1_1_text_shader_html_a707b2b36547db78d19139575003c8a0d"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#a707b2b36547db78d19139575003c8a0d">mingfx::TextShader::native_font_size</a></div><div class="ttdeci">float native_font_size()</div></div>
-<div class="ttc" id="aclassmingfx_1_1_text_shader_html_a7624918a2d157cf2880fc8858c00db2a"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#a7624918a2d157cf2880fc8858c00db2a">mingfx::TextShader::VertAlign</a></div><div class="ttdeci">VertAlign</div><div class="ttdef"><b>Definition:</b> <a href="text__shader_8h_source.html#l00053">text_shader.h:53</a></div></div>
-<div class="ttc" id="aclassmingfx_1_1_text_shader_html_a7624918a2d157cf2880fc8858c00db2aa0400d0d77ea6770b313eedaf36fe71bb"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#a7624918a2d157cf2880fc8858c00db2aa0400d0d77ea6770b313eedaf36fe71bb">mingfx::TextShader::VertAlign::VERT_ALIGN_BASELINE</a></div><div class="ttdeci">@ VERT_ALIGN_BASELINE</div></div>
-<div class="ttc" id="aclassmingfx_1_1_text_shader_html_a7624918a2d157cf2880fc8858c00db2aa080e12cacc0f01b361c8b93c73dd2e28"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#a7624918a2d157cf2880fc8858c00db2aa080e12cacc0f01b361c8b93c73dd2e28">mingfx::TextShader::VertAlign::VERT_ALIGN_BOTTOM</a></div><div class="ttdeci">@ VERT_ALIGN_BOTTOM</div></div>
-<div class="ttc" id="aclassmingfx_1_1_text_shader_html_a7624918a2d157cf2880fc8858c00db2aa970e4fcd7c426e6cd49709119fba6e04"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#a7624918a2d157cf2880fc8858c00db2aa970e4fcd7c426e6cd49709119fba6e04">mingfx::TextShader::VertAlign::VERT_ALIGN_TOP</a></div><div class="ttdeci">@ VERT_ALIGN_TOP</div></div>
-<div class="ttc" id="aclassmingfx_1_1_text_shader_html_a7624918a2d157cf2880fc8858c00db2aac49ae9c9553284e44f90228b9ce647af"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#a7624918a2d157cf2880fc8858c00db2aac49ae9c9553284e44f90228b9ce647af">mingfx::TextShader::VertAlign::VERT_ALIGN_CENTER</a></div><div class="ttdeci">@ VERT_ALIGN_CENTER</div></div>
-<div class="ttc" id="aclassmingfx_1_1_text_shader_html_ac4e9a150311fe6d74e9f6214ebeb6b28"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#ac4e9a150311fe6d74e9f6214ebeb6b28">mingfx::TextShader::TextExtents</a></div><div class="ttdeci">Vector2 TextExtents(const std::string &amp;text, TextFormat format, bool cache=false)</div></div>
-<div class="ttc" id="aclassmingfx_1_1_text_shader_html_ad60a8b572adc30dad47e2d163dc603a3"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#ad60a8b572adc30dad47e2d163dc603a3">mingfx::TextShader::Init</a></div><div class="ttdeci">bool Init(const std::string &amp;font_file, int native_font_size)</div><div class="ttdoc">Call this from within the InitOpenGL() function since it will initialize not just the Font's internal...</div></div>
-<div class="ttc" id="aclassmingfx_1_1_text_shader_html_af464d970e6475a2176f21c3f4b24c63c"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#af464d970e6475a2176f21c3f4b24c63c">mingfx::TextShader::HorizAlign</a></div><div class="ttdeci">HorizAlign</div><div class="ttdef"><b>Definition:</b> <a href="text__shader_8h_source.html#l00047">text_shader.h:47</a></div></div>
-<div class="ttc" id="aclassmingfx_1_1_text_shader_html_af464d970e6475a2176f21c3f4b24c63ca5089ab07b80a999b45667e5711cae1f4"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#af464d970e6475a2176f21c3f4b24c63ca5089ab07b80a999b45667e5711cae1f4">mingfx::TextShader::HorizAlign::HORIZ_ALIGN_CENTER</a></div><div class="ttdeci">@ HORIZ_ALIGN_CENTER</div></div>
-<div class="ttc" id="aclassmingfx_1_1_text_shader_html_af464d970e6475a2176f21c3f4b24c63ca6999f9ad8384a34813e7535baf44f78b"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#af464d970e6475a2176f21c3f4b24c63ca6999f9ad8384a34813e7535baf44f78b">mingfx::TextShader::HorizAlign::HORIZ_ALIGN_RIGHT</a></div><div class="ttdeci">@ HORIZ_ALIGN_RIGHT</div></div>
-<div class="ttc" id="aclassmingfx_1_1_text_shader_html_af464d970e6475a2176f21c3f4b24c63ca8e6d89d62375493a3cc1fb5dba289f92"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#af464d970e6475a2176f21c3f4b24c63ca8e6d89d62375493a3cc1fb5dba289f92">mingfx::TextShader::HorizAlign::HORIZ_ALIGN_LEFT</a></div><div class="ttdeci">@ HORIZ_ALIGN_LEFT</div></div>
-<div class="ttc" id="aclassmingfx_1_1_texture2_d_html"><div class="ttname"><a href="classmingfx_1_1_texture2_d.html">mingfx::Texture2D</a></div><div class="ttdoc">A wrapper around a 2D texture that supports loading images from files or setting texture color data d...</div><div class="ttdef"><b>Definition:</b> <a href="texture2d_8h_source.html#l00042">texture2d.h:42</a></div></div>
-<div class="ttc" id="aclassmingfx_1_1_vector2_html"><div class="ttname"><a href="classmingfx_1_1_vector2.html">mingfx::Vector2</a></div><div class="ttdoc">A 2D Vector with floating point coordinates, used for storing 2D translations, mouse movements,...</div><div class="ttdef"><b>Definition:</b> <a href="vector2_8h_source.html#l00028">vector2.h:28</a></div></div>
-<div class="ttc" id="amatrix4_8h_html"><div class="ttname"><a href="matrix4_8h.html">matrix4.h</a></div></div>
-<div class="ttc" id="amesh_8h_html"><div class="ttname"><a href="mesh_8h.html">mesh.h</a></div></div>
-<div class="ttc" id="anamespacemingfx_html"><div class="ttname"><a href="namespacemingfx.html">mingfx</a></div><div class="ttdoc">Namespace for the MinGfx Toolkit.</div><div class="ttdef"><b>Definition:</b> <a href="aabb_8h_source.html#l00021">aabb.h:21</a></div></div>
-<div class="ttc" id="ashader__program_8h_html"><div class="ttname"><a href="shader__program_8h.html">shader_program.h</a></div></div>
-<div class="ttc" id="atexture2d_8h_html"><div class="ttname"><a href="texture2d_8h.html">texture2d.h</a></div></div>
-</div><!-- fragment --></div><!-- contents -->
-<!-- HTML footer for doxygen 1.8.9.1-->
-<!-- start footer part -->
-<hr class="footer"/><address class="footer"><small>
-Generated by &#160;<a href="http://www.doxygen.org/index.html">
-<img class="footer" src="doxygen.png" alt="doxygen"/>
-</a> 1.9.1
-</small></address>
-</body>
-</html>
+<!-- HTML header for doxygen 1.8.9.1-->
+<!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.1"/>
+<title>MinGfx Toolkit: src/text_shader.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="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td style="padding-left: 0.5em;">
+ <div id="projectname">MinGfx Toolkit
+ &#160;<span id="projectnumber">1.0</span>
+ </div>
+ <div id="projectbrief">A minimal library for writing cross-platform (Windows, OSX, linux) graphics programs.</div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.9.1 -->
+<script type="text/javascript">
+/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
+var searchBox = new SearchBox("searchBox", "search",false,'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:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
+$(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">
+<iframe src="javascript:void(0)" frameborder="0"
+ name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">text_shader.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<a href="text__shader_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> This file is part of the MinGfx Project.</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> </span></div>
+<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> Copyright (c) 2017,2018 Regents of the University of Minnesota.</span></div>
+<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> All Rights Reserved.</span></div>
+<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> </span></div>
+<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> Original Author(s) of this File:</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> Dan Keefe, 2018, University of Minnesota</span></div>
+<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> </span></div>
+<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> Author(s) of Significant Updates/Modifications to the File:</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> ...</span></div>
+<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> */</span></div>
+<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160; </div>
+<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#ifndef SRC_TEXT_SHADER_H_</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#define SRC_TEXT_SHADER_H_</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; </div>
+<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
+<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &lt;map&gt;</span></div>
+<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; </div>
+<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="matrix4_8h.html">matrix4.h</a>&quot;</span></div>
+<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="mesh_8h.html">mesh.h</a>&quot;</span></div>
+<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="shader__program_8h.html">shader_program.h</a>&quot;</span></div>
+<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="texture2d_8h.html">texture2d.h</a>&quot;</span></div>
+<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; </div>
+<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="comment">// disable warnings for this 3rd party code</span></div>
+<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#pragma warning ( push, 0 )</span></div>
+<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;stb_truetype.h&gt;</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#pragma warning ( pop )</span></div>
+<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; </div>
+<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacemingfx.html">mingfx</a> {</div>
+<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; </div>
+<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; </div>
+<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; </div>
+<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader.html"> 36</a></span>&#160;<span class="keyword">class </span><a class="code" href="classmingfx_1_1_text_shader.html">TextShader</a> {</div>
+<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="keyword">public</span>:</div>
+<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader.html#a0ec5a6ba22abb3f86c611107925fca67"> 38</a></span>&#160; <a class="code" href="classmingfx_1_1_text_shader.html#a0ec5a6ba22abb3f86c611107925fca67">TextShader</a>();</div>
+<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader.html#a457f7a42eceb957cdb103664dd864feb"> 39</a></span>&#160; <span class="keyword">virtual</span> <a class="code" href="classmingfx_1_1_text_shader.html#a457f7a42eceb957cdb103664dd864feb">~TextShader</a>();</div>
+<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; </div>
+<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader.html#ad60a8b572adc30dad47e2d163dc603a3"> 45</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classmingfx_1_1_text_shader.html#ad60a8b572adc30dad47e2d163dc603a3">Init</a>(<span class="keyword">const</span> std::string &amp;font_file, <span class="keywordtype">int</span> <a class="code" href="classmingfx_1_1_text_shader.html#a707b2b36547db78d19139575003c8a0d">native_font_size</a>);</div>
+<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; </div>
+<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader.html#af464d970e6475a2176f21c3f4b24c63c"> 47</a></span>&#160; <span class="keyword">enum class</span> <a class="code" href="classmingfx_1_1_text_shader.html#af464d970e6475a2176f21c3f4b24c63c">HorizAlign</a> {</div>
+<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <a class="code" href="classmingfx_1_1_text_shader.html#af464d970e6475a2176f21c3f4b24c63ca8e6d89d62375493a3cc1fb5dba289f92">HORIZ_ALIGN_LEFT</a>,</div>
+<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <a class="code" href="classmingfx_1_1_text_shader.html#af464d970e6475a2176f21c3f4b24c63ca5089ab07b80a999b45667e5711cae1f4">HORIZ_ALIGN_CENTER</a>,</div>
+<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <a class="code" href="classmingfx_1_1_text_shader.html#af464d970e6475a2176f21c3f4b24c63ca6999f9ad8384a34813e7535baf44f78b">HORIZ_ALIGN_RIGHT</a></div>
+<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; };</div>
+<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; </div>
+<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader.html#a7624918a2d157cf2880fc8858c00db2a"> 53</a></span>&#160; <span class="keyword">enum class</span> <a class="code" href="classmingfx_1_1_text_shader.html#a7624918a2d157cf2880fc8858c00db2a">VertAlign</a> {</div>
+<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <a class="code" href="classmingfx_1_1_text_shader.html#a7624918a2d157cf2880fc8858c00db2aa970e4fcd7c426e6cd49709119fba6e04">VERT_ALIGN_TOP</a>,</div>
+<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <a class="code" href="classmingfx_1_1_text_shader.html#a7624918a2d157cf2880fc8858c00db2aac49ae9c9553284e44f90228b9ce647af">VERT_ALIGN_CENTER</a>,</div>
+<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <a class="code" href="classmingfx_1_1_text_shader.html#a7624918a2d157cf2880fc8858c00db2aa0400d0d77ea6770b313eedaf36fe71bb">VERT_ALIGN_BASELINE</a>,</div>
+<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <a class="code" href="classmingfx_1_1_text_shader.html#a7624918a2d157cf2880fc8858c00db2aa080e12cacc0f01b361c8b93c73dd2e28">VERT_ALIGN_BOTTOM</a></div>
+<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; };</div>
+<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; </div>
+<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader_1_1_text_format.html"> 60</a></span>&#160; <span class="keyword">class </span><a class="code" href="classmingfx_1_1_text_shader_1_1_text_format.html">TextFormat</a> {</div>
+<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="comment">// constructor sets defaults</span></div>
+<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader_1_1_text_format.html#a2b7d7e2e540c881952b97b8948b49fcb"> 63</a></span>&#160; <a class="code" href="classmingfx_1_1_text_shader_1_1_text_format.html#a2b7d7e2e540c881952b97b8948b49fcb">TextFormat</a>() :</div>
+<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <a class="code" href="classmingfx_1_1_text_shader_1_1_text_format.html#aeecda817624276f0cfb812ddcdbbc2f0">size</a>(0.1f),</div>
+<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <a class="code" href="classmingfx_1_1_text_shader_1_1_text_format.html#af0483874ac3fcea58b6ff99ef6644ff7">color</a>(1,1,1,1),</div>
+<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <a class="code" href="classmingfx_1_1_text_shader_1_1_text_format.html#acde55d28b0446e788e6c68b85df83066">h_align</a>(<a class="code" href="classmingfx_1_1_text_shader.html#af464d970e6475a2176f21c3f4b24c63c">HorizAlign</a>::HORIZ_ALIGN_CENTER),</div>
+<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <a class="code" href="classmingfx_1_1_text_shader_1_1_text_format.html#a8455382a6829022020eb307ae9168bd7">v_align</a>(<a class="code" href="classmingfx_1_1_text_shader.html#a7624918a2d157cf2880fc8858c00db2a">VertAlign</a>::VERT_ALIGN_BASELINE) {}</div>
+<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; </div>
+<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader_1_1_text_format.html#aeecda817624276f0cfb812ddcdbbc2f0"> 69</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_text_shader_1_1_text_format.html#aeecda817624276f0cfb812ddcdbbc2f0">size</a>;</div>
+<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader_1_1_text_format.html#af0483874ac3fcea58b6ff99ef6644ff7"> 70</a></span>&#160; <a class="code" href="classmingfx_1_1_color.html">Color</a> <a class="code" href="classmingfx_1_1_text_shader_1_1_text_format.html#af0483874ac3fcea58b6ff99ef6644ff7">color</a>;</div>
+<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader_1_1_text_format.html#acde55d28b0446e788e6c68b85df83066"> 71</a></span>&#160; <a class="code" href="classmingfx_1_1_text_shader.html#af464d970e6475a2176f21c3f4b24c63c">HorizAlign</a> <a class="code" href="classmingfx_1_1_text_shader_1_1_text_format.html#acde55d28b0446e788e6c68b85df83066">h_align</a>;</div>
+<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader_1_1_text_format.html#a8455382a6829022020eb307ae9168bd7"> 72</a></span>&#160; <a class="code" href="classmingfx_1_1_text_shader.html#a7624918a2d157cf2880fc8858c00db2a">VertAlign</a> <a class="code" href="classmingfx_1_1_text_shader_1_1_text_format.html#a8455382a6829022020eb307ae9168bd7">v_align</a>;</div>
+<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; };</div>
+<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; </div>
+<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; </div>
+<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="comment">//void Draw2D(const Point2 &amp;pos,</span></div>
+<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="comment">// const std::string &amp;text, TextFormat format, bool cache=false);</span></div>
+<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; </div>
+<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; </div>
+<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader.html#a2caaaf2decfac523b476951474e9a359"> 80</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classmingfx_1_1_text_shader.html#a2caaaf2decfac523b476951474e9a359">Draw3D</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> &amp;model, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> &amp;view, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> &amp;projection,</div>
+<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keyword">const</span> std::string &amp;text, <a class="code" href="classmingfx_1_1_text_shader_1_1_text_format.html">TextFormat</a> format, <span class="keywordtype">bool</span> cache=<span class="keyword">false</span>);</div>
+<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; </div>
+<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; </div>
+<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader.html#ac4e9a150311fe6d74e9f6214ebeb6b28"> 84</a></span>&#160; <a class="code" href="classmingfx_1_1_vector2.html">Vector2</a> <a class="code" href="classmingfx_1_1_text_shader.html#ac4e9a150311fe6d74e9f6214ebeb6b28">TextExtents</a>(<span class="keyword">const</span> std::string &amp;text, <a class="code" href="classmingfx_1_1_text_shader_1_1_text_format.html">TextFormat</a> format, <span class="keywordtype">bool</span> cache=<span class="keyword">false</span>);</div>
+<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; </div>
+<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="classmingfx_1_1_text_shader.html#a707b2b36547db78d19139575003c8a0d"> 86</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_text_shader.html#a707b2b36547db78d19139575003c8a0d">native_font_size</a>();</div>
+<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; </div>
+<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;<span class="keyword">private</span>:</div>
+<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <a class="code" href="classmingfx_1_1_texture2_d.html">Texture2D</a> atlas_;</div>
+<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <span class="keywordtype">float</span> native_font_size_;</div>
+<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; </div>
+<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; stbtt_packedchar chardata_[128];</div>
+<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; </div>
+<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <span class="keyword">struct </span>MeshData {</div>
+<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <a class="code" href="classmingfx_1_1_mesh.html">Mesh</a> mesh;</div>
+<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <a class="code" href="classmingfx_1_1_point2.html">Point2</a> min;</div>
+<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <a class="code" href="classmingfx_1_1_point2.html">Point2</a> max;</div>
+<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; };</div>
+<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; </div>
+<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="keywordtype">void</span> SetTextMesh(<span class="keyword">const</span> std::string &amp;text, MeshData *md);</div>
+<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; </div>
+<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; std::map&lt;std::string, MeshData&gt; cache_;</div>
+<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; MeshData tmp_md_;</div>
+<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; </div>
+<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <a class="code" href="classmingfx_1_1_shader_program.html">ShaderProgram</a> shader_;</div>
+<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;};</div>
+<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; </div>
+<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;} <span class="comment">// end namespace</span></div>
+<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; </div>
+<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;<span class="preprocessor">#endif</span></div>
+<div class="ttc" id="aclassmingfx_1_1_color_html"><div class="ttname"><a href="classmingfx_1_1_color.html">mingfx::Color</a></div><div class="ttdoc">Represents a 4-component (R,G,B,A) color, stored internally in a float array to be compatable with Op...</div><div class="ttdef"><b>Definition:</b> <a href="color_8h_source.html#l00041">color.h:41</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_matrix4_html"><div class="ttname"><a href="classmingfx_1_1_matrix4.html">mingfx::Matrix4</a></div><div class="ttdoc">A 4x4 transformation matrix stored internally as an array of floats in column-major order so as to be...</div><div class="ttdef"><b>Definition:</b> <a href="matrix4_8h_source.html#l00050">matrix4.h:50</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_mesh_html"><div class="ttname"><a href="classmingfx_1_1_mesh.html">mingfx::Mesh</a></div><div class="ttdoc">A triangle mesh data structure that can be rendered with a ShaderProgram like DefaultShader.</div><div class="ttdef"><b>Definition:</b> <a href="mesh_8h_source.html#l00127">mesh.h:127</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_point2_html"><div class="ttname"><a href="classmingfx_1_1_point2.html">mingfx::Point2</a></div><div class="ttdoc">A 2D Point with floating point coordinates, used for storing 2D texture coordinates,...</div><div class="ttdef"><b>Definition:</b> <a href="point2_8h_source.html#l00028">point2.h:28</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_shader_program_html"><div class="ttname"><a href="classmingfx_1_1_shader_program.html">mingfx::ShaderProgram</a></div><div class="ttdoc">A wrapper around GLSL shader programs.</div><div class="ttdef"><b>Definition:</b> <a href="shader__program_8h_source.html#l00066">shader_program.h:66</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_text_shader_1_1_text_format_html"><div class="ttname"><a href="classmingfx_1_1_text_shader_1_1_text_format.html">mingfx::TextShader::TextFormat</a></div><div class="ttdef"><b>Definition:</b> <a href="text__shader_8h_source.html#l00060">text_shader.h:60</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_text_shader_1_1_text_format_html_a2b7d7e2e540c881952b97b8948b49fcb"><div class="ttname"><a href="classmingfx_1_1_text_shader_1_1_text_format.html#a2b7d7e2e540c881952b97b8948b49fcb">mingfx::TextShader::TextFormat::TextFormat</a></div><div class="ttdeci">TextFormat()</div><div class="ttdef"><b>Definition:</b> <a href="text__shader_8h_source.html#l00063">text_shader.h:63</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_text_shader_1_1_text_format_html_a8455382a6829022020eb307ae9168bd7"><div class="ttname"><a href="classmingfx_1_1_text_shader_1_1_text_format.html#a8455382a6829022020eb307ae9168bd7">mingfx::TextShader::TextFormat::v_align</a></div><div class="ttdeci">VertAlign v_align</div><div class="ttdef"><b>Definition:</b> <a href="text__shader_8h_source.html#l00072">text_shader.h:72</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_text_shader_1_1_text_format_html_acde55d28b0446e788e6c68b85df83066"><div class="ttname"><a href="classmingfx_1_1_text_shader_1_1_text_format.html#acde55d28b0446e788e6c68b85df83066">mingfx::TextShader::TextFormat::h_align</a></div><div class="ttdeci">HorizAlign h_align</div><div class="ttdef"><b>Definition:</b> <a href="text__shader_8h_source.html#l00071">text_shader.h:71</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_text_shader_1_1_text_format_html_aeecda817624276f0cfb812ddcdbbc2f0"><div class="ttname"><a href="classmingfx_1_1_text_shader_1_1_text_format.html#aeecda817624276f0cfb812ddcdbbc2f0">mingfx::TextShader::TextFormat::size</a></div><div class="ttdeci">float size</div><div class="ttdef"><b>Definition:</b> <a href="text__shader_8h_source.html#l00069">text_shader.h:69</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_text_shader_1_1_text_format_html_af0483874ac3fcea58b6ff99ef6644ff7"><div class="ttname"><a href="classmingfx_1_1_text_shader_1_1_text_format.html#af0483874ac3fcea58b6ff99ef6644ff7">mingfx::TextShader::TextFormat::color</a></div><div class="ttdeci">Color color</div><div class="ttdef"><b>Definition:</b> <a href="text__shader_8h_source.html#l00070">text_shader.h:70</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_text_shader_html"><div class="ttname"><a href="classmingfx_1_1_text_shader.html">mingfx::TextShader</a></div><div class="ttdef"><b>Definition:</b> <a href="text__shader_8h_source.html#l00036">text_shader.h:36</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_text_shader_html_a0ec5a6ba22abb3f86c611107925fca67"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#a0ec5a6ba22abb3f86c611107925fca67">mingfx::TextShader::TextShader</a></div><div class="ttdeci">TextShader()</div></div>
+<div class="ttc" id="aclassmingfx_1_1_text_shader_html_a2caaaf2decfac523b476951474e9a359"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#a2caaaf2decfac523b476951474e9a359">mingfx::TextShader::Draw3D</a></div><div class="ttdeci">void Draw3D(const Matrix4 &amp;model, const Matrix4 &amp;view, const Matrix4 &amp;projection, const std::string &amp;text, TextFormat format, bool cache=false)</div></div>
+<div class="ttc" id="aclassmingfx_1_1_text_shader_html_a457f7a42eceb957cdb103664dd864feb"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#a457f7a42eceb957cdb103664dd864feb">mingfx::TextShader::~TextShader</a></div><div class="ttdeci">virtual ~TextShader()</div></div>
+<div class="ttc" id="aclassmingfx_1_1_text_shader_html_a707b2b36547db78d19139575003c8a0d"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#a707b2b36547db78d19139575003c8a0d">mingfx::TextShader::native_font_size</a></div><div class="ttdeci">float native_font_size()</div></div>
+<div class="ttc" id="aclassmingfx_1_1_text_shader_html_a7624918a2d157cf2880fc8858c00db2a"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#a7624918a2d157cf2880fc8858c00db2a">mingfx::TextShader::VertAlign</a></div><div class="ttdeci">VertAlign</div><div class="ttdef"><b>Definition:</b> <a href="text__shader_8h_source.html#l00053">text_shader.h:53</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_text_shader_html_a7624918a2d157cf2880fc8858c00db2aa0400d0d77ea6770b313eedaf36fe71bb"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#a7624918a2d157cf2880fc8858c00db2aa0400d0d77ea6770b313eedaf36fe71bb">mingfx::TextShader::VertAlign::VERT_ALIGN_BASELINE</a></div><div class="ttdeci">@ VERT_ALIGN_BASELINE</div></div>
+<div class="ttc" id="aclassmingfx_1_1_text_shader_html_a7624918a2d157cf2880fc8858c00db2aa080e12cacc0f01b361c8b93c73dd2e28"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#a7624918a2d157cf2880fc8858c00db2aa080e12cacc0f01b361c8b93c73dd2e28">mingfx::TextShader::VertAlign::VERT_ALIGN_BOTTOM</a></div><div class="ttdeci">@ VERT_ALIGN_BOTTOM</div></div>
+<div class="ttc" id="aclassmingfx_1_1_text_shader_html_a7624918a2d157cf2880fc8858c00db2aa970e4fcd7c426e6cd49709119fba6e04"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#a7624918a2d157cf2880fc8858c00db2aa970e4fcd7c426e6cd49709119fba6e04">mingfx::TextShader::VertAlign::VERT_ALIGN_TOP</a></div><div class="ttdeci">@ VERT_ALIGN_TOP</div></div>
+<div class="ttc" id="aclassmingfx_1_1_text_shader_html_a7624918a2d157cf2880fc8858c00db2aac49ae9c9553284e44f90228b9ce647af"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#a7624918a2d157cf2880fc8858c00db2aac49ae9c9553284e44f90228b9ce647af">mingfx::TextShader::VertAlign::VERT_ALIGN_CENTER</a></div><div class="ttdeci">@ VERT_ALIGN_CENTER</div></div>
+<div class="ttc" id="aclassmingfx_1_1_text_shader_html_ac4e9a150311fe6d74e9f6214ebeb6b28"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#ac4e9a150311fe6d74e9f6214ebeb6b28">mingfx::TextShader::TextExtents</a></div><div class="ttdeci">Vector2 TextExtents(const std::string &amp;text, TextFormat format, bool cache=false)</div></div>
+<div class="ttc" id="aclassmingfx_1_1_text_shader_html_ad60a8b572adc30dad47e2d163dc603a3"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#ad60a8b572adc30dad47e2d163dc603a3">mingfx::TextShader::Init</a></div><div class="ttdeci">bool Init(const std::string &amp;font_file, int native_font_size)</div><div class="ttdoc">Call this from within the InitOpenGL() function since it will initialize not just the Font's internal...</div></div>
+<div class="ttc" id="aclassmingfx_1_1_text_shader_html_af464d970e6475a2176f21c3f4b24c63c"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#af464d970e6475a2176f21c3f4b24c63c">mingfx::TextShader::HorizAlign</a></div><div class="ttdeci">HorizAlign</div><div class="ttdef"><b>Definition:</b> <a href="text__shader_8h_source.html#l00047">text_shader.h:47</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_text_shader_html_af464d970e6475a2176f21c3f4b24c63ca5089ab07b80a999b45667e5711cae1f4"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#af464d970e6475a2176f21c3f4b24c63ca5089ab07b80a999b45667e5711cae1f4">mingfx::TextShader::HorizAlign::HORIZ_ALIGN_CENTER</a></div><div class="ttdeci">@ HORIZ_ALIGN_CENTER</div></div>
+<div class="ttc" id="aclassmingfx_1_1_text_shader_html_af464d970e6475a2176f21c3f4b24c63ca6999f9ad8384a34813e7535baf44f78b"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#af464d970e6475a2176f21c3f4b24c63ca6999f9ad8384a34813e7535baf44f78b">mingfx::TextShader::HorizAlign::HORIZ_ALIGN_RIGHT</a></div><div class="ttdeci">@ HORIZ_ALIGN_RIGHT</div></div>
+<div class="ttc" id="aclassmingfx_1_1_text_shader_html_af464d970e6475a2176f21c3f4b24c63ca8e6d89d62375493a3cc1fb5dba289f92"><div class="ttname"><a href="classmingfx_1_1_text_shader.html#af464d970e6475a2176f21c3f4b24c63ca8e6d89d62375493a3cc1fb5dba289f92">mingfx::TextShader::HorizAlign::HORIZ_ALIGN_LEFT</a></div><div class="ttdeci">@ HORIZ_ALIGN_LEFT</div></div>
+<div class="ttc" id="aclassmingfx_1_1_texture2_d_html"><div class="ttname"><a href="classmingfx_1_1_texture2_d.html">mingfx::Texture2D</a></div><div class="ttdoc">A wrapper around a 2D texture that supports loading images from files or setting texture color data d...</div><div class="ttdef"><b>Definition:</b> <a href="texture2d_8h_source.html#l00042">texture2d.h:42</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector2_html"><div class="ttname"><a href="classmingfx_1_1_vector2.html">mingfx::Vector2</a></div><div class="ttdoc">A 2D Vector with floating point coordinates, used for storing 2D translations, mouse movements,...</div><div class="ttdef"><b>Definition:</b> <a href="vector2_8h_source.html#l00028">vector2.h:28</a></div></div>
+<div class="ttc" id="amatrix4_8h_html"><div class="ttname"><a href="matrix4_8h.html">matrix4.h</a></div></div>
+<div class="ttc" id="amesh_8h_html"><div class="ttname"><a href="mesh_8h.html">mesh.h</a></div></div>
+<div class="ttc" id="anamespacemingfx_html"><div class="ttname"><a href="namespacemingfx.html">mingfx</a></div><div class="ttdoc">Namespace for the MinGfx Toolkit.</div><div class="ttdef"><b>Definition:</b> <a href="aabb_8h_source.html#l00021">aabb.h:21</a></div></div>
+<div class="ttc" id="ashader__program_8h_html"><div class="ttname"><a href="shader__program_8h.html">shader_program.h</a></div></div>
+<div class="ttc" id="atexture2d_8h_html"><div class="ttname"><a href="texture2d_8h.html">texture2d.h</a></div></div>
+</div><!-- fragment --></div><!-- contents -->
+<!-- HTML footer for doxygen 1.8.9.1-->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by &#160;<a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.9.1
+</small></address>
+</body>
+</html>