Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 695723f45a219d8b1253352d6e8b7d4a > files > 24

ftgl-docs-2.1.3-0.4.rc5.fc15.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>FTGL: FTGLPixmapFont.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">FTGL&#160;<span id="projectnumber">2.1.3~rc5</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>FTGLPixmapFont.h</h1>  </div>
</div>
<div class="contents">
<a href="FTGLPixmapFont_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * FTGL - OpenGL font library</span>
<a name="l00003"></a>00003 <span class="comment"> *</span>
<a name="l00004"></a>00004 <span class="comment"> * Copyright (c) 2001-2004 Henry Maddocks &lt;ftgl@opengl.geek.nz&gt;</span>
<a name="l00005"></a>00005 <span class="comment"> * Copyright (c) 2008 Sam Hocevar &lt;sam@zoy.org&gt;</span>
<a name="l00006"></a>00006 <span class="comment"> * Copyright (c) 2008 Sean Morrison &lt;learner@brlcad.org&gt;</span>
<a name="l00007"></a>00007 <span class="comment"> *</span>
<a name="l00008"></a>00008 <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining</span>
<a name="l00009"></a>00009 <span class="comment"> * a copy of this software and associated documentation files (the</span>
<a name="l00010"></a>00010 <span class="comment"> * &quot;Software&quot;), to deal in the Software without restriction, including</span>
<a name="l00011"></a>00011 <span class="comment"> * without limitation the rights to use, copy, modify, merge, publish,</span>
<a name="l00012"></a>00012 <span class="comment"> * distribute, sublicense, and/or sell copies of the Software, and to</span>
<a name="l00013"></a>00013 <span class="comment"> * permit persons to whom the Software is furnished to do so, subject to</span>
<a name="l00014"></a>00014 <span class="comment"> * the following conditions:</span>
<a name="l00015"></a>00015 <span class="comment"> *</span>
<a name="l00016"></a>00016 <span class="comment"> * The above copyright notice and this permission notice shall be</span>
<a name="l00017"></a>00017 <span class="comment"> * included in all copies or substantial portions of the Software.</span>
<a name="l00018"></a>00018 <span class="comment"> *</span>
<a name="l00019"></a>00019 <span class="comment"> * THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND,</span>
<a name="l00020"></a>00020 <span class="comment"> * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF</span>
<a name="l00021"></a>00021 <span class="comment"> * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.</span>
<a name="l00022"></a>00022 <span class="comment"> * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY</span>
<a name="l00023"></a>00023 <span class="comment"> * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,</span>
<a name="l00024"></a>00024 <span class="comment"> * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE</span>
<a name="l00025"></a>00025 <span class="comment"> * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</span>
<a name="l00026"></a>00026 <span class="comment"> */</span>
<a name="l00027"></a>00027 
<a name="l00028"></a>00028 <span class="preprocessor">#ifndef __ftgl__</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#   warning This header is deprecated. Please use &lt;FTGL/ftgl.h&gt; from now.</span>
<a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor">#   include &lt;FTGL/ftgl.h&gt;</span>
<a name="l00031"></a>00031 <span class="preprocessor">#endif</span>
<a name="l00032"></a>00032 <span class="preprocessor"></span>
<a name="l00033"></a>00033 <span class="preprocessor">#ifndef __FTPixmapFont__</span>
<a name="l00034"></a>00034 <span class="preprocessor"></span><span class="preprocessor">#define __FTPixmapFont__</span>
<a name="l00035"></a>00035 <span class="preprocessor"></span>
<a name="l00036"></a>00036 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00037"></a>00037 <span class="preprocessor"></span>
<a name="l00038"></a>00038 
<a name="l00045"></a><a class="code" href="classFTPixmapFont.html">00045</a> <span class="keyword">class </span><a class="code" href="ftgl_8h.html#ae472b08d77a4ead09abe74fe37220270">FTGL_EXPORT</a> <a class="code" href="classFTPixmapFont.html" title="FTPixmapFont is a specialisation of the FTFont class for handling Pixmap (Grey Scale) fonts...">FTPixmapFont</a> : <span class="keyword">public</span> <a class="code" href="classFTFont.html" title="FTFont is the public interface for the FTGL library.">FTFont</a>
<a name="l00046"></a>00046 {
<a name="l00047"></a>00047     <span class="keyword">public</span>:
<a name="l00053"></a>00053         <a class="code" href="classFTFont.html#ac7f382db9ff9f02888b67b7434d7edd4">FTPixmapFont</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* fontFilePath);
<a name="l00054"></a>00054 
<a name="l00063"></a>00063         <a class="code" href="classFTFont.html#ac7f382db9ff9f02888b67b7434d7edd4">FTPixmapFont</a>(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *pBufferBytes,
<a name="l00064"></a>00064                      <span class="keywordtype">size_t</span> bufferSizeInBytes);
<a name="l00065"></a>00065 
<a name="l00069"></a>00069         ~<a class="code" href="classFTPixmapFont.html" title="FTPixmapFont is a specialisation of the FTFont class for handling Pixmap (Grey Scale) fonts...">FTPixmapFont</a>();
<a name="l00070"></a>00070 
<a name="l00071"></a>00071     <span class="keyword">protected</span>:
<a name="l00081"></a>00081         <span class="keyword">virtual</span> <a class="code" href="classFTGlyph.html" title="FTGlyph is the base class for FTGL glyphs.">FTGlyph</a>* <a class="code" href="classFTFont.html#a07f8bef6c3bd52e7d905e6db17c9b8e6" title="Construct a glyph of the correct type.">MakeGlyph</a>(FT_GlyphSlot slot);
<a name="l00082"></a>00082 };
<a name="l00083"></a>00083 
<a name="l00084"></a><a class="code" href="FTGLPixmapFont_8h.html#a956bde64ce9c81ab74bc8d5c0f059929">00084</a> <span class="preprocessor">#define FTGLPixmapFont FTPixmapFont</span>
<a name="l00085"></a>00085 <span class="preprocessor"></span>
<a name="l00086"></a>00086 <span class="preprocessor">#endif // __cplusplus</span>
<a name="l00087"></a>00087 <span class="preprocessor"></span>
<a name="l00088"></a>00088 <a class="code" href="ftgl_8h.html#a1543f6485dcd3ef6db0a10396071a6f6">FTGL_BEGIN_C_DECLS</a>
<a name="l00089"></a>00089 
<a name="l00098"></a>00098 <a class="code" href="ftgl_8h.html#ae472b08d77a4ead09abe74fe37220270">FTGL_EXPORT</a> <a class="code" href="FTFont_8h.html#af121f8e0374785b92e3155992d703b17">FTGLfont</a> *<a class="code" href="FTGLPixmapFont_8h.html#a74e7a832d440bfd68d1e67e1ad6a6657" title="Create a specialised FTGLfont object for handling pixmap (grey scale) fonts.">ftglCreatePixmapFont</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *file);
<a name="l00099"></a>00099 
<a name="l00100"></a>00100 <a class="code" href="ftgl_8h.html#aba8b33a81b5c655eb7c4b358419a17d5">FTGL_END_C_DECLS</a>
<a name="l00101"></a>00101 
<a name="l00102"></a>00102 <span class="preprocessor">#endif  //  __FTPixmapFont__</span>
<a name="l00103"></a>00103 <span class="preprocessor"></span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Wed Feb 9 2011 for FTGL by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>