| <!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: FTCharmap.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 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>FTCharmap.h</h1><a href="FTCharmap_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#ifndef __FTCharmap__</span> |
| 00002 <span class="preprocessor"></span><span class="preprocessor">#define __FTCharmap__</span> |
| 00003 <span class="preprocessor"></span> |
| 00004 |
| 00005 <span class="preprocessor">#include <ft2build.h></span> |
| 00006 <span class="preprocessor">#include FT_FREETYPE_H</span> |
| 00007 <span class="preprocessor"></span><span class="preprocessor">#include FT_GLYPH_H</span> |
| 00008 <span class="preprocessor"></span> |
| 00009 <span class="preprocessor">#include "<a class="code" href="FTCharToGlyphIndexMap_8h.html">FTCharToGlyphIndexMap.h</a>"</span> |
| 00010 |
| 00011 <span class="preprocessor">#include "<a class="code" href="FTGL_8h.html">FTGL.h</a>"</span> |
| 00012 |
| 00013 |
| 00027 <span class="keyword">class </span><a class="code" href="classFTFace.html">FTFace</a>; |
| 00028 |
| <a name="l00029"></a><a class="code" href="classFTCharmap.html">00029</a> <span class="keyword">class </span><a class="code" href="FTGL_8h.html#a3">FTGL_EXPORT</a> FTCharmap |
| 00030 { |
| 00031 <span class="keyword">public</span>: |
| 00035 FTCharmap( <a class="code" href="classFTFace.html">FTFace</a>* face); |
| 00036 |
| 00040 <span class="keyword">virtual</span> ~FTCharmap(); |
| 00041 |
| <a name="l00047"></a><a class="code" href="classFTCharmap.html#a2">00047</a> FT_Encoding Encoding()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> ftEncoding;} |
| 00048 |
| 00071 <span class="keywordtype">bool</span> CharMap( FT_Encoding encoding); |
| 00072 |
| 00081 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> GlyphListIndex( <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> characterCode); |
| 00082 |
| 00090 <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); |
| 00091 |
| 00100 <span class="keywordtype">void</span> InsertIndex( <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> containerIndex); |
| 00101 |
| <a name="l00107"></a><a class="code" href="classFTCharmap.html#a7">00107</a> FT_Error Error()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> err;} |
| 00108 |
| 00109 <span class="keyword">private</span>: |
| 00113 FT_Encoding ftEncoding; |
| 00114 |
| 00118 <span class="keyword">const</span> FT_Face ftFace; |
| 00119 |
| 00125 <span class="keyword">typedef</span> <a class="code" href="classFTCharToGlyphIndexMap.html">FTCharToGlyphIndexMap</a> CharacterMap; |
| 00126 CharacterMap charMap; |
| 00127 |
| 00131 FT_Error err; |
| 00132 |
| 00133 }; |
| 00134 |
| 00135 |
| 00136 <span class="preprocessor">#endif // __FTCharmap__</span> |
| </pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Dec 5 22:24:05 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> |