blob: 8de754d4da9f98e486a454992bd3e33c3ec795d9 [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: FTFace class Reference</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>FTFace Class Reference</h1><code>#include &lt;<a class="el" href="FTFace_8h-source.html">FTFace.h</a>&gt;</code>
<p>
<hr><a name="_details"></a><h2>Detailed Description</h2>
FTFace class provides an abstraction layer for the Freetype Face.
<p>
<dl compact><dt><b>See also:</b></dt><dd>"Freetype 2 Documentation" </dd></dl>
<p>
<p>
Definition at line <a class="el" href="FTFace_8h-source.html#l00018">18</a> of file <a class="el" href="FTFace_8h-source.html">FTFace.h</a>.<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFTFace.html#a0">FTFace</a> (const char *fontFilePath)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Opens and reads a face file. <a href="#a0"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFTFace.html#a1">FTFace</a> (const unsigned char *pBufferBytes, size_t bufferSizeInBytes)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Read face data from an in-memory buffer. <a href="#a1"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>virtual&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFTFace.html#a2">~FTFace</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor. <a href="#a2"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFTFace.html#a3">Attach</a> (const char *fontFilePath)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Attach auxilliary file to font (e.g., font metrics). <a href="#a3"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFTFace.html#a4">Attach</a> (const unsigned char *pBufferBytes, size_t bufferSizeInBytes)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Attach auxilliary data to font (e.g., font metrics) from memory. <a href="#a4"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>FT_Face *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFTFace.html#a5">Face</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the freetype face object.. <a href="#a5"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classFTSize.html">FTSize</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFTFace.html#a6">Size</a> (const unsigned int size, const unsigned int res)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the char size for the current face. <a href="#a6"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFTFace.html#a7">CharMapCount</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the number of character maps in this face. <a href="#a7"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>FT_Encoding *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFTFace.html#a8">CharMapList</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a list of character maps in this face. <a href="#a8"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classFTPoint.html">FTPoint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFTFace.html#a9">KernAdvance</a> (unsigned int index1, unsigned int index2)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the kerning vector between two glyphs. <a href="#a9"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>FT_GlyphSlot&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFTFace.html#a10">Glyph</a> (unsigned int index, FT_Int load_flags)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Loads and creates a Freetype glyph. <a href="#a10"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFTFace.html#a11">GlyphCount</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the number of glyphs in the current face. <a href="#a11"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>FT_Error&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFTFace.html#a12">Error</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Queries for errors. <a href="#a12"></a><br><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="a0" doxytag="FTFace::FTFace" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> FTFace::FTFace </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const char *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>fontFilePath</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Opens and reads a face file.
<p>
Error is set.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>fontFilePath</em>&nbsp;</td><td>font file path. </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="FTFace_8cpp-source.html#l00006">6</a> of file <a class="el" href="FTFace_8cpp-source.html">FTFace.cpp</a>. </td>
</tr>
</table>
<a class="anchor" name="a1" doxytag="FTFace::FTFace" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> FTFace::FTFace </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const unsigned char *&nbsp;</td>
<td class="mdname" nowrap> <em>pBufferBytes</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td></td>
<td class="md" nowrap>size_t&nbsp;</td>
<td class="mdname" nowrap> <em>bufferSizeInBytes</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Read face data from an in-memory buffer.
<p>
Error is set.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>pBufferBytes</em>&nbsp;</td><td>the in-memory buffer </td></tr>
<tr><td valign=top><em>bufferSizeInBytes</em>&nbsp;</td><td>the length of the buffer in bytes </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="FTFace_8cpp-source.html#l00029">29</a> of file <a class="el" href="FTFace_8cpp-source.html">FTFace.cpp</a>. </td>
</tr>
</table>
<a class="anchor" name="a2" doxytag="FTFace::~FTFace" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> FTFace::~<a class="el" href="classFTFace.html">FTFace</a> </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Destructor.
<p>
Disposes of the current Freetype Face.
<p>
Definition at line <a class="el" href="FTFace_8cpp-source.html#l00050">50</a> of file <a class="el" href="FTFace_8cpp-source.html">FTFace.cpp</a>. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a4" doxytag="FTFace::Attach" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> bool FTFace::Attach </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const unsigned char *&nbsp;</td>
<td class="mdname" nowrap> <em>pBufferBytes</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td></td>
<td class="md" nowrap>size_t&nbsp;</td>
<td class="mdname" nowrap> <em>bufferSizeInBytes</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Attach auxilliary data to font (e.g., font metrics) from memory.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>pBufferBytes</em>&nbsp;</td><td>the in-memory buffer </td></tr>
<tr><td valign=top><em>bufferSizeInBytes</em>&nbsp;</td><td>the length of the buffer in bytes </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><code>true</code> if file has opened successfully. </dd></dl>
<p>
Definition at line <a class="el" href="FTFace_8cpp-source.html#l00068">68</a> of file <a class="el" href="FTFace_8cpp-source.html">FTFace.cpp</a>.
<p>
References <a class="el" href="FTGL_8h-source.html#l00010">FT_OPEN_MEMORY</a>. </td>
</tr>
</table>
<a class="anchor" name="a3" doxytag="FTFace::Attach" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> bool FTFace::Attach </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const char *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>fontFilePath</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Attach auxilliary file to font (e.g., font metrics).
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>fontFilePath</em>&nbsp;</td><td>auxilliary font file path. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><code>true</code> if file has opened successfully. </dd></dl>
<p>
Definition at line <a class="el" href="FTFace_8cpp-source.html#l00061">61</a> of file <a class="el" href="FTFace_8cpp-source.html">FTFace.cpp</a>.
<p>
Referenced by <a class="el" href="FTFont_8cpp-source.html#l00038">FTFont::Attach()</a>. </td>
</tr>
</table>
<a class="anchor" name="a7" doxytag="FTFace::CharMapCount" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> unsigned int FTFace::CharMapCount </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get the number of character maps in this face.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>character map count. </dd></dl>
<p>
Definition at line <a class="el" href="FTFace_8cpp-source.html#l00090">90</a> of file <a class="el" href="FTFace_8cpp-source.html">FTFace.cpp</a>.
<p>
Referenced by <a class="el" href="FTFont_8cpp-source.html#l00102">FTFont::CharMapCount()</a>, and <a class="el" href="FTFace_8cpp-source.html#l00096">CharMapList()</a>. </td>
</tr>
</table>
<a class="anchor" name="a8" doxytag="FTFace::CharMapList" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> FT_Encoding * FTFace::CharMapList </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get a list of character maps in this face.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>pointer to the first encoding. </dd></dl>
<p>
Definition at line <a class="el" href="FTFace_8cpp-source.html#l00096">96</a> of file <a class="el" href="FTFace_8cpp-source.html">FTFace.cpp</a>.
<p>
References <a class="el" href="FTFace_8cpp-source.html#l00090">CharMapCount()</a>.
<p>
Referenced by <a class="el" href="FTFont_8cpp-source.html#l00108">FTFont::CharMapList()</a>. </td>
</tr>
</table>
<a class="anchor" name="a12" doxytag="FTFace::Error" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> FT_Error FTFace::Error </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Queries for errors.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The current error code. </dd></dl>
<p>
Definition at line <a class="el" href="FTFace_8h-source.html#l00115">115</a> of file <a class="el" href="FTFace_8h-source.html">FTFace.h</a>.
<p>
Referenced by <a class="el" href="FTFont_8cpp-source.html#l00038">FTFont::Attach()</a>, <a class="el" href="FTFont_8cpp-source.html#l00068">FTFont::FaceSize()</a>, <a class="el" href="FTFont_8cpp-source.html#l00007">FTFont::FTFont()</a>, and <a class="el" href="FTGlyphContainer_8cpp-source.html#l00075">FTGlyphContainer::Render()</a>. </td>
</tr>
</table>
<a class="anchor" name="a5" doxytag="FTFace::Face" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> FT_Face* FTFace::Face </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get the freetype face object..
<p>
<dl compact><dt><b>Returns:</b></dt><dd>pointer to an FT_Face. </dd></dl>
<p>
Definition at line <a class="el" href="FTFace_8h-source.html#l00067">67</a> of file <a class="el" href="FTFace_8h-source.html">FTFace.h</a>. </td>
</tr>
</table>
<a class="anchor" name="a10" doxytag="FTFace::Glyph" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> FT_GlyphSlot FTFace::Glyph </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">unsigned int&nbsp;</td>
<td class="mdname" nowrap> <em>index</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td></td>
<td class="md" nowrap>FT_Int&nbsp;</td>
<td class="mdname" nowrap> <em>load_flags</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Loads and creates a Freetype glyph.
<p>
<p>
Definition at line <a class="el" href="FTFace_8cpp-source.html#l00133">133</a> of file <a class="el" href="FTFace_8cpp-source.html">FTFace.cpp</a>. </td>
</tr>
</table>
<a class="anchor" name="a11" doxytag="FTFace::GlyphCount" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> unsigned int FTFace::GlyphCount </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Gets the number of glyphs in the current face.
<p>
<p>
Definition at line <a class="el" href="FTFace_8h-source.html#l00108">108</a> of file <a class="el" href="FTFace_8h-source.html">FTFace.h</a>.
<p>
Referenced by <a class="el" href="FTGLTextureFont_8cpp-source.html#l00140">FTGLTextureFont::FaceSize()</a>, and <a class="el" href="FTGLTextureFont_8cpp-source.html#l00021">FTGLTextureFont::FTGLTextureFont()</a>. </td>
</tr>
</table>
<a class="anchor" name="a9" doxytag="FTFace::KernAdvance" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> <a class="el" href="classFTPoint.html">FTPoint</a> FTFace::KernAdvance </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">unsigned int&nbsp;</td>
<td class="mdname" nowrap> <em>index1</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td></td>
<td class="md" nowrap>unsigned int&nbsp;</td>
<td class="mdname" nowrap> <em>index2</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Gets the kerning vector between two glyphs.
<p>
<p>
Definition at line <a class="el" href="FTFace_8cpp-source.html#l00111">111</a> of file <a class="el" href="FTFace_8cpp-source.html">FTFace.cpp</a>.
<p>
Referenced by <a class="el" href="FTGlyphContainer_8cpp-source.html#l00063">FTGlyphContainer::Advance()</a>, and <a class="el" href="FTGlyphContainer_8cpp-source.html#l00075">FTGlyphContainer::Render()</a>. </td>
</tr>
</table>
<a class="anchor" name="a6" doxytag="FTFace::Size" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> const <a class="el" href="classFTSize.html">FTSize</a> &amp; FTFace::Size </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const unsigned int&nbsp;</td>
<td class="mdname" nowrap> <em>size</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td></td>
<td class="md" nowrap>const unsigned int&nbsp;</td>
<td class="mdname" nowrap> <em>res</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Sets the char size for the current face.
<p>
This doesn't guarantee that the size was set correctly. Clients should check errors.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>size</em>&nbsp;</td><td>the face size in points (1/72 inch) </td></tr>
<tr><td valign=top><em>res</em>&nbsp;</td><td>the resolution of the target device. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><code><a class="el" href="classFTSize.html">FTSize</a></code> object </dd></dl>
<p>
Definition at line <a class="el" href="FTFace_8cpp-source.html#l00081">81</a> of file <a class="el" href="FTFace_8cpp-source.html">FTFace.cpp</a>.
<p>
References <a class="el" href="FTSize_8cpp-source.html#l00018">FTSize::CharSize()</a>, and <a class="el" href="FTSize_8h-source.html#l00102">FTSize::Error()</a>.
<p>
Referenced by <a class="el" href="FTFont_8cpp-source.html#l00068">FTFont::FaceSize()</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="FTFace_8h-source.html">FTFace.h</a><li><a class="el" href="FTFace_8cpp-source.html">FTFace.cpp</a></ul>
<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>