summaryrefslogtreecommitdiff
path: root/font__freetype_8h.html
diff options
context:
space:
mode:
Diffstat (limited to 'font__freetype_8h.html')
-rw-r--r--font__freetype_8h.html111
1 files changed, 111 insertions, 0 deletions
diff --git a/font__freetype_8h.html b/font__freetype_8h.html
new file mode 100644
index 000000000..24f774c70
--- /dev/null
+++ b/font__freetype_8h.html
@@ -0,0 +1,111 @@
+<!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"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.6"/>
+<title>navit: font/freetype/font_freetype.h File Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="navtree.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="resize.js"></script>
+<script type="text/javascript" src="navtree.js"></script>
+<script type="text/javascript">
+ $(document).ready(initResizable);
+ $(window).load(resizeHeight);
+</script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td style="padding-left: 0.5em;">
+ <div id="projectname">navit
+ &#160;<span id="projectnumber">0.5.1-trunk</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.6 -->
+ <div id="navrow1" class="tabs">
+ <ul class="tablist">
+ <li><a href="index.html"><span>Main&#160;Page</span></a></li>
+ <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
+ <li><a href="modules.html"><span>Modules</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><!-- top -->
+<div id="side-nav" class="ui-resizable side-nav-resizable">
+ <div id="nav-tree">
+ <div id="nav-tree-contents">
+ <div id="nav-sync" class="sync"></div>
+ </div>
+ </div>
+ <div id="splitbar" style="-moz-user-select:none;"
+ class="ui-resizable-handle">
+ </div>
+</div>
+<script type="text/javascript">
+$(document).ready(function(){initNavTree('font__freetype_8h.html','');});
+</script>
+<div id="doc-content">
+<div class="header">
+ <div class="summary">
+<a href="#nested-classes">Data Structures</a> </div>
+ <div class="headertitle">
+<div class="title">font_freetype.h File Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p>Interface to the FreeType 2 library, to render text as bitmaps.
+<a href="#details">More...</a></p>
+
+<p><a href="font__freetype_8h_source.html">Go to the source code of this file.</a></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
+Data Structures</h2></td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfont__freetype__methods.html">font_freetype_methods</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfont__freetype__glyph.html">font_freetype_glyph</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfont__freetype__text.html">font_freetype_text</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>Interface to the FreeType 2 library, to render text as bitmaps. </p>
+<p>This plugin supplies functions to render text (encoded as UTF-8) to bitmaps with the help of FreeType 2. Typical usage: </p>
+<ul>
+<li>create a struct <a class="el" href="structfont__freetype__font.html">font_freetype_font</a> by calling <a class="el" href="structfont__freetype__methods.html#a9dcc5e64be74309ba4ad8fd4659da07c" title="Load a font, preferring one with the given font family. ">font_freetype_methods.font_new()</a> </li>
+<li>for the text to render, create a struct <a class="el" href="structfont__freetype__text.html">font_freetype_text</a> by calling font_freetype_methods.text_new() </li>
+<li>obtain glyph bitmaps by calling <a class="el" href="structfont__freetype__methods.html#a57341ad2a3c429a9ce3f570ce984aafe" title="Get a glyph bitmap. ">font_freetype_methods.get_glyph()</a> on the glyphs inside struct <a class="el" href="structfont__freetype__text.html">font_freetype_text</a> </li>
+<li>optionally, obtain a "shadow" of the glyph from <a class="el" href="structfont__freetype__methods.html#a54b8d588f8f28a38295cde02b25bb3a0" title="Get glyph &quot;shadow&quot;, a glyph bitmap to be used as background. ">font_freetype_methods.get_shadow()</a>, to make the text easier to read against a colored background (like the map) </li>
+</ul>
+</div></div><!-- contents -->
+</div><!-- doc-content -->
+<!-- start footer part -->
+<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
+ <ul>
+ <li class="navelem"><a class="el" href="dir_e6c54268d011365494e6c4da02774db2.html">font</a></li><li class="navelem"><a class="el" href="dir_049d1c8c57dbcf379acaaa14064791e6.html">freetype</a></li><li class="navelem"><a class="el" href="font__freetype_8h.html">font_freetype.h</a></li>
+ <li class="footer">Generated by
+ <a href="http://www.doxygen.org/index.html">
+ <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
+ </ul>
+</div>
+</body>
+</html>