Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > contrib-backports > by-pkgid > f00c83953c7eb23ee3c18f4f35d8eb6b > files > 181

sfml2-doc-2.0-0.1mdv2010.2.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <title>SFML - Simple and Fast Multimedia Library</title>
        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
        <link href="doxygen.css" rel="stylesheet" type="text/css" />
        <link href="tabs.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
        <div id="logo">
            <img src="./logo.jpg" width="770" height="200" title="SFML home" alt="SFML logo" />
        </div>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.htm"><span>Main&nbsp;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 class="tabs">
    <ul>
      <li><a href="annotated.htm"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.htm"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.htm"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.htm"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><b>sf</b>::<a class="el" href="classsf_1_1Glyph.htm">Glyph</a>
  </div>
</div>
<div class="contents">
<h1>sf::Glyph Class Reference<br/>
<small>
[<a class="el" href="group__graphics.htm">Graphics module</a>]</small>
</h1><!-- doxytag: class="sf::Glyph" -->
<p>Structure describing a glyph.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="Glyph_8hpp_source.htm">Glyph.hpp</a>&gt;</code></p>

<p><a href="classsf_1_1Glyph-members.htm">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsf_1_1Glyph.htm#ab15cfc37eb7b40a94b3b3aedf934010b">Glyph</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor.  <a href="#ab15cfc37eb7b40a94b3b3aedf934010b"></a><br/></td></tr>
<tr><td colspan="2"><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsf_1_1Glyph.htm#a72adc6b808a530da296581f11e26bcc6">Advance</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Offset to move horizontically to the next character.  <a href="#a72adc6b808a530da296581f11e26bcc6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsf_1_1Rect.htm">IntRect</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsf_1_1Glyph.htm#a524e641cbe2440ccf980a0d0ff5d23f9">Bounds</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Bounding rectangle of the glyph, in coordinates relative to the baseline.  <a href="#a524e641cbe2440ccf980a0d0ff5d23f9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsf_1_1Rect.htm">IntRect</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsf_1_1Glyph.htm#a11e12605eb18d7b271a9e025828d52d0">SubRect</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</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="#a11e12605eb18d7b271a9e025828d52d0"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<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 rect </li>
<li>the offset to apply to get the starting position of the next glyph</li>
</ul>
<dl class="see"><dt><b>See also:</b></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>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ab15cfc37eb7b40a94b3b3aedf934010b"></a><!-- doxytag: member="sf::Glyph::Glyph" ref="ab15cfc37eb7b40a94b3b3aedf934010b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">sf::Glyph::Glyph </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></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>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a72adc6b808a530da296581f11e26bcc6"></a><!-- doxytag: member="sf::Glyph::Advance" ref="a72adc6b808a530da296581f11e26bcc6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classsf_1_1Glyph.htm#a72adc6b808a530da296581f11e26bcc6">sf::Glyph::Advance</a></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="a524e641cbe2440ccf980a0d0ff5d23f9"></a><!-- doxytag: member="sf::Glyph::Bounds" ref="a524e641cbe2440ccf980a0d0ff5d23f9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsf_1_1Rect.htm">IntRect</a> <a class="el" href="classsf_1_1Glyph.htm#a524e641cbe2440ccf980a0d0ff5d23f9">sf::Glyph::Bounds</a></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="a11e12605eb18d7b271a9e025828d52d0"></a><!-- doxytag: member="sf::Glyph::SubRect" ref="a11e12605eb18d7b271a9e025828d52d0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsf_1_1Rect.htm">IntRect</a> <a class="el" href="classsf_1_1Glyph.htm#a11e12605eb18d7b271a9e025828d52d0">sf::Glyph::SubRect</a></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>

        <p id="footer">
            &nbsp;::&nbsp; Copyright &copy; 2007-2008 Laurent Gomila, all rights reserved &nbsp;::&nbsp;
            Documentation generated by <a href="http://www.doxygen.org/" title="doxygen website">doxygen 1.5.2</a> &nbsp;::&nbsp;
        </p>

    </body>
</html>