| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 |
<head> |
| 4 |
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 5 |
<meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 6 |
<meta name="generator" content="Doxygen 1.8.13"/> |
| 7 |
<meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 8 |
<title>LASi: psDoc.cpp File Reference</title> |
| 9 |
<link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 10 |
<script type="text/javascript" src="jquery.js"></script> |
| 11 |
<script type="text/javascript" src="dynsections.js"></script> |
| 12 |
<link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 13 |
</head> |
| 14 |
<body> |
| 15 |
<div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 16 |
<div id="titlearea"> |
| 17 |
<table cellspacing="0" cellpadding="0"> |
| 18 |
<tbody> |
| 19 |
<tr style="height: 56px;"> |
| 20 |
<td id="projectalign" style="padding-left: 0.5em;"> |
| 21 |
<div id="projectname">LASi |
| 22 |
</div> |
| 23 |
</td> |
| 24 |
</tr> |
| 25 |
</tbody> |
| 26 |
</table> |
| 27 |
</div> |
| 28 |
<!-- end header part --> |
| 29 |
<!-- Generated by Doxygen 1.8.13 --> |
| 30 |
<script type="text/javascript" src="menudata.js"></script> |
| 31 |
<script type="text/javascript" src="menu.js"></script> |
| 32 |
<script type="text/javascript"> |
| 33 |
$(function() { |
| 34 |
initMenu('',false,false,'search.php','Search'); |
| 35 |
}); |
| 36 |
</script> |
| 37 |
<div id="main-nav"></div> |
| 38 |
<div id="nav-path" class="navpath"> |
| 39 |
<ul> |
| 40 |
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul> |
| 41 |
</div> |
| 42 |
</div><!-- top --> |
| 43 |
<div class="header"> |
| 44 |
<div class="summary"> |
| 45 |
<a href="#define-members">Macros</a> | |
| 46 |
<a href="#func-members">Functions</a> </div> |
| 47 |
<div class="headertitle"> |
| 48 |
<div class="title">psDoc.cpp File Reference</div> </div> |
| 49 |
</div><!--header--> |
| 50 |
<div class="contents"> |
| 51 |
|
| 52 |
<p>libLASi provides a C++ output stream interface for writing Postscript documents containing text strings in any of the world's scripts supported by Unicode 4.0 and Pango. |
| 53 |
<a href="#details">More...</a></p> |
| 54 |
<div class="textblock"><code>#include <ostream></code><br /> |
| 55 |
<code>#include <stdexcept></code><br /> |
| 56 |
<code>#include <pango/pango.h></code><br /> |
| 57 |
<code>#include <ctype.h></code><br /> |
| 58 |
<code>#include <algorithm></code><br /> |
| 59 |
<code>#include <cmath></code><br /> |
| 60 |
<code>#include <<a class="el" href="LASi_8h_source.html">LASi.h</a>></code><br /> |
| 61 |
<code>#include "<a class="el" href="contextMgr_8h_source.html">contextMgr.h</a>"</code><br /> |
| 62 |
<code>#include "<a class="el" href="glyphMgr_8h_source.html">glyphMgr.h</a>"</code><br /> |
| 63 |
<code>#include "<a class="el" href="util_8h_source.html">util.h</a>"</code><br /> |
| 64 |
<code>#include "memory.h"</code><br /> |
| 65 |
<code>#include "<a class="el" href="stringDimensions_8h_source.html">stringDimensions.h</a>"</code><br /> |
| 66 |
<code>#include <iomanip></code><br /> |
| 67 |
<code>#include <stdlib.h></code><br /> |
| 68 |
</div><table class="memberdecls"> |
| 69 |
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> |
| 70 |
Macros</h2></td></tr> |
| 71 |
<tr class="memitem:af09ad83b778c7f6bbac0f76451c0dea1"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="psDoc_8cpp.html#af09ad83b778c7f6bbac0f76451c0dea1">LASI_INVALID_UCS4</a>   0xffffffff</td></tr> |
| 72 |
<tr class="separator:af09ad83b778c7f6bbac0f76451c0dea1"><td class="memSeparator" colspan="2"> </td></tr> |
| 73 |
</table><table class="memberdecls"> |
| 74 |
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
| 75 |
Functions</h2></td></tr> |
| 76 |
<tr class="memitem:a8614271da56e4cd6d213331b49c3009f"><td class="memItemLeft" align="right" valign="top">static const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="psDoc_8cpp.html#a8614271da56e4cd6d213331b49c3009f">utf8_to_ucs4</a> (const char *ptr, uint32_t *unichar)</td></tr> |
| 77 |
<tr class="separator:a8614271da56e4cd6d213331b49c3009f"><td class="memSeparator" colspan="2"> </td></tr> |
| 78 |
<tr class="memitem:ae06e5e7ac4cec6bacacd24c9945c1518"><td class="memItemLeft" align="right" valign="top">static string </td><td class="memItemRight" valign="bottom"><a class="el" href="psDoc_8cpp.html#ae06e5e7ac4cec6bacacd24c9945c1518">nameof</a> (const FT_Face &face, const FT_UInt glyph_index, uint32_t unichar)</td></tr> |
| 79 |
<tr class="separator:ae06e5e7ac4cec6bacacd24c9945c1518"><td class="memSeparator" colspan="2"> </td></tr> |
| 80 |
</table> |
| 81 |
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 82 |
<div class="textblock"><p>libLASi provides a C++ output stream interface for writing Postscript documents containing text strings in any of the world's scripts supported by Unicode 4.0 and Pango. </p> |
| 83 |
<p>Copyright (C) 2003, 2004, 2006 by Larry Siden. See README file in project root directory for copyright and contact info. See COPYING file in project root for terms of re-distribution. </p> |
| 84 |
</div><h2 class="groupheader">Macro Definition Documentation</h2> |
| 85 |
<a id="af09ad83b778c7f6bbac0f76451c0dea1"></a> |
| 86 |
<h2 class="memtitle"><span class="permalink"><a href="#af09ad83b778c7f6bbac0f76451c0dea1">◆ </a></span>LASI_INVALID_UCS4</h2> |
| 87 |
|
| 88 |
<div class="memitem"> |
| 89 |
<div class="memproto"> |
| 90 |
<table class="memname"> |
| 91 |
<tr> |
| 92 |
<td class="memname">#define LASI_INVALID_UCS4   0xffffffff</td> |
| 93 |
</tr> |
| 94 |
</table> |
| 95 |
</div><div class="memdoc"> |
| 96 |
|
| 97 |
<p class="reference">Referenced by <a class="el" href="psDoc_8cpp.html#ae06e5e7ac4cec6bacacd24c9945c1518">nameof()</a>, and <a class="el" href="psDoc_8cpp.html#a8614271da56e4cd6d213331b49c3009f">utf8_to_ucs4()</a>.</p> |
| 98 |
|
| 99 |
</div> |
| 100 |
</div> |
| 101 |
<h2 class="groupheader">Function Documentation</h2> |
| 102 |
<a id="ae06e5e7ac4cec6bacacd24c9945c1518"></a> |
| 103 |
<h2 class="memtitle"><span class="permalink"><a href="#ae06e5e7ac4cec6bacacd24c9945c1518">◆ </a></span>nameof()</h2> |
| 104 |
|
| 105 |
<div class="memitem"> |
| 106 |
<div class="memproto"> |
| 107 |
<table class="mlabels"> |
| 108 |
<tr> |
| 109 |
<td class="mlabels-left"> |
| 110 |
<table class="memname"> |
| 111 |
<tr> |
| 112 |
<td class="memname">static string nameof </td> |
| 113 |
<td>(</td> |
| 114 |
<td class="paramtype">const FT_Face & </td> |
| 115 |
<td class="paramname"><em>face</em>, </td> |
| 116 |
</tr> |
| 117 |
<tr> |
| 118 |
<td class="paramkey"></td> |
| 119 |
<td></td> |
| 120 |
<td class="paramtype">const FT_UInt </td> |
| 121 |
<td class="paramname"><em>glyph_index</em>, </td> |
| 122 |
</tr> |
| 123 |
<tr> |
| 124 |
<td class="paramkey"></td> |
| 125 |
<td></td> |
| 126 |
<td class="paramtype">uint32_t </td> |
| 127 |
<td class="paramname"><em>unichar</em> </td> |
| 128 |
</tr> |
| 129 |
<tr> |
| 130 |
<td></td> |
| 131 |
<td>)</td> |
| 132 |
<td></td><td></td> |
| 133 |
</tr> |
| 134 |
</table> |
| 135 |
</td> |
| 136 |
<td class="mlabels-right"> |
| 137 |
<span class="mlabels"><span class="mlabel">static</span></span> </td> |
| 138 |
</tr> |
| 139 |
</table> |
| 140 |
</div><div class="memdoc"> |
| 141 |
|
| 142 |
<p class="reference">References <a class="el" href="psDoc_8cpp.html#af09ad83b778c7f6bbac0f76451c0dea1">LASI_INVALID_UCS4</a>.</p> |
| 143 |
|
| 144 |
<p class="reference">Referenced by <a class="el" href="classLASi_1_1PostscriptDocument_1_1GlyphId.html#a72f0ad49c409e606fa665dbd38da107d">LASi::PostscriptDocument::GlyphId::GlyphId()</a>.</p> |
| 145 |
|
| 146 |
</div> |
| 147 |
</div> |
| 148 |
<a id="a8614271da56e4cd6d213331b49c3009f"></a> |
| 149 |
<h2 class="memtitle"><span class="permalink"><a href="#a8614271da56e4cd6d213331b49c3009f">◆ </a></span>utf8_to_ucs4()</h2> |
| 150 |
|
| 151 |
<div class="memitem"> |
| 152 |
<div class="memproto"> |
| 153 |
<table class="mlabels"> |
| 154 |
<tr> |
| 155 |
<td class="mlabels-left"> |
| 156 |
<table class="memname"> |
| 157 |
<tr> |
| 158 |
<td class="memname">static const char* utf8_to_ucs4 </td> |
| 159 |
<td>(</td> |
| 160 |
<td class="paramtype">const char * </td> |
| 161 |
<td class="paramname"><em>ptr</em>, </td> |
| 162 |
</tr> |
| 163 |
<tr> |
| 164 |
<td class="paramkey"></td> |
| 165 |
<td></td> |
| 166 |
<td class="paramtype">uint32_t * </td> |
| 167 |
<td class="paramname"><em>unichar</em> </td> |
| 168 |
</tr> |
| 169 |
<tr> |
| 170 |
<td></td> |
| 171 |
<td>)</td> |
| 172 |
<td></td><td></td> |
| 173 |
</tr> |
| 174 |
</table> |
| 175 |
</td> |
| 176 |
<td class="mlabels-right"> |
| 177 |
<span class="mlabels"><span class="mlabel">static</span></span> </td> |
| 178 |
</tr> |
| 179 |
</table> |
| 180 |
</div><div class="memdoc"> |
| 181 |
|
| 182 |
<p class="reference">References <a class="el" href="psDoc_8cpp.html#af09ad83b778c7f6bbac0f76451c0dea1">LASI_INVALID_UCS4</a>.</p> |
| 183 |
|
| 184 |
<p class="reference">Referenced by <a class="el" href="classLASi_1_1PostscriptDocument.html#a9cd138d4872a22d10c79aa9b480c4b28">LASi::PostscriptDocument::PangoItem_do()</a>.</p> |
| 185 |
|
| 186 |
</div> |
| 187 |
</div> |
| 188 |
</div><!-- contents --> |
| 189 |
<!-- start footer part --> |
| 190 |
<hr class="footer"/><address class="footer"><small> |
| 191 |
Generated on Wed Jan 30 2019 23:39:40 for LASi by  <a href="http://www.doxygen.org/index.html"> |
| 192 |
<img class="footer" src="doxygen.png" alt="doxygen"/> |
| 193 |
</a> 1.8.13 |
| 194 |
</small></address> |
| 195 |
</body> |
| 196 |
</html> |