<head>
<title>SFML - Simple and Fast Multimedia Library</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<link rel="stylesheet" type="text/css" href="doxygen.css" title="default" media="screen,print" />
</head>
<body>
<div id="banner-container">
<div id="banner">
<span id="sfml">SFML</span>
</div>
</div>
<div id="content">
<!-- Generated by Doxygen 1.8.2 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.htm"><span>Main Page</span></a></li>
<li><a href="modules.htm"><span>Modules</span></a></li>
<li class="current"><a href="annotated.htm"><span>Classes</span></a></li>
<li><a href="files.htm"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.htm"><span>Class List</span></a></li>
<li><a href="classes.htm"><span>Class Index</span></a></li>
<li><a href="hierarchy.htm"><span>Class Hierarchy</span></a></li>
<li><a href="functions.htm"><span>Class Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><b>sf</b></li><li class="navelem"><a class="el" href="classsf_1_1Glyph.htm">Glyph</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-attribs">Public Attributes</a> |
<a href="classsf_1_1Glyph-members.htm">List of all members</a> </div>
<div class="headertitle">
<div class="title">sf::Glyph Class Reference<div class="ingroups"><a class="el" href="group__graphics.htm">Graphics module</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>Structure describing a glyph.
<a href="classsf_1_1Glyph.htm#details">More...</a></p>
<p><code>#include <<a class="el" href="Glyph_8hpp_source.htm">Glyph.hpp</a>></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:ab15cfc37eb7b40a94b3b3aedf934010b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsf_1_1Glyph.htm#ab15cfc37eb7b40a94b3b3aedf934010b">Glyph</a> ()</td></tr>
<tr class="memdesc:ab15cfc37eb7b40a94b3b3aedf934010b"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#ab15cfc37eb7b40a94b3b3aedf934010b"></a><br/></td></tr>
<tr class="separator:ab15cfc37eb7b40a94b3b3aedf934010b"><td class="memSeparator" colspan="2"> </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:a50b93f441db501d10308007f63382166"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classsf_1_1Glyph.htm#a50b93f441db501d10308007f63382166">advance</a></td></tr>
<tr class="memdesc:a50b93f441db501d10308007f63382166"><td class="mdescLeft"> </td><td class="mdescRight">Offset to move horizontically to the next character. <a href="#a50b93f441db501d10308007f63382166"></a><br/></td></tr>
<tr class="separator:a50b93f441db501d10308007f63382166"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afe4cd37e5839955d7dd008e178d41f0c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsf_1_1Rect.htm">IntRect</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsf_1_1Glyph.htm#afe4cd37e5839955d7dd008e178d41f0c">bounds</a></td></tr>
<tr class="memdesc:afe4cd37e5839955d7dd008e178d41f0c"><td class="mdescLeft"> </td><td class="mdescRight">Bounding rectangle of the glyph, in coordinates relative to the baseline. <a href="#afe4cd37e5839955d7dd008e178d41f0c"></a><br/></td></tr>
<tr class="separator:afe4cd37e5839955d7dd008e178d41f0c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0d502d326449f8c49011ed91d2805f5b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsf_1_1Rect.htm">IntRect</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsf_1_1Glyph.htm#a0d502d326449f8c49011ed91d2805f5b">textureRect</a></td></tr>
<tr class="memdesc:a0d502d326449f8c49011ed91d2805f5b"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classsf_1_1Texture.htm" title="Image living on the graphics card that can be used for drawing.">Texture</a> coordinates of the glyph inside the font's texture. <a href="#a0d502d326449f8c49011ed91d2805f5b"></a><br/></td></tr>
<tr class="separator:a0d502d326449f8c49011ed91d2805f5b"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Structure describing a glyph. </p>
<p>A glyph is the visual representation of a character.</p>
<p>The <a class="el" href="classsf_1_1Glyph.htm" title="Structure describing a glyph.">sf::Glyph</a> structure provides the information needed to handle the glyph: </p>
<ul>
<li>its coordinates in the font's texture </li>
<li>its bounding rectangle </li>
<li>the offset to apply to get the starting position of the next glyph</li>
</ul>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classsf_1_1Font.htm" title="Class for loading and manipulating character fonts.">sf::Font</a> </dd></dl>
<p>Definition at line <a class="el" href="Glyph_8hpp_source.htm#l00041">41</a> of file <a class="el" href="Glyph_8hpp_source.htm">Glyph.hpp</a>.</p>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="ab15cfc37eb7b40a94b3b3aedf934010b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">sf::Glyph::Glyph </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>Default constructor. </p>
<p>Definition at line <a class="el" href="Glyph_8hpp_source.htm#l00049">49</a> of file <a class="el" href="Glyph_8hpp_source.htm">Glyph.hpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a50b93f441db501d10308007f63382166"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int sf::Glyph::advance</td>
</tr>
</table>
</div><div class="memdoc">
<p>Offset to move horizontically to the next character. </p>
<p>Definition at line <a class="el" href="Glyph_8hpp_source.htm#l00054">54</a> of file <a class="el" href="Glyph_8hpp_source.htm">Glyph.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="afe4cd37e5839955d7dd008e178d41f0c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classsf_1_1Rect.htm">IntRect</a> sf::Glyph::bounds</td>
</tr>
</table>
</div><div class="memdoc">
<p>Bounding rectangle of the glyph, in coordinates relative to the baseline. </p>
<p>Definition at line <a class="el" href="Glyph_8hpp_source.htm#l00055">55</a> of file <a class="el" href="Glyph_8hpp_source.htm">Glyph.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a0d502d326449f8c49011ed91d2805f5b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classsf_1_1Rect.htm">IntRect</a> sf::Glyph::textureRect</td>
</tr>
</table>
</div><div class="memdoc">
<p><a class="el" href="classsf_1_1Texture.htm" title="Image living on the graphics card that can be used for drawing.">Texture</a> coordinates of the glyph inside the font's texture. </p>
<p>Definition at line <a class="el" href="Glyph_8hpp_source.htm#l00056">56</a> of file <a class="el" href="Glyph_8hpp_source.htm">Glyph.hpp</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="Glyph_8hpp_source.htm">Glyph.hpp</a></li>
</ul>
</div><!-- contents -->
</div>
<div id="footer-container">
<div id="footer">
Copyright � Laurent Gomila ::
</div>
</div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-41898676-1', 'srchub.org');
ga('send', 'pageview');