<!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: FTBufferGlyph 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>FTBufferGlyph Class Reference</h1><!-- doxytag: class="FTBufferGlyph" --><!-- doxytag: inherits="FTGlyph" --> <p><a class="el" href="classFTBufferGlyph.html" title="FTBufferGlyph is a specialisation of FTGlyph for memory buffer rendering.">FTBufferGlyph</a> is a specialisation of <a class="el" href="classFTGlyph.html" title="FTGlyph is the base class for FTGL glyphs.">FTGlyph</a> for memory buffer rendering. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="FTBufferGlyph_8h_source.html">FTBufferGlyph.h</a>></code></p> <div class="dynheader"> Inheritance diagram for FTBufferGlyph:</div> <div class="dynsection"> <div class="center"> <img src="classFTBufferGlyph.png" usemap="#FTBufferGlyph_map" alt=""/> <map id="FTBufferGlyph_map" name="FTBufferGlyph_map"> <area href="classFTGlyph.html" alt="FTGlyph" shape="rect" coords="0,0,95,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="classFTBufferGlyph.html#a48b9e99cb65964ae32776f26da65c25e">FTBufferGlyph</a> (FT_GlyphSlot glyph, <a class="el" href="classFTBuffer.html">FTBuffer</a> *buffer)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a48b9e99cb65964ae32776f26da65c25e"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classFTBufferGlyph.html#ab87dedb20a3216d24535958e2f2e0460">~FTBufferGlyph</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#ab87dedb20a3216d24535958e2f2e0460"></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="classFTBufferGlyph.html#a33bc5176b9c5739f20d634eca04a45a5">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="#a33bc5176b9c5739f20d634eca04a45a5"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p><a class="el" href="classFTBufferGlyph.html" title="FTBufferGlyph is a specialisation of FTGlyph for memory buffer rendering.">FTBufferGlyph</a> is a specialisation of <a class="el" href="classFTGlyph.html" title="FTGlyph is the base class for FTGL glyphs.">FTGlyph</a> for memory buffer rendering. </p> <p>Definition at line <a class="el" href="FTBufferGlyph_8h_source.html#l00040">40</a> of file <a class="el" href="FTBufferGlyph_8h_source.html">FTBufferGlyph.h</a>.</p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a48b9e99cb65964ae32776f26da65c25e"></a><!-- doxytag: member="FTBufferGlyph::FTBufferGlyph" ref="a48b9e99cb65964ae32776f26da65c25e" args="(FT_GlyphSlot glyph, FTBuffer *buffer)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">FTBufferGlyph::FTBufferGlyph </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"><a class="el" href="classFTBuffer.html">FTBuffer</a> * </td> <td class="paramname"> <em>buffer</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> <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>buffer</em> </td><td>An <a class="el" href="classFTBuffer.html" title="FTBuffer is a helper class for pixel buffers.">FTBuffer</a> object in which to render the glyph. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ab87dedb20a3216d24535958e2f2e0460"></a><!-- doxytag: member="FTBufferGlyph::~FTBufferGlyph" ref="ab87dedb20a3216d24535958e2f2e0460" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual FTBufferGlyph::~FTBufferGlyph </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="a33bc5176b9c5739f20d634eca04a45a5"></a><!-- doxytag: member="FTBufferGlyph::Render" ref="a33bc5176b9c5739f20d634eca04a45a5" 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>& FTBufferGlyph::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="FTBufferGlyph_8h_source.html">FTBufferGlyph.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>