blob: 2cca5ac11db18920912c1bae1e40baa058628b02 [file] [log] [blame]
<!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.h 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&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
<h1>FTGlyph.h</h1><a href="FTGlyph_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#ifndef __FTGlyph__</span>
00002 <span class="preprocessor"></span><span class="preprocessor">#define __FTGlyph__</span>
00003 <span class="preprocessor"></span>
00004 <span class="preprocessor">#include &lt;ft2build.h&gt;</span>
00005 <span class="preprocessor">#include FT_FREETYPE_H</span>
00006 <span class="preprocessor"></span><span class="preprocessor">#include FT_GLYPH_H</span>
00007 <span class="preprocessor"></span>
00008 <span class="preprocessor">#include "<a class="code" href="FTBBox_8h.html">FTBBox.h</a>"</span>
00009 <span class="preprocessor">#include "<a class="code" href="FTPoint_8h.html">FTPoint.h</a>"</span>
00010 <span class="preprocessor">#include "<a class="code" href="FTGL_8h.html">FTGL.h</a>"</span>
00011
00012
<a name="l00025"></a><a class="code" href="classFTGlyph.html">00025</a> <span class="keyword">class </span><a class="code" href="FTGL_8h.html#a3">FTGL_EXPORT</a> FTGlyph
00026 {
00027 <span class="keyword">public</span>:
00036 FTGlyph( FT_GlyphSlot glyph, <span class="keywordtype">bool</span> useDisplayList = <span class="keyword">true</span>);
00037
00041 <span class="keyword">virtual</span> ~FTGlyph();
00042
00049 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classFTPoint.html">FTPoint</a>&amp; Render( <span class="keyword">const</span> <a class="code" href="classFTPoint.html">FTPoint</a>&amp; pen) = 0;
00050
<a name="l00056"></a><a class="code" href="classFTGlyph.html#a3">00056</a> <span class="keyword">const</span> <a class="code" href="classFTPoint.html">FTPoint</a>&amp; Advance()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> advance;}
00057
<a name="l00063"></a><a class="code" href="classFTGlyph.html#a4">00063</a> <span class="keyword">const</span> <a class="code" href="classFTBBox.html">FTBBox</a>&amp; BBox()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> bBox;}
00064
<a name="l00070"></a><a class="code" href="classFTGlyph.html#a5">00070</a> FT_Error Error()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> err;}
00071
00072 <span class="keyword">protected</span>:
<a name="l00076"></a><a class="code" href="classFTGlyph.html#p0">00076</a> <a class="code" href="classFTPoint.html">FTPoint</a> advance;
00077
<a name="l00081"></a><a class="code" href="classFTGlyph.html#p1">00081</a> <a class="code" href="classFTBBox.html">FTBBox</a> bBox;
00082
<a name="l00088"></a><a class="code" href="classFTGlyph.html#p2">00088</a> <span class="keywordtype">bool</span> useDisplayList;
00089
<a name="l00093"></a><a class="code" href="classFTGlyph.html#p3">00093</a> FT_Error err;
00094
00095 <span class="keyword">private</span>:
00096
00097 };
00098
00099
00100 <span class="preprocessor">#endif // __FTGlyph__</span>
00101 <span class="preprocessor"></span>
</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>