<!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: FTOutlineGlyph Class 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.6.2-20100208 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul> </div> </div> <div class="contents"> <h1>FTOutlineGlyph Class Reference</h1><!-- doxytag: class="FTOutlineGlyph" --><!-- doxytag: inherits="FTGlyph" --> <p><a class="el" href="classFTOutlineGlyph.html" title="FTOutlineGlyph is a specialisation of FTGlyph for creating outlines.">FTOutlineGlyph</a> is a specialisation of <a class="el" href="classFTGlyph.html" title="FTGlyph is the base class for FTGL glyphs.">FTGlyph</a> for creating outlines. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="FTOutlineGlyph_8h_source.html">FTOutlineGlyph.h</a>></code></p> <div class="dynheader"> Inheritance diagram for FTOutlineGlyph:</div> <div class="dynsection"> <div class="center"> <img src="classFTOutlineGlyph.png" usemap="#FTOutlineGlyph_map" alt=""/> <map id="FTOutlineGlyph_map" name="FTOutlineGlyph_map"> <area href="classFTGlyph.html" alt="FTGlyph" shape="rect" coords="0,0,100,24"/> </map> </div> </div> <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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFTOutlineGlyph.html#a4a45e11e8e1fca206ed808a433389c83">FTOutlineGlyph</a> (FT_GlyphSlot glyph, float outset, bool useDisplayList)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a4a45e11e8e1fca206ed808a433389c83"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classFTOutlineGlyph.html#aacf6d78d4335864d96e07142e540e150">~FTOutlineGlyph</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#aacf6d78d4335864d96e07142e540e150"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classFTPoint.html">FTPoint</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classFTOutlineGlyph.html#ac0fcbe2023f8e8127144ad6a04627519">Render</a> (const <a class="el" href="classFTPoint.html">FTPoint</a> &pen, int renderMode)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Render this glyph at the current pen position. <a href="#ac0fcbe2023f8e8127144ad6a04627519"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p><a class="el" href="classFTOutlineGlyph.html" title="FTOutlineGlyph is a specialisation of FTGlyph for creating outlines.">FTOutlineGlyph</a> is a specialisation of <a class="el" href="classFTGlyph.html" title="FTGlyph is the base class for FTGL glyphs.">FTGlyph</a> for creating outlines. </p> <p>Definition at line <a class="el" href="FTOutlineGlyph_8h_source.html#l00042">42</a> of file <a class="el" href="FTOutlineGlyph_8h_source.html">FTOutlineGlyph.h</a>.</p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a4a45e11e8e1fca206ed808a433389c83"></a><!-- doxytag: member="FTOutlineGlyph::FTOutlineGlyph" ref="a4a45e11e8e1fca206ed808a433389c83" args="(FT_GlyphSlot glyph, float outset, bool useDisplayList)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">FTOutlineGlyph::FTOutlineGlyph </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">float </td> <td class="paramname"> <em>outset</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>useDisplayList</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Constructor. </p> <p>Sets the Error to Invalid_Outline if the glyphs isn't an outline.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>glyph</em> </td><td>The Freetype glyph to be processed </td></tr> <tr><td valign="top"></td><td valign="top"><em>outset</em> </td><td>outset distance </td></tr> <tr><td valign="top"></td><td valign="top"><em>useDisplayList</em> </td><td>Enable or disable the use of Display Lists for this glyph <code>true</code> turns ON display lists. <code>false</code> turns OFF display lists. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="aacf6d78d4335864d96e07142e540e150"></a><!-- doxytag: member="FTOutlineGlyph::~FTOutlineGlyph" ref="aacf6d78d4335864d96e07142e540e150" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual FTOutlineGlyph::~FTOutlineGlyph </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Destructor. </p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="ac0fcbe2023f8e8127144ad6a04627519"></a><!-- doxytag: member="FTOutlineGlyph::Render" ref="ac0fcbe2023f8e8127144ad6a04627519" args="(const FTPoint &pen, int renderMode)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const <a class="el" href="classFTPoint.html">FTPoint</a>& FTOutlineGlyph::Render </td> <td>(</td> <td class="paramtype">const <a class="el" href="classFTPoint.html">FTPoint</a> & </td> <td class="paramname"> <em>pen</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>renderMode</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Render this glyph at the current pen position. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>pen</em> </td><td>The current pen position. </td></tr> <tr><td valign="top"></td><td valign="top"><em>renderMode</em> </td><td>Render mode to display </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The advance distance for this glyph. </dd></dl> <p>Implements <a class="el" href="classFTGlyph.html#abcf3aef56d4bf022f6d95d5e287800df">FTGlyph</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="FTOutlineGlyph_8h_source.html">FTOutlineGlyph.h</a></li> </ul> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2-20100208 </small></address> </body> </html>