| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> |
| <title>FTGL: FTTextureGlyph class Reference</title> |
| <link href="doxygen.css" rel="stylesheet" type="text/css"> |
| </head><body> |
| <!-- Generated by Doxygen 1.3.6 --> |
| <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div> |
| <h1>FTTextureGlyph Class Reference</h1><code>#include <<a class="el" href="FTTextureGlyph_8h-source.html">FTTextureGlyph.h</a>></code> |
| <p> |
| <p>Inheritance diagram for FTTextureGlyph: |
| <p><center><img src="classFTTextureGlyph.png" usemap="#FTTextureGlyph_map" border="0" alt=""></center> |
| <map name="FTTextureGlyph_map"> |
| <area href="classFTGlyph.html" alt="FTGlyph" shape="rect" coords="0,0,102,24"> |
| </map> |
| <hr><a name="_details"></a><h2>Detailed Description</h2> |
| FTTextureGlyph is a specialisation of <a class="el" href="classFTGlyph.html">FTGlyph</a> for creating texture glyphs. |
| <p> |
| <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classFTGlyphContainer.html">FTGlyphContainer</a> </dd></dl> |
| |
| <p> |
| |
| <p> |
| Definition at line <a class="el" href="FTTextureGlyph_8h-source.html#l00020">20</a> of file <a class="el" href="FTTextureGlyph_8h-source.html">FTTextureGlyph.h</a>.<table border=0 cellpadding=0 cellspacing=0> |
| <tr><td></td></tr> |
| <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> |
| <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classFTTextureGlyph.html#a0">FTTextureGlyph</a> (FT_GlyphSlot glyph, int id, int xOffset, int yOffset, GLsizei width, GLsizei height)</td></tr> |
| |
| <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a0"></a><br><br></td></tr> |
| <tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="classFTTextureGlyph.html#a1">~FTTextureGlyph</a> ()</td></tr> |
| |
| <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a1"></a><br><br></td></tr> |
| <tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="classFTPoint.html">FTPoint</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classFTTextureGlyph.html#a2">Render</a> (const <a class="el" href="classFTPoint.html">FTPoint</a> &pen)</td></tr> |
| |
| <tr><td class="mdescLeft"> </td><td class="mdescRight">Renders this glyph at the current pen position. <a href="#a2"></a><br><br></td></tr> |
| <tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr> |
| <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classFTTextureGlyph.html#e0">ResetActiveTexture</a> ()</td></tr> |
| |
| <tr><td class="mdescLeft"> </td><td class="mdescRight">Reset the currently active texture to zero to get into a known state before drawing a string. <a href="#e0"></a><br><br></td></tr> |
| </table> |
| <hr><h2>Constructor & Destructor Documentation</h2> |
| <a class="anchor" name="a0" doxytag="FTTextureGlyph::FTTextureGlyph" ></a><p> |
| <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| <tr> |
| <td class="mdRow"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td class="md" nowrap valign="top"> FTTextureGlyph::FTTextureGlyph </td> |
| <td class="md" valign="top">( </td> |
| <td class="md" nowrap valign="top">FT_GlyphSlot </td> |
| <td class="mdname" nowrap> <em>glyph</em>, </td> |
| </tr> |
| <tr> |
| <td class="md" nowrap align="right"></td> |
| <td></td> |
| <td class="md" nowrap>int </td> |
| <td class="mdname" nowrap> <em>id</em>, </td> |
| </tr> |
| <tr> |
| <td class="md" nowrap align="right"></td> |
| <td></td> |
| <td class="md" nowrap>int </td> |
| <td class="mdname" nowrap> <em>xOffset</em>, </td> |
| </tr> |
| <tr> |
| <td class="md" nowrap align="right"></td> |
| <td></td> |
| <td class="md" nowrap>int </td> |
| <td class="mdname" nowrap> <em>yOffset</em>, </td> |
| </tr> |
| <tr> |
| <td class="md" nowrap align="right"></td> |
| <td></td> |
| <td class="md" nowrap>GLsizei </td> |
| <td class="mdname" nowrap> <em>width</em>, </td> |
| </tr> |
| <tr> |
| <td class="md" nowrap align="right"></td> |
| <td></td> |
| <td class="md" nowrap>GLsizei </td> |
| <td class="mdname" nowrap> <em>height</em></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td class="md">) </td> |
| <td class="md" colspan="2"></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Constructor. |
| <p> |
| <dl compact><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign=top><em>glyph</em> </td><td>The Freetype glyph to be processed </td></tr> |
| <tr><td valign=top><em>id</em> </td><td>The id of the texture that this glyph will be drawn in </td></tr> |
| <tr><td valign=top><em>xOffset</em> </td><td>The x offset into the parent texture to draw this glyph </td></tr> |
| <tr><td valign=top><em>yOffset</em> </td><td>The y offset into the parent texture to draw this glyph </td></tr> |
| <tr><td valign=top><em>width</em> </td><td>The width of the parent texture </td></tr> |
| <tr><td valign=top><em>height</em> </td><td>The height (number of rows) of the parent texture </td></tr> |
| </table> |
| </dl> |
| |
| <p> |
| Definition at line <a class="el" href="FTTextureGlyph_8cpp-source.html#l00005">5</a> of file <a class="el" href="FTTextureGlyph_8cpp-source.html">FTTextureGlyph.cpp</a>. |
| <p> |
| References <a class="el" href="FTGL_8h-source.html#l00018">FT_RENDER_MODE_NORMAL</a>, <a class="el" href="FTPoint_8h-source.html#l00142">FTPoint::X()</a>, and <a class="el" href="FTPoint_8h-source.html#l00143">FTPoint::Y()</a>. </td> |
| </tr> |
| </table> |
| <a class="anchor" name="a1" doxytag="FTTextureGlyph::~FTTextureGlyph" ></a><p> |
| <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| <tr> |
| <td class="mdRow"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td class="md" nowrap valign="top"> FTTextureGlyph::~<a class="el" href="classFTTextureGlyph.html">FTTextureGlyph</a> </td> |
| <td class="md" valign="top">( </td> |
| <td class="mdname1" valign="top" nowrap> </td> |
| <td class="md" valign="top"> ) </td> |
| <td class="md" nowrap><code> [virtual]</code></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Destructor. |
| <p> |
| |
| <p> |
| Definition at line <a class="el" href="FTTextureGlyph_8cpp-source.html#l00054">54</a> of file <a class="el" href="FTTextureGlyph_8cpp-source.html">FTTextureGlyph.cpp</a>. </td> |
| </tr> |
| </table> |
| <hr><h2>Member Function Documentation</h2> |
| <a class="anchor" name="a2" doxytag="FTTextureGlyph::Render" ></a><p> |
| <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| <tr> |
| <td class="mdRow"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td class="md" nowrap valign="top"> const <a class="el" href="classFTPoint.html">FTPoint</a> & FTTextureGlyph::Render </td> |
| <td class="md" valign="top">( </td> |
| <td class="md" nowrap valign="top">const <a class="el" href="classFTPoint.html">FTPoint</a> & </td> |
| <td class="mdname1" valign="top" nowrap> <em>pen</em> </td> |
| <td class="md" valign="top"> ) </td> |
| <td class="md" nowrap><code> [virtual]</code></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Renders this glyph at the current pen position. |
| <p> |
| <dl compact><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign=top><em>pen</em> </td><td>The current pen position. </td></tr> |
| </table> |
| </dl> |
| <dl compact><dt><b>Returns:</b></dt><dd>The advance distance for this glyph. </dd></dl> |
| |
| <p> |
| Implements <a class="el" href="classFTGlyph.html#a2">FTGlyph</a>. |
| <p> |
| Definition at line <a class="el" href="FTTextureGlyph_8cpp-source.html#l00058">58</a> of file <a class="el" href="FTTextureGlyph_8cpp-source.html">FTTextureGlyph.cpp</a>. |
| <p> |
| References <a class="el" href="FTPoint_8h-source.html#l00142">FTPoint::X()</a>, and <a class="el" href="FTPoint_8h-source.html#l00143">FTPoint::Y()</a>. </td> |
| </tr> |
| </table> |
| <a class="anchor" name="e0" doxytag="FTTextureGlyph::ResetActiveTexture" ></a><p> |
| <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| <tr> |
| <td class="mdRow"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td class="md" nowrap valign="top"> void FTTextureGlyph::ResetActiveTexture </td> |
| <td class="md" valign="top">( </td> |
| <td class="mdname1" valign="top" nowrap> </td> |
| <td class="md" valign="top"> ) </td> |
| <td class="md" nowrap><code> [inline, static]</code></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Reset the currently active texture to zero to get into a known state before drawing a string. |
| <p> |
| This is to get round possible threading issues. |
| <p> |
| Definition at line <a class="el" href="FTTextureGlyph_8h-source.html#l00055">55</a> of file <a class="el" href="FTTextureGlyph_8h-source.html">FTTextureGlyph.h</a>. |
| <p> |
| Referenced by <a class="el" href="FTGLTextureFont_8cpp-source.html#l00153">FTGLTextureFont::Render()</a>. </td> |
| </tr> |
| </table> |
| <hr>The documentation for this class was generated from the following files:<ul> |
| <li><a class="el" href="FTTextureGlyph_8h-source.html">FTTextureGlyph.h</a><li><a class="el" href="FTTextureGlyph_8cpp-source.html">FTTextureGlyph.cpp</a></ul> |
| <hr size="1"><address style="align: right;"><small>Generated on Sun Dec 5 22:24:07 2004 for FTGL by |
| <a href="http://www.doxygen.org/index.html"> |
| <img src="doxygen.png" alt="doxygen" align="middle" border=0 > |
| </a>1.3.6 </small></address> |
| </body> |
| </html> |