<!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"/> <title>FTGL: FTTextureGlyph.h File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.3 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">FTGL <span id="projectnumber">2.1.3~rc5</span></div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#nested-classes">Data Structures</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <h1>FTTextureGlyph.h File Reference</h1> </div> </div> <div class="contents"> <div class="textblock"><code>#include <FTGL/ftgl.h></code><br/> </div> <p><a href="FTTextureGlyph_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="nested-classes"></a> Data Structures</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classFTTextureGlyph.html">FTTextureGlyph</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classFTTextureGlyph.html" title="FTTextureGlyph is a specialisation of FTGlyph for creating texture glyphs.">FTTextureGlyph</a> is a specialisation of <a class="el" href="classFTGlyph.html" title="FTGlyph is the base class for FTGL glyphs.">FTGlyph</a> for creating texture glyphs. <a href="classFTTextureGlyph.html#_details">More...</a><br/></td></tr> <tr><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="FTGlyph_8h.html#a155b37e19e0844502e473bb32c31a558">FTGLglyph</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="FTTextureGlyph_8h.html#ab6445b416371daf7646155a435419fe9">ftglCreateTextureGlyph</a> (FT_GlyphSlot glyph, int id, int xOffset, int yOffset, int width, int height)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a specialisation of FTGLglyph for creating pixmaps. <a href="#ab6445b416371daf7646155a435419fe9"></a><br/></td></tr> </table> <hr/><h2>Function Documentation</h2> <a class="anchor" id="ab6445b416371daf7646155a435419fe9"></a><!-- doxytag: member="FTTextureGlyph.h::ftglCreateTextureGlyph" ref="ab6445b416371daf7646155a435419fe9" args="(FT_GlyphSlot glyph, int id, int xOffset, int yOffset, int width, int height)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="FTGlyph_8h.html#a155b37e19e0844502e473bb32c31a558">FTGLglyph</a>* ftglCreateTextureGlyph </td> <td>(</td> <td class="paramtype">FT_GlyphSlot </td> <td class="paramname"><em>glyph</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>id</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>xOffset</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>yOffset</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>width</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>height</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Create a specialisation of FTGLglyph for creating pixmaps. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">glyph</td><td>The Freetype glyph to be processed. </td></tr> <tr><td class="paramname">id</td><td>The id of the texture that this glyph will be drawn in. </td></tr> <tr><td class="paramname">xOffset</td><td>The x offset into the parent texture to draw this glyph. </td></tr> <tr><td class="paramname">yOffset</td><td>The y offset into the parent texture to draw this glyph. </td></tr> <tr><td class="paramname">width</td><td>The width of the parent texture. </td></tr> <tr><td class="paramname">height</td><td>The height (number of rows) of the parent texture. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>An FTGLglyph* object. </dd></dl> </div> </div> </div> <hr class="footer"/><address class="footer"><small>Generated on Wed Feb 9 2011 for FTGL by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address> </body> </html>