blob: 78923ecbc53cd8a89d52bff594e1899d0eabec2b [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: FTBufferGlyph.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>FTBufferGlyph.h</h1><a href="FTBufferGlyph_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#ifndef __FTBufferGlyph__</span>
00002 <span class="preprocessor"></span><span class="preprocessor">#define __FTBufferGlyph__</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="l00019"></a><a class="code" href="classFTBufferGlyph.html">00019</a> <span class="keyword">class </span><a class="code" href="FTGL_8h.html#a3">FTGL_EXPORT</a> FTBufferGlyph : <span class="keyword">public</span> <a class="code" href="classFTGlyph.html">FTGlyph</a>
00020 {
00021 <span class="keyword">public</span>:
00027 FTBufferGlyph( FT_GlyphSlot glyph, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* clientBuffer);
00028
00032 <span class="keyword">virtual</span> ~FTBufferGlyph();
00033
00040 <span class="keyword">virtual</span> <span class="keywordtype">float</span> <a class="code" href="classFTGlyph.html#a2">Render</a>( <span class="keyword">const</span> <a class="code" href="classFTPoint.html">FTPoint</a>&amp; pen);
00041
00042 <span class="comment">// attributes</span>
00043
00044 <span class="keyword">private</span>:
00048 <span class="keywordtype">int</span> destWidth;
00049
00053 <span class="keywordtype">int</span> destHeight;
00054
00058 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> destPitch;
00059
00063 <a class="code" href="classFTPoint.html">FTPoint</a> pos;
00064
00068 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* data;
00069
00070
00071 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* buffer;
00072
00073 };
00074
00075
00076 <span class="preprocessor">#endif // __FTBufferGlyph__</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>