191 lines
57 KiB
HTML
191 lines
57 KiB
HTML
<!-- HTML header for doxygen 1.8.8-->
|
|
<!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="X-UA-Compatible" content="IE=edge">
|
|
<!-- For Mobile Devices -->
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta name="generator" content="Doxygen 1.8.12"/>
|
|
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
|
<title>Ewol: Ewol Widget in OpenGl: framework/atria-soft/ewol/ewol/compositing/Drawing.hpp Source File</title>
|
|
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
|
<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>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
|
<script type="text/javascript" src="doxy-boot.js"></script>
|
|
</head>
|
|
<body>
|
|
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<a class="navbar-brand">Ewol: Ewol Widget in OpenGl 0.10.0</a>
|
|
</div>
|
|
<div id="navbar" class="navbar-collapse collapse">
|
|
<ul class="nav navbar-nav">
|
|
<li><a href="index.html">Main Page</a></li>
|
|
<li><a href="pages.html">Related Pages</a></li>
|
|
<li><a href="namespaces.html">Namespaces</a></li>
|
|
<li><a href="annotated.html">Classes</a></li>
|
|
<li><a href="files.html">Files</a></li>
|
|
</ul>
|
|
<ul class="nav navbar-nav navbar-right">
|
|
<li class="dropdown">
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
|
Link-libs<span class="caret"></span>
|
|
</a>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
|
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
|
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
|
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
|
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
|
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
|
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
|
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
|
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
|
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
|
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
|
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
|
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
|
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
|
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
|
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
|
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
|
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
|
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
|
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
|
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
|
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div id="search-box" class="input-group">
|
|
<div class="input-group-btn">
|
|
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
|
<span class="glyphicon glyphicon-search"></span>
|
|
<span class="caret"></span>
|
|
</button>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="#">All</a></li>
|
|
<li><a href="#">Classes</a></li>
|
|
<li><a href="#">Namespaces</a></li>
|
|
<li><a href="#">Files</a></li>
|
|
<li><a href="#">Functions</a></li>
|
|
<li><a href="#">Variables</a></li>
|
|
<li><a href="#">Typedefs</a></li>
|
|
<li><a href="#">Enumerations</a></li>
|
|
<li><a href="#">Enumerator</a></li>
|
|
<li><a href="#">Friends</a></li>
|
|
<li><a href="#">Macros</a></li>
|
|
<li><a href="#">Pages</a></li>
|
|
</ul>
|
|
</div>
|
|
<button id="search-close" type="button" class="close" aria-label="Close">
|
|
<span aria-hidden="true"></span>
|
|
</button>
|
|
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
|
</div>
|
|
</div><!--/.nav-collapse -->
|
|
</div>
|
|
</nav>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div class="content" id="content">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
|
<div style="margin-bottom: 15px;margin-top: 60px;">
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.12 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
</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_644e041c3a6521da7b27eba0e4eb2b95.html">framework</a></li><li class="navelem"><a class="el" href="dir_a094892b17be858f66bf3446bbb755c7.html">atria-soft</a></li><li class="navelem"><a class="el" href="dir_90b06c1c445cb1731bd6346c36eb6f0c.html">ewol</a></li><li class="navelem"><a class="el" href="dir_b91da374a1ab60ee2d83a750c3a335b8.html">ewol</a></li><li class="navelem"><a class="el" href="dir_377f7ca7e7608e286d128fa3c9f505bf.html">compositing</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">Drawing.hpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="_drawing_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include <<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/__color__8hpp.html">etk/Color.hpp</a>></span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> </div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include <ewol/debug.hpp></span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include <<a class="code" href="_compositing_8hpp.html">ewol/compositing/Compositing.hpp</a>></span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <gale/resource/Program.hpp></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="keyword">namespace </span><a class="code" href="namespaceewol.html">ewol</a> {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  <span class="keyword">namespace </span>compositing {</div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="classewol_1_1compositing_1_1_drawing.html"> 17</a></span>  <span class="keyword">class </span><a class="code" href="classewol_1_1compositing_1_1_drawing.html">Drawing</a> : <span class="keyword">public</span> <a class="code" href="classewol_1_1_compositing.html">ewol::Compositing</a> {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a> m_position; </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a> m_clippingPosStart; </div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a> m_clippingPosStop; </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="keywordtype">bool</span> m_clippingEnable; </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color<></a> m_color; </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color<></a> m_colorBg; </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr<gale::resource::Program></a> m_GLprogram; </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  int32_t m_GLPosition; </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  int32_t m_GLMatrix; </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  int32_t m_GLMatrixPosition; </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  int32_t m_GLColor; </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keyword">public</span>: <span class="comment">// Background Color (display only when needed)</span></div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classewol_1_1compositing_1_1_drawing.html#a24b44667d0af6e2feb6d27926b7bd3f9"> 33</a></span>  std::vector<vec3 > <a class="code" href="classewol_1_1compositing_1_1_drawing.html#a24b44667d0af6e2feb6d27926b7bd3f9">m_coord</a>; </div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classewol_1_1compositing_1_1_drawing.html#a235629b6c458b98415512149b64c9d96"> 34</a></span>  std::vector<etk::Color<float> > <a class="code" href="classewol_1_1compositing_1_1_drawing.html#a235629b6c458b98415512149b64c9d96">m_coordColor</a>; </div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <a class="code" href="classewol_1_1compositing_1_1_drawing.html#a1b23929919392149a482626d291a9cff">Drawing</a>();</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keyword">virtual</span> <a class="code" href="classewol_1_1compositing_1_1_drawing.html#aaefcbb1e30a88b817ab646fbfe2f9ab4">~Drawing</a>();</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordtype">void</span> loadProgram();</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keywordtype">void</span> unLoadProgram();</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordtype">float</span> m_thickness; </div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  int32_t m_triElement; </div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a> m_triangle[3]; </div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color<float></a> m_tricolor[3]; </div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="comment">// internal API for the generation abstraction of triangles</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="comment"></span> <span class="keywordtype">void</span> generateTriangle();</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordtype">void</span> resetCount();</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keywordtype">void</span> internalSetColor(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color<></a>& _color);</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keywordtype">void</span> setPoint(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>& point);</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  </div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1compositing_1_1_drawing.html#ae770509cc6745877655446db50c4d0d9">draw</a>(<span class="keywordtype">bool</span> _disableDepthTest=<span class="keyword">true</span>);</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1compositing_1_1_drawing.html#a4c02f2e9c10fbbc8d5d73e28a8b01a4e">clear</a>();</div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="classewol_1_1compositing_1_1_drawing.html#af94c31f94767df7c41dd6c8b3b0fe61b"> 90</a></span>  <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>& <a class="code" href="classewol_1_1compositing_1_1_drawing.html#af94c31f94767df7c41dd6c8b3b0fe61b">getPos</a>() {</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">return</span> m_position;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  };</div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="classewol_1_1compositing_1_1_drawing.html#a635873feb31ff68322188f67c3fb6b6b"> 97</a></span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1compositing_1_1_drawing.html#a635873feb31ff68322188f67c3fb6b6b">setPos</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>& _pos) {</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  m_position = _pos;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  };</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classewol_1_1compositing_1_1_drawing.html#a635873feb31ff68322188f67c3fb6b6b">setPos</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">vec2</a>& _pos) {</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <a class="code" href="classewol_1_1compositing_1_1_drawing.html#a635873feb31ff68322188f67c3fb6b6b">setPos</a>(<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>(_pos.<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html#a8409de5d430e5cdcb7326aee94176873">x</a>(), _pos.<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html#abc8a9a46cb0bf2c32916bfa3a35dfb22">y</a>(), 0));</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  };</div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="classewol_1_1compositing_1_1_drawing.html#a10e2c8b1dc55f8a987da362f7da31fd3"> 107</a></span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1compositing_1_1_drawing.html#a10e2c8b1dc55f8a987da362f7da31fd3">setRelPos</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>& _pos) {</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  m_position += _pos;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  };</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classewol_1_1compositing_1_1_drawing.html#a10e2c8b1dc55f8a987da362f7da31fd3">setRelPos</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">vec2</a>& _pos) {</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <a class="code" href="classewol_1_1compositing_1_1_drawing.html#a10e2c8b1dc55f8a987da362f7da31fd3">setRelPos</a>(<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>(_pos.<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html#a8409de5d430e5cdcb7326aee94176873">x</a>(), _pos.<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html#abc8a9a46cb0bf2c32916bfa3a35dfb22">y</a>(), 0));</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  };</div><div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="classewol_1_1compositing_1_1_drawing.html#abb69482ed0c652cfb11bba81af5232d3"> 117</a></span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1compositing_1_1_drawing.html#abb69482ed0c652cfb11bba81af5232d3">setColor</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color<></a>& _color) {</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  m_color = _color;</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  };</div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="classewol_1_1compositing_1_1_drawing.html#a5c133f09ab467a6213b2f82263e8438a"> 124</a></span>  <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color<></a>& <a class="code" href="classewol_1_1compositing_1_1_drawing.html#a5c133f09ab467a6213b2f82263e8438a">getColor</a>() {</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordflow">return</span> m_color;</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  };</div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="classewol_1_1compositing_1_1_drawing.html#a3e5122bd140ebe60d6f156f711387105"> 131</a></span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1compositing_1_1_drawing.html#a3e5122bd140ebe60d6f156f711387105">setColorBg</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color<></a>& _color) {</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  m_colorBg = _color;</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  };</div><div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="classewol_1_1compositing_1_1_drawing.html#a6db8d2f64fddd0747aa71588d2a9e596"> 138</a></span>  <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color<></a>& <a class="code" href="classewol_1_1compositing_1_1_drawing.html#a6db8d2f64fddd0747aa71588d2a9e596">getColorBg</a>() {</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keywordflow">return</span> m_colorBg;</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  };</div><div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="classewol_1_1compositing_1_1_drawing.html#ab6cfb8fde927e29b18b56a0d1233677a"> 146</a></span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1compositing_1_1_drawing.html#ab6cfb8fde927e29b18b56a0d1233677a">setClippingWidth</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>& _pos, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>& _width) {</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <a class="code" href="classewol_1_1compositing_1_1_drawing.html#af7c92ecc1df1534ea5a934f60edf4f77">setClipping</a>(_pos, _pos+_width);</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  };</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classewol_1_1compositing_1_1_drawing.html#ab6cfb8fde927e29b18b56a0d1233677a">setClippingWidth</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">vec2</a>& _pos, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">vec2</a>& _width) {</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <a class="code" href="classewol_1_1compositing_1_1_drawing.html#ab6cfb8fde927e29b18b56a0d1233677a">setClippingWidth</a>(<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>(_pos.<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html#a8409de5d430e5cdcb7326aee94176873">x</a>(),_pos.<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html#abc8a9a46cb0bf2c32916bfa3a35dfb22">y</a>(),-1), <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>(_width.<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html#a8409de5d430e5cdcb7326aee94176873">x</a>(),_width.<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html#abc8a9a46cb0bf2c32916bfa3a35dfb22">y</a>(), 2));</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  };</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1compositing_1_1_drawing.html#af7c92ecc1df1534ea5a934f60edf4f77">setClipping</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>& _pos, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>& _posEnd);</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classewol_1_1compositing_1_1_drawing.html#af7c92ecc1df1534ea5a934f60edf4f77">setClipping</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">vec2</a>& _pos, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">vec2</a>& _posEnd) {</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <a class="code" href="classewol_1_1compositing_1_1_drawing.html#af7c92ecc1df1534ea5a934f60edf4f77">setClipping</a>(<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>(_pos.<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html#a8409de5d430e5cdcb7326aee94176873">x</a>(),_pos.<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html#abc8a9a46cb0bf2c32916bfa3a35dfb22">y</a>(),-1), <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>(_posEnd.<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html#a8409de5d430e5cdcb7326aee94176873">x</a>(),_posEnd.<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html#abc8a9a46cb0bf2c32916bfa3a35dfb22">y</a>(), 1));</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  };</div><div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="classewol_1_1compositing_1_1_drawing.html#afe8424414ee43151f45c020c4415683a"> 165</a></span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1compositing_1_1_drawing.html#afe8424414ee43151f45c020c4415683a">setClippingMode</a>(<span class="keywordtype">bool</span> _newMode) {</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  m_clippingEnable = _newMode;</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  };</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1compositing_1_1_drawing.html#a3ab4cf773b556bfc28e2764abcf7f498">setThickness</a>(<span class="keywordtype">float</span> _thickness);</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1compositing_1_1_drawing.html#ac60124644e5a34702dc711f83d0dfe36">addVertex</a>();</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1compositing_1_1_drawing.html#a42287952dda1c81dc73407c6278f1f68">lineTo</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>& _dest);</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classewol_1_1compositing_1_1_drawing.html#a42287952dda1c81dc73407c6278f1f68">lineTo</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">vec2</a>& _dest) {</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <a class="code" href="classewol_1_1compositing_1_1_drawing.html#a42287952dda1c81dc73407c6278f1f68">lineTo</a>(<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>(_dest.<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html#a8409de5d430e5cdcb7326aee94176873">x</a>(), _dest.<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html#abc8a9a46cb0bf2c32916bfa3a35dfb22">y</a>(), 0));</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  };</div><div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="classewol_1_1compositing_1_1_drawing.html#ab373ec01f82574307cd196ee0038c987"> 189</a></span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1compositing_1_1_drawing.html#ab373ec01f82574307cd196ee0038c987">lineRel</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>& _vect) {</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <a class="code" href="classewol_1_1compositing_1_1_drawing.html#a42287952dda1c81dc73407c6278f1f68">lineTo</a>(m_position+_vect);</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  };</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classewol_1_1compositing_1_1_drawing.html#ab373ec01f82574307cd196ee0038c987">lineRel</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">vec2</a>& _vect) {</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <a class="code" href="classewol_1_1compositing_1_1_drawing.html#ab373ec01f82574307cd196ee0038c987">lineRel</a>(<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>(_vect.<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html#a8409de5d430e5cdcb7326aee94176873">x</a>(), _vect.<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html#abc8a9a46cb0bf2c32916bfa3a35dfb22">y</a>(), 0));</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  };</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1compositing_1_1_drawing.html#a6bec413e60a8753a700f7b31d1fda98a">rectangle</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>& _dest);</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classewol_1_1compositing_1_1_drawing.html#a6bec413e60a8753a700f7b31d1fda98a">rectangle</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">vec2</a>& _dest) {</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <a class="code" href="classewol_1_1compositing_1_1_drawing.html#a6bec413e60a8753a700f7b31d1fda98a">rectangle</a>(<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>(_dest.<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html#a8409de5d430e5cdcb7326aee94176873">x</a>(), _dest.<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html#abc8a9a46cb0bf2c32916bfa3a35dfb22">y</a>(), 0));</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  };</div><div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="classewol_1_1compositing_1_1_drawing.html#adb3af6c65ee3af970b999d2fb4888d8d"> 207</a></span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1compositing_1_1_drawing.html#adb3af6c65ee3af970b999d2fb4888d8d">rectangleWidth</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>& _size) {</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <a class="code" href="classewol_1_1compositing_1_1_drawing.html#a6bec413e60a8753a700f7b31d1fda98a">rectangle</a>(m_position+_size);</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  };</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classewol_1_1compositing_1_1_drawing.html#adb3af6c65ee3af970b999d2fb4888d8d">rectangleWidth</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">vec2</a>& _size) {</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <a class="code" href="classewol_1_1compositing_1_1_drawing.html#adb3af6c65ee3af970b999d2fb4888d8d">rectangleWidth</a>(<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>(_size.<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html#a8409de5d430e5cdcb7326aee94176873">x</a>(), _size.<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html#abc8a9a46cb0bf2c32916bfa3a35dfb22">y</a>(), 0));</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  };</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1compositing_1_1_drawing.html#a8835ed5f9a0eed3d42059478a4421d8d">cube</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>& _dest);</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1compositing_1_1_drawing.html#ad5374ff829b289c5401dc48d54f4b82c">circle</a>(<span class="keywordtype">float</span> _radius, <span class="keywordtype">float</span> _angleStart = 0, <span class="keywordtype">float</span> _angleStop = 2*M_PI);</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  };</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  };</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span> };</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span> </div><div class="ttc" id="classewol_1_1compositing_1_1_drawing_html_a235629b6c458b98415512149b64c9d96"><div class="ttname"><a href="classewol_1_1compositing_1_1_drawing.html#a235629b6c458b98415512149b64c9d96">ewol::compositing::Drawing::m_coordColor</a></div><div class="ttdeci">std::vector< etk::Color< float > > m_coordColor</div><div class="ttdoc">internal color of the background </div><div class="ttdef"><b>Definition:</b> Drawing.hpp:34</div></div>
|
|
<div class="ttc" id="classetk_1_1_vector2_d_html_a8409de5d430e5cdcb7326aee94176873"><div class="ttname"><a href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html#a8409de5d430e5cdcb7326aee94176873">etk::Vector2D::x</a></div><div class="ttdeci">const T & x() const</div></div>
|
|
<div class="ttc" id="classewol_1_1compositing_1_1_drawing_html_a3e5122bd140ebe60d6f156f711387105"><div class="ttname"><a href="classewol_1_1compositing_1_1_drawing.html#a3e5122bd140ebe60d6f156f711387105">ewol::compositing::Drawing::setColorBg</a></div><div class="ttdeci">void setColorBg(const etk::Color<> &_color)</div><div class="ttdoc">set the background color of the font (for selected Text (not the global BG)) </div><div class="ttdef"><b>Definition:</b> Drawing.hpp:131</div></div>
|
|
<div class="ttc" id="classewol_1_1compositing_1_1_drawing_html_a8835ed5f9a0eed3d42059478a4421d8d"><div class="ttname"><a href="classewol_1_1compositing_1_1_drawing.html#a8835ed5f9a0eed3d42059478a4421d8d">ewol::compositing::Drawing::cube</a></div><div class="ttdeci">void cube(const vec3 &_dest)</div><div class="ttdoc">draw a 3D rectangle to the position requested. </div></div>
|
|
<div class="ttc" id="classewol_1_1compositing_1_1_drawing_html_a4c02f2e9c10fbbc8d5d73e28a8b01a4e"><div class="ttname"><a href="classewol_1_1compositing_1_1_drawing.html#a4c02f2e9c10fbbc8d5d73e28a8b01a4e">ewol::compositing::Drawing::clear</a></div><div class="ttdeci">void clear()</div><div class="ttdoc">clear alll tre registered element in the current element </div></div>
|
|
<div class="ttc" id="__color__8hpp_html"><div class="ttname"><a href="http://atria-soft.github.io/etk/__color__8hpp.html">Color.hpp</a></div></div>
|
|
<div class="ttc" id="classewol_1_1compositing_1_1_drawing_html_ab6cfb8fde927e29b18b56a0d1233677a"><div class="ttname"><a href="classewol_1_1compositing_1_1_drawing.html#ab6cfb8fde927e29b18b56a0d1233677a">ewol::compositing::Drawing::setClippingWidth</a></div><div class="ttdeci">void setClippingWidth(const vec3 &_pos, const vec3 &_width)</div><div class="ttdoc">Request a clipping area for the text (next draw only) </div><div class="ttdef"><b>Definition:</b> Drawing.hpp:146</div></div>
|
|
<div class="ttc" id="classewol_1_1compositing_1_1_drawing_html_ad5374ff829b289c5401dc48d54f4b82c"><div class="ttname"><a href="classewol_1_1compositing_1_1_drawing.html#ad5374ff829b289c5401dc48d54f4b82c">ewol::compositing::Drawing::circle</a></div><div class="ttdeci">void circle(float _radius, float _angleStart=0, float _angleStop=2 *M_PI)</div><div class="ttdoc">draw a 2D circle with the specify rafdius parameter. </div></div>
|
|
<div class="ttc" id="classewol_1_1compositing_1_1_drawing_html"><div class="ttname"><a href="classewol_1_1compositing_1_1_drawing.html">ewol::compositing::Drawing</a></div><div class="ttdef"><b>Definition:</b> Drawing.hpp:17</div></div>
|
|
<div class="ttc" id="_compositing_8hpp_html"><div class="ttname"><a href="_compositing_8hpp.html">Compositing.hpp</a></div></div>
|
|
<div class="ttc" id="classewol_1_1compositing_1_1_drawing_html_a6bec413e60a8753a700f7b31d1fda98a"><div class="ttname"><a href="classewol_1_1compositing_1_1_drawing.html#a6bec413e60a8753a700f7b31d1fda98a">ewol::compositing::Drawing::rectangle</a></div><div class="ttdeci">void rectangle(const vec3 &_dest)</div><div class="ttdoc">draw a 2D rectangle to the position requested. </div></div>
|
|
<div class="ttc" id="classewol_1_1compositing_1_1_drawing_html_af94c31f94767df7c41dd6c8b3b0fe61b"><div class="ttname"><a href="classewol_1_1compositing_1_1_drawing.html#af94c31f94767df7c41dd6c8b3b0fe61b">ewol::compositing::Drawing::getPos</a></div><div class="ttdeci">const vec3 & getPos()</div><div class="ttdoc">get the current display position (sometime needed in the gui control) </div><div class="ttdef"><b>Definition:</b> Drawing.hpp:90</div></div>
|
|
<div class="ttc" id="classewol_1_1compositing_1_1_drawing_html_a635873feb31ff68322188f67c3fb6b6b"><div class="ttname"><a href="classewol_1_1compositing_1_1_drawing.html#a635873feb31ff68322188f67c3fb6b6b">ewol::compositing::Drawing::setPos</a></div><div class="ttdeci">void setPos(const vec3 &_pos)</div><div class="ttdoc">set position for the next text writen </div><div class="ttdef"><b>Definition:</b> Drawing.hpp:97</div></div>
|
|
<div class="ttc" id="classewol_1_1compositing_1_1_drawing_html_ab373ec01f82574307cd196ee0038c987"><div class="ttname"><a href="classewol_1_1compositing_1_1_drawing.html#ab373ec01f82574307cd196ee0038c987">ewol::compositing::Drawing::lineRel</a></div><div class="ttdeci">void lineRel(const vec3 &_vect)</div><div class="ttdoc">Relative drawing a line (spacial vector) </div><div class="ttdef"><b>Definition:</b> Drawing.hpp:189</div></div>
|
|
<div class="ttc" id="classewol_1_1compositing_1_1_drawing_html_a1b23929919392149a482626d291a9cff"><div class="ttname"><a href="classewol_1_1compositing_1_1_drawing.html#a1b23929919392149a482626d291a9cff">ewol::compositing::Drawing::Drawing</a></div><div class="ttdeci">Drawing()</div><div class="ttdoc">Basic constructor. </div></div>
|
|
<div class="ttc" id="namespaceewol_html"><div class="ttname"><a href="namespaceewol.html">ewol</a></div><div class="ttdef"><b>Definition:</b> Area.hpp:16</div></div>
|
|
<div class="ttc" id="classewol_1_1compositing_1_1_drawing_html_ac60124644e5a34702dc711f83d0dfe36"><div class="ttname"><a href="classewol_1_1compositing_1_1_drawing.html#ac60124644e5a34702dc711f83d0dfe36">ewol::compositing::Drawing::addVertex</a></div><div class="ttdeci">void addVertex()</div><div class="ttdoc">add a point reference at the current position (this is a vertex reference at the current position ...</div></div>
|
|
<div class="ttc" id="classetk_1_1_vector2_d_html_abc8a9a46cb0bf2c32916bfa3a35dfb22"><div class="ttname"><a href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html#abc8a9a46cb0bf2c32916bfa3a35dfb22">etk::Vector2D::y</a></div><div class="ttdeci">const T & y() const</div></div>
|
|
<div class="ttc" id="classewol_1_1compositing_1_1_drawing_html_aaefcbb1e30a88b817ab646fbfe2f9ab4"><div class="ttname"><a href="classewol_1_1compositing_1_1_drawing.html#aaefcbb1e30a88b817ab646fbfe2f9ab4">ewol::compositing::Drawing::~Drawing</a></div><div class="ttdeci">virtual ~Drawing()</div><div class="ttdoc">Basic destructor. </div></div>
|
|
<div class="ttc" id="classewol_1_1compositing_1_1_drawing_html_abb69482ed0c652cfb11bba81af5232d3"><div class="ttname"><a href="classewol_1_1compositing_1_1_drawing.html#abb69482ed0c652cfb11bba81af5232d3">ewol::compositing::Drawing::setColor</a></div><div class="ttdeci">void setColor(const etk::Color<> &_color)</div><div class="ttdoc">set the Color of the current foreground font </div><div class="ttdef"><b>Definition:</b> Drawing.hpp:117</div></div>
|
|
<div class="ttc" id="classewol_1_1compositing_1_1_drawing_html_a24b44667d0af6e2feb6d27926b7bd3f9"><div class="ttname"><a href="classewol_1_1compositing_1_1_drawing.html#a24b44667d0af6e2feb6d27926b7bd3f9">ewol::compositing::Drawing::m_coord</a></div><div class="ttdeci">std::vector< vec3 > m_coord</div><div class="ttdoc">internal position for the text display </div><div class="ttdef"><b>Definition:</b> Drawing.hpp:33</div></div>
|
|
<div class="ttc" id="classewol_1_1compositing_1_1_drawing_html_a10e2c8b1dc55f8a987da362f7da31fd3"><div class="ttname"><a href="classewol_1_1compositing_1_1_drawing.html#a10e2c8b1dc55f8a987da362f7da31fd3">ewol::compositing::Drawing::setRelPos</a></div><div class="ttdeci">void setRelPos(const vec3 &_pos)</div><div class="ttdoc">set relative position for the next text writen </div><div class="ttdef"><b>Definition:</b> Drawing.hpp:107</div></div>
|
|
<div class="ttc" id="classewol_1_1_compositing_html"><div class="ttname"><a href="classewol_1_1_compositing.html">ewol::Compositing</a></div><div class="ttdef"><b>Definition:</b> Compositing.hpp:13</div></div>
|
|
<div class="ttc" id="classetk_1_1_vector2_d_html"><div class="ttname"><a href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">etk::Vector2D< float ></a></div></div>
|
|
<div class="ttc" id="classetk_1_1_vector3_d_html"><div class="ttname"><a href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">etk::Vector3D< float ></a></div></div>
|
|
<div class="ttc" id="classewol_1_1compositing_1_1_drawing_html_ae770509cc6745877655446db50c4d0d9"><div class="ttname"><a href="classewol_1_1compositing_1_1_drawing.html#ae770509cc6745877655446db50c4d0d9">ewol::compositing::Drawing::draw</a></div><div class="ttdeci">void draw(bool _disableDepthTest=true)</div><div class="ttdoc">draw All the refistered text in the current element on openGL </div></div>
|
|
<div class="ttc" id="classememory_1_1_shared_ptr_html"><div class="ttname"><a href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr< gale::resource::Program ></a></div></div>
|
|
<div class="ttc" id="classewol_1_1compositing_1_1_drawing_html_a6db8d2f64fddd0747aa71588d2a9e596"><div class="ttname"><a href="classewol_1_1compositing_1_1_drawing.html#a6db8d2f64fddd0747aa71588d2a9e596">ewol::compositing::Drawing::getColorBg</a></div><div class="ttdeci">const etk::Color & getColorBg()</div><div class="ttdoc">Get the background color of the font. </div><div class="ttdef"><b>Definition:</b> Drawing.hpp:138</div></div>
|
|
<div class="ttc" id="classewol_1_1compositing_1_1_drawing_html_afe8424414ee43151f45c020c4415683a"><div class="ttname"><a href="classewol_1_1compositing_1_1_drawing.html#afe8424414ee43151f45c020c4415683a">ewol::compositing::Drawing::setClippingMode</a></div><div class="ttdeci">void setClippingMode(bool _newMode)</div><div class="ttdoc">enable/Disable the clipping (without lose the current clipping position) </div><div class="ttdef"><b>Definition:</b> Drawing.hpp:165</div></div>
|
|
<div class="ttc" id="classetk_1_1_color_html"><div class="ttname"><a href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color</a></div></div>
|
|
<div class="ttc" id="classewol_1_1compositing_1_1_drawing_html_a42287952dda1c81dc73407c6278f1f68"><div class="ttname"><a href="classewol_1_1compositing_1_1_drawing.html#a42287952dda1c81dc73407c6278f1f68">ewol::compositing::Drawing::lineTo</a></div><div class="ttdeci">void lineTo(const vec3 &_dest)</div><div class="ttdoc">draw a line to a specific position </div></div>
|
|
<div class="ttc" id="classewol_1_1compositing_1_1_drawing_html_a3ab4cf773b556bfc28e2764abcf7f498"><div class="ttname"><a href="classewol_1_1compositing_1_1_drawing.html#a3ab4cf773b556bfc28e2764abcf7f498">ewol::compositing::Drawing::setThickness</a></div><div class="ttdeci">void setThickness(float _thickness)</div><div class="ttdoc">Specify the line thickness for the next elements. </div></div>
|
|
<div class="ttc" id="classewol_1_1compositing_1_1_drawing_html_adb3af6c65ee3af970b999d2fb4888d8d"><div class="ttname"><a href="classewol_1_1compositing_1_1_drawing.html#adb3af6c65ee3af970b999d2fb4888d8d">ewol::compositing::Drawing::rectangleWidth</a></div><div class="ttdeci">void rectangleWidth(const vec3 &_size)</div><div class="ttdoc">draw a 2D rectangle to the requested size. </div><div class="ttdef"><b>Definition:</b> Drawing.hpp:207</div></div>
|
|
<div class="ttc" id="classewol_1_1compositing_1_1_drawing_html_a5c133f09ab467a6213b2f82263e8438a"><div class="ttname"><a href="classewol_1_1compositing_1_1_drawing.html#a5c133f09ab467a6213b2f82263e8438a">ewol::compositing::Drawing::getColor</a></div><div class="ttdeci">const etk::Color & getColor()</div><div class="ttdoc">Get the foreground color of the font. </div><div class="ttdef"><b>Definition:</b> Drawing.hpp:124</div></div>
|
|
<div class="ttc" id="classewol_1_1compositing_1_1_drawing_html_af7c92ecc1df1534ea5a934f60edf4f77"><div class="ttname"><a href="classewol_1_1compositing_1_1_drawing.html#af7c92ecc1df1534ea5a934f60edf4f77">ewol::compositing::Drawing::setClipping</a></div><div class="ttdeci">void setClipping(const vec3 &_pos, const vec3 &_posEnd)</div><div class="ttdoc">Request a clipping area for the text (next draw only) </div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- HTML footer for doxygen 1.8.8-->
|
|
<!-- start footer part -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Mon Oct 24 2016 15:35:52 for Ewol: Ewol Widget in OpenGl by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.12
|
|
</small></address>
|
|
</body>
|
|
</html>
|