blob: cc055b0d5cb526d5357fca0829a0f87463d989d0 [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: FTGLBufferFont.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>FTGLBufferFont.h</h1><a href="FTGLBufferFont_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#ifndef __FTGLBufferFont__</span>
00002 <span class="preprocessor"></span><span class="preprocessor">#define __FTGLBufferFont__</span>
00003 <span class="preprocessor"></span>
00004
00005 <span class="preprocessor">#include "<a class="code" href="FTFont_8h.html">FTFont.h</a>"</span>
00006 <span class="preprocessor">#include "<a class="code" href="FTGL_8h.html">FTGL.h</a>"</span>
00007
00008
00009 <span class="keyword">class </span><a class="code" href="classFTGlyph.html">FTGlyph</a>;
00010
00011
<a name="l00018"></a><a class="code" href="classFTGLBufferFont.html">00018</a> <span class="keyword">class </span><a class="code" href="FTGL_8h.html#a3">FTGL_EXPORT</a> FTGLBufferFont : <span class="keyword">public</span> <a class="code" href="classFTFont.html">FTFont</a>
00019 {
00020 <span class="keyword">public</span>:
00026 FTGLBufferFont( <span class="keyword">const</span> <span class="keywordtype">char</span>* fontname);
00027
00034 FTGLBufferFont( <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *pBufferBytes, size_t bufferSizeInBytes);
00035
00036
<a name="l00037"></a><a class="code" href="classFTGLBufferFont.html#a2">00037</a> <span class="keywordtype">void</span> SetClientBuffer( <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* b)
00038 {
00039 buffer = b;
00040 }
00041
00042
00046 ~FTGLBufferFont();
00047
00053 <span class="keywordtype">void</span> <a class="code" href="classFTFont.html#a19">Render</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* string);
00054
00060 <span class="keywordtype">void</span> <a class="code" href="classFTFont.html#a19">Render</a>( <span class="keyword">const</span> <span class="keywordtype">wchar_t</span>* string);
00061
00062 <span class="keyword">private</span>:
00069 <span class="keyword">inline</span> <span class="keyword">virtual</span> <a class="code" href="classFTGlyph.html">FTGlyph</a>* <a class="code" href="classFTFont.html#b0">MakeGlyph</a>( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> g);
00070
00071 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* buffer;
00072 };
00073
00074
00075 <span class="preprocessor">#endif // __FTGLBufferFont__</span>
00076 <span class="preprocessor"></span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Dec 5 22:11:47 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>