ewol/classewol_1_1_kerning.html

334 lines
17 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: ewol::Kerning Class Reference</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&nbsp;Page</a></li>
<li><a href="pages.html">Related&nbsp;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"><b>ewol</b></li><li class="navelem"><a class="el" href="classewol_1_1_kerning.html">Kerning</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classewol_1_1_kerning-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ewol::Kerning Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="_kerning_8hpp_source.html">Kerning.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a4e55987d224c33f9ca084294e3af7d48"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classewol_1_1_kerning.html#a4e55987d224c33f9ca084294e3af7d48">Kerning</a> ()</td></tr>
<tr class="separator:a4e55987d224c33f9ca084294e3af7d48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad646da2e37767ab6195d31217609039a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classewol_1_1_kerning.html#ad646da2e37767ab6195d31217609039a">Kerning</a> (const char32_t _charcode, const float _value)</td></tr>
<tr class="separator:ad646da2e37767ab6195d31217609039a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab49a05d59926432fd27805b053960f3c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classewol_1_1_kerning.html#ab49a05d59926432fd27805b053960f3c">~Kerning</a> ()</td></tr>
<tr class="separator:ab49a05d59926432fd27805b053960f3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:aa6b6a3d658a28f99b0f4d438787cba51"><td class="memItemLeft" align="right" valign="top">char32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classewol_1_1_kerning.html#aa6b6a3d658a28f99b0f4d438787cba51">m_UVal</a></td></tr>
<tr class="separator:aa6b6a3d658a28f99b0f4d438787cba51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08fd00fe9249f2e0b94133e412716463"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classewol_1_1_kerning.html#a08fd00fe9249f2e0b94133e412716463">m_value</a></td></tr>
<tr class="separator:a08fd00fe9249f2e0b94133e412716463"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classewol_1_1_kerning.html" title="Kerning properties of one specific Glyph with an other. ">Kerning</a> properties of one specific Glyph with an other. </p>
<p>Without <a class="el" href="classewol_1_1_kerning.html" title="Kerning properties of one specific Glyph with an other. ">Kerning</a> : [pre] </p><pre class="fragment"> \ / /\
\ / / \
\ / / \
\ / /______\
\ / / \
\/ / \
v v a a
</pre><p> [/pre]</p>
<p>With <a class="el" href="classewol_1_1_kerning.html" title="Kerning properties of one specific Glyph with an other. ">Kerning</a> : [pre] </p><pre class="fragment"> \ / /\
\ / / \
\ / / \
\ / /______\
\ / / \
\/ / \
v a v a
</pre><p> [/pre]</p>
<dl class="section note"><dt>Note</dt><dd>The "Kerning" is the methode to provide a better display for some string like the "VA" has 2 letter that overlap themself. This name <a class="el" href="classewol_1_1_kerning.html" title="Kerning properties of one specific Glyph with an other. ">Kerning</a> </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a4e55987d224c33f9ca084294e3af7d48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e55987d224c33f9ca084294e3af7d48">&sect;&nbsp;</a></span>Kerning() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ewol::Kerning::Kerning </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Simple constructor that allow to allocate the std::vector element. </p>
</div>
</div>
<a id="ad646da2e37767ab6195d31217609039a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad646da2e37767ab6195d31217609039a">&sect;&nbsp;</a></span>Kerning() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ewol::Kerning::Kerning </td>
<td>(</td>
<td class="paramtype">const char32_t&#160;</td>
<td class="paramname"><em>_charcode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const float&#160;</td>
<td class="paramname"><em>_value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Normal constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">_charcode</td><td>The Unicode value of the coresponding character that might be before </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">_value</td><td>The <a class="el" href="classewol_1_1_kerning.html" title="Kerning properties of one specific Glyph with an other. ">Kerning</a> value of the offset (nb pixel number) </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ab49a05d59926432fd27805b053960f3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab49a05d59926432fd27805b053960f3c">&sect;&nbsp;</a></span>~Kerning()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ewol::Kerning::~Kerning </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>normal destructor </p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="aa6b6a3d658a28f99b0f4d438787cba51"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6b6a3d658a28f99b0f4d438787cba51">&sect;&nbsp;</a></span>m_UVal</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">char32_t ewol::Kerning::m_UVal</td>
</tr>
</table>
</div><div class="memdoc">
<p>unicode value (the previous character that must be before) </p>
</div>
</div>
<a id="a08fd00fe9249f2e0b94133e412716463"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08fd00fe9249f2e0b94133e412716463">&sect;&nbsp;</a></span>m_value</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">float ewol::Kerning::m_value</td>
</tr>
</table>
</div><div class="memdoc">
<p>kerning real offset </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>framework/atria-soft/ewol/ewol/resource/font/<a class="el" href="_kerning_8hpp_source.html">Kerning.hpp</a></li>
</ul>
</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 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.12
</small></address>
</body>
</html>