<!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: FTPolygonGlyph 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>FTPolygonGlyph Class Reference</h1><!-- doxytag: class="FTPolygonGlyph" --><!-- doxytag: inherits="FTGlyph" --> <p><a class="el" href="classFTPolygonGlyph.html" title="FTPolygonGlyph is a specialisation of FTGlyph for creating tessellated polygon glyphs...">FTPolygonGlyph</a> is a specialisation of <a class="el" href="classFTGlyph.html" title="FTGlyph is the base class for FTGL glyphs.">FTGlyph</a> for creating tessellated polygon glyphs. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="FTPolyGlyph_8h_source.html">FTPolyGlyph.h</a>></code></p> <div class="dynheader"> Inheritance diagram for FTPolygonGlyph:</div> <div class="dynsection"> <div class="center"> <img src="classFTPolygonGlyph.png" usemap="#FTPolygonGlyph_map" alt=""/> <map id="FTPolygonGlyph_map" name="FTPolygonGlyph_map"> <area href="classFTGlyph.html" alt="FTGlyph" shape="rect" coords="0,0,106,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="classFTPolygonGlyph.html#ab3edfc4a5c2a03a714989324389b42ba">FTPolygonGlyph</a> (FT_GlyphSlot glyph, float outset, bool useDisplayList)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#ab3edfc4a5c2a03a714989324389b42ba"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classFTPolygonGlyph.html#ab45178cf40ac634a73870d70cf09a80b">~FTPolygonGlyph</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#ab45178cf40ac634a73870d70cf09a80b"></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="classFTPolygonGlyph.html#ae790f0d5d4d85bafb7c63edf537255b7">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="#ae790f0d5d4d85bafb7c63edf537255b7"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p><a class="el" href="classFTPolygonGlyph.html" title="FTPolygonGlyph is a specialisation of FTGlyph for creating tessellated polygon glyphs...">FTPolygonGlyph</a> is a specialisation of <a class="el" href="classFTGlyph.html" title="FTGlyph is the base class for FTGL glyphs.">FTGlyph</a> for creating tessellated polygon glyphs. </p> <p>Definition at line <a class="el" href="FTPolyGlyph_8h_source.html#l00043">43</a> of file <a class="el" href="FTPolyGlyph_8h_source.html">FTPolyGlyph.h</a>.</p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="ab3edfc4a5c2a03a714989324389b42ba"></a><!-- doxytag: member="FTPolygonGlyph::FTPolygonGlyph" ref="ab3edfc4a5c2a03a714989324389b42ba" args="(FT_GlyphSlot glyph, float outset, bool useDisplayList)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">FTPolygonGlyph::FTPolygonGlyph </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>The 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="ab45178cf40ac634a73870d70cf09a80b"></a><!-- doxytag: member="FTPolygonGlyph::~FTPolygonGlyph" ref="ab45178cf40ac634a73870d70cf09a80b" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual FTPolygonGlyph::~FTPolygonGlyph </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="ae790f0d5d4d85bafb7c63edf537255b7"></a><!-- doxytag: member="FTPolygonGlyph::Render" ref="ae790f0d5d4d85bafb7c63edf537255b7" 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>& FTPolygonGlyph::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="FTPolyGlyph_8h_source.html">FTPolyGlyph.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>