| <!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: FTGlyph.cpp Source File</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>FTGlyph.cpp</h1><a href="FTGlyph_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#include "<a class="code" href="FTGlyph_8h.html">FTGlyph.h</a>"</span> |
| 00002 |
| 00003 |
| <a name="l00004"></a><a class="code" href="classFTGlyph.html#a0">00004</a> <a class="code" href="classFTGlyph.html#a0">FTGlyph::FTGlyph</a>( FT_GlyphSlot glyph, <span class="keywordtype">bool</span> useList) |
| 00005 : useDisplayList(useList), |
| 00006 err(0) |
| 00007 { |
| 00008 <span class="keywordflow">if</span>( glyph) |
| 00009 { |
| 00010 <a class="code" href="classFTGlyph.html#p1">bBox</a> = <a class="code" href="classFTBBox.html">FTBBox</a>( glyph); |
| 00011 <a class="code" href="classFTGlyph.html#p0">advance</a> = <a class="code" href="classFTPoint.html">FTPoint</a>( glyph->advance.x / 64.0f, glyph->advance.y / 64.0f, 0.0f); |
| 00012 } |
| 00013 } |
| 00014 |
| 00015 |
| <a name="l00016"></a><a class="code" href="classFTGlyph.html#a1">00016</a> <a class="code" href="classFTGlyph.html#a1">FTGlyph::~FTGlyph</a>() |
| 00017 {} |
| </pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Dec 5 22:24:06 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> |