blob: 53e75886425cd93bc061a3c9c884278201f9b6b9 [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: FTTextureGlyph.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>FTTextureGlyph.h</h1><a href="FTTextureGlyph_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#ifndef __FTTextureGlyph__</span>
00002 <span class="preprocessor"></span><span class="preprocessor">#define __FTTextureGlyph__</span>
00003 <span class="preprocessor"></span>
00004
00005 <span class="preprocessor">#include &lt;ft2build.h&gt;</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="FTGL_8h.html">FTGL.h</a>"</span>
00010 <span class="preprocessor">#include "<a class="code" href="FTGlyph_8h.html">FTGlyph.h</a>"</span>
00011
00012
<a name="l00020"></a><a class="code" href="classFTTextureGlyph.html">00020</a> <span class="keyword">class </span><a class="code" href="FTGL_8h.html#a3">FTGL_EXPORT</a> FTTextureGlyph : <span class="keyword">public</span> <a class="code" href="classFTGlyph.html">FTGlyph</a>
00021 {
00022 <span class="keyword">public</span>:
00036 FTTextureGlyph( FT_GlyphSlot glyph, <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keywordtype">int</span> xOffset, <span class="keywordtype">int</span> yOffset, GLsizei width, GLsizei height);
00037
00041 <span class="keyword">virtual</span> ~FTTextureGlyph();
00042
00049 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classFTPoint.html">FTPoint</a>&amp; <a class="code" href="classFTGlyph.html#a2">Render</a>( <span class="keyword">const</span> <a class="code" href="classFTPoint.html">FTPoint</a>&amp; pen);
00050
<a name="l00055"></a><a class="code" href="classFTTextureGlyph.html#e0">00055</a> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classFTTextureGlyph.html#e0">FTTextureGlyph::ResetActiveTexture</a>(){ activeTextureID = 0;}
00056
00057 <span class="keyword">private</span>:
00061 <span class="keywordtype">int</span> destWidth;
00062
00066 <span class="keywordtype">int</span> destHeight;
00067
00071 <a class="code" href="classFTPoint.html">FTPoint</a> pos;
00072
00076 <a class="code" href="classFTPoint.html">FTPoint</a> uv[2];
00077
00081 <span class="keywordtype">int</span> glTextureID;
00082
00089 <span class="keyword">static</span> GLint activeTextureID;
00090
00091 };
00092
00093
00094 <span class="preprocessor">#endif // __FTTextureGlyph__</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>