blob: 0cafabd152414ec98f83a003b4373e16d62e5305 [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: FTGlyphContainer.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>FTGlyphContainer.h</h1><a href="FTGlyphContainer_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#ifndef __FTGlyphContainer__</span>
00002 <span class="preprocessor"></span><span class="preprocessor">#define __FTGlyphContainer__</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="FTGL_8h.html">FTGL.h</a>"</span>
00009 <span class="preprocessor">#include "<a class="code" href="FTBBox_8h.html">FTBBox.h</a>"</span>
00010 <span class="preprocessor">#include "<a class="code" href="FTPoint_8h.html">FTPoint.h</a>"</span>
00011 <span class="preprocessor">#include "<a class="code" href="FTVector_8h.html">FTVector.h</a>"</span>
00012
00013 <span class="keyword">class </span><a class="code" href="classFTFace.html">FTFace</a>;
00014 <span class="keyword">class </span><a class="code" href="classFTGlyph.html">FTGlyph</a>;
00015 <span class="keyword">class </span><a class="code" href="classFTCharmap.html">FTCharmap</a>;
00016
<a name="l00022"></a><a class="code" href="classFTGlyphContainer.html">00022</a> <span class="keyword">class </span><a class="code" href="FTGL_8h.html#a3">FTGL_EXPORT</a> FTGlyphContainer
00023 {
00024 <span class="keyword">typedef</span> <a class="code" href="classFTVector.html">FTVector&lt;FTGlyph*&gt;</a> <a class="code" href="classFTVector.html">GlyphVector</a>;
00025 <span class="keyword">public</span>:
00031 FTGlyphContainer( <a class="code" href="classFTFace.html">FTFace</a>* face);
00032
00036 ~FTGlyphContainer();
00037
00045 <span class="keywordtype">bool</span> CharMap( FT_Encoding encoding);
00046
00054 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> FontIndex( <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> characterCode ) <span class="keyword">const</span>;
00055
00062 <span class="keywordtype">void</span> Add( <a class="code" href="classFTGlyph.html">FTGlyph</a>* glyph, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> characterCode);
00063
00071 <span class="keyword">const</span> <a class="code" href="classFTGlyph.html">FTGlyph</a>* <span class="keyword">const</span> Glyph( <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> characterCode) <span class="keyword">const</span>;
00072
00077 <a class="code" href="classFTBBox.html">FTBBox</a> BBox( <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> characterCode) <span class="keyword">const</span>;
00078
00086 <span class="keywordtype">float</span> Advance( <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> characterCode, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> nextCharacterCode);
00087
00095 <a class="code" href="classFTPoint.html">FTPoint</a> Render( <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> characterCode, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> nextCharacterCode, <a class="code" href="classFTPoint.html">FTPoint</a> penPosition);
00096
<a name="l00102"></a><a class="code" href="classFTGlyphContainer.html#a9">00102</a> FT_Error Error()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> err;}
00103
00104 <span class="keyword">private</span>:
00108 <a class="code" href="classFTFace.html">FTFace</a>* face;
00109
00113 <a class="code" href="classFTCharmap.html">FTCharmap</a>* charMap;
00114
00118 GlyphVector glyphs;
00119
00123 FT_Error err;
00124 };
00125
00126
00127 <span class="preprocessor">#endif // __FTGlyphContainer__</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>