<!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>ICU 3.6: ushape.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.4.7 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="classes.html"><span>Data Structures</span></a></li> <li id="current"><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li> <form action="search.php" method="get"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><label> <u>S</u>earch for </label></td> <td><input type="text" name="query" value="" size="20" accesskey="s"/></td> </tr> </table> </form> </li> </ul></div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul></div> <h1>ushape.h</h1><a href="ushape_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">******************************************************************************</span> <a name="l00003"></a>00003 <span class="comment">*</span> <a name="l00004"></a>00004 <span class="comment">* Copyright (C) 2000-2004, International Business Machines</span> <a name="l00005"></a>00005 <span class="comment">* Corporation and others. All Rights Reserved.</span> <a name="l00006"></a>00006 <span class="comment">*</span> <a name="l00007"></a>00007 <span class="comment">******************************************************************************</span> <a name="l00008"></a>00008 <span class="comment">* file name: ushape.h</span> <a name="l00009"></a>00009 <span class="comment">* encoding: US-ASCII</span> <a name="l00010"></a>00010 <span class="comment">* tab size: 8 (not used)</span> <a name="l00011"></a>00011 <span class="comment">* indentation:4</span> <a name="l00012"></a>00012 <span class="comment">*</span> <a name="l00013"></a>00013 <span class="comment">* created on: 2000jun29</span> <a name="l00014"></a>00014 <span class="comment">* created by: Markus W. Scherer</span> <a name="l00015"></a>00015 <span class="comment">*/</span> <a name="l00016"></a>00016 <a name="l00017"></a>00017 <span class="preprocessor">#ifndef __USHAPE_H__</span> <a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __USHAPE_H__</span> <a name="l00019"></a>00019 <span class="preprocessor"></span> <a name="l00020"></a>00020 <span class="preprocessor">#include "<a class="code" href="utypes_8h.html">unicode/utypes.h</a>"</span> <a name="l00021"></a>00021 <a name="l00099"></a>00099 <a class="code" href="umachine_8h.html#827899f75db3ae4cfde9ad08fc2853a0">U_STABLE</a> <a class="code" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> <a class="code" href="platform_8h.html#d665df105e679e1428e48dc5cb90a756">U_EXPORT2</a> <a name="l00100"></a>00100 <a class="code" href="ushape_8h.html#b85f7fe2987a1b2702f455d65013a051">u_shapeArabic</a>(<span class="keyword">const</span> <a class="code" href="umachine_8h.html#a7213b402d772584553f6e614109e6e4">UChar</a> *source, <a class="code" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> sourceLength, <a name="l00101"></a>00101 <a class="code" href="umachine_8h.html#a7213b402d772584553f6e614109e6e4">UChar</a> *dest, <a class="code" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> destSize, <a name="l00102"></a>00102 <a class="code" href="pwin32_8h.html#6dffdaa3be697bee6b7286a8120d3638">uint32_t</a> options, <a name="l00103"></a>00103 <a class="code" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> *<a class="code" href="ucnv_8h.html#5716258ed7a3d2283a1a0ae26cf1e5e9">pErrorCode</a>); <a name="l00104"></a>00104 <a name="l00109"></a><a class="code" href="ushape_8h.html#6a1f2f7bfdb19a43d3565b9dad22571f">00109</a> <span class="preprocessor">#define U_SHAPE_LENGTH_GROW_SHRINK 0</span> <a name="l00110"></a>00110 <span class="preprocessor"></span> <a name="l00116"></a><a class="code" href="ushape_8h.html#067c06be151af4b0ee00a7a8c0553339">00116</a> <span class="preprocessor">#define U_SHAPE_LENGTH_FIXED_SPACES_NEAR 1</span> <a name="l00117"></a>00117 <span class="preprocessor"></span> <a name="l00123"></a><a class="code" href="ushape_8h.html#4550ccf631d9f6fd45d70bcd3266756d">00123</a> <span class="preprocessor">#define U_SHAPE_LENGTH_FIXED_SPACES_AT_END 2</span> <a name="l00124"></a>00124 <span class="preprocessor"></span> <a name="l00130"></a><a class="code" href="ushape_8h.html#3bb94df74337f1bbd2793ea3557456fd">00130</a> <span class="preprocessor">#define U_SHAPE_LENGTH_FIXED_SPACES_AT_BEGINNING 3</span> <a name="l00131"></a>00131 <span class="preprocessor"></span> <a name="l00133"></a><a class="code" href="ushape_8h.html#07a3119784a8db763914cf45f3cfd6bf">00133</a> <span class="preprocessor">#define U_SHAPE_LENGTH_MASK 3</span> <a name="l00134"></a>00134 <span class="preprocessor"></span> <a name="l00135"></a>00135 <a name="l00137"></a><a class="code" href="ushape_8h.html#d36963ac2682d78232fd2838f0d6c4bf">00137</a> <span class="preprocessor">#define U_SHAPE_TEXT_DIRECTION_LOGICAL 0</span> <a name="l00138"></a>00138 <span class="preprocessor"></span> <a name="l00145"></a><a class="code" href="ushape_8h.html#e379944cf4c71b7d1fc4410dbd7120c6">00145</a> <span class="preprocessor">#define U_SHAPE_TEXT_DIRECTION_VISUAL_LTR 4</span> <a name="l00146"></a>00146 <span class="preprocessor"></span> <a name="l00148"></a><a class="code" href="ushape_8h.html#2a455afff51ba49cbae8ba8fbded1467">00148</a> <span class="preprocessor">#define U_SHAPE_TEXT_DIRECTION_MASK 4</span> <a name="l00149"></a>00149 <span class="preprocessor"></span> <a name="l00150"></a>00150 <a name="l00152"></a><a class="code" href="ushape_8h.html#b2591b984c0a4ee203f44cc6e62f0641">00152</a> <span class="preprocessor">#define U_SHAPE_LETTERS_NOOP 0</span> <a name="l00153"></a>00153 <span class="preprocessor"></span> <a name="l00155"></a><a class="code" href="ushape_8h.html#35a7060a92740af5059e81e6244501ae">00155</a> <span class="preprocessor">#define U_SHAPE_LETTERS_SHAPE 8</span> <a name="l00156"></a>00156 <span class="preprocessor"></span> <a name="l00158"></a><a class="code" href="ushape_8h.html#467ea29597b4afeb621c2eac5b2f8e2e">00158</a> <span class="preprocessor">#define U_SHAPE_LETTERS_UNSHAPE 0x10</span> <a name="l00159"></a>00159 <span class="preprocessor"></span> <a name="l00167"></a><a class="code" href="ushape_8h.html#aa252c41f59d8b13aeb19b6c4af703e7">00167</a> <span class="preprocessor">#define U_SHAPE_LETTERS_SHAPE_TASHKEEL_ISOLATED 0x18</span> <a name="l00168"></a>00168 <span class="preprocessor"></span> <a name="l00170"></a><a class="code" href="ushape_8h.html#55165d3210c77071a656b23da6e629d7">00170</a> <span class="preprocessor">#define U_SHAPE_LETTERS_MASK 0x18</span> <a name="l00171"></a>00171 <span class="preprocessor"></span> <a name="l00172"></a>00172 <a name="l00174"></a><a class="code" href="ushape_8h.html#128ecde6923da39afc4b066452bfb20b">00174</a> <span class="preprocessor">#define U_SHAPE_DIGITS_NOOP 0</span> <a name="l00175"></a>00175 <span class="preprocessor"></span> <a name="l00181"></a><a class="code" href="ushape_8h.html#076d430390e29b366899aedf703d28ab">00181</a> <span class="preprocessor">#define U_SHAPE_DIGITS_EN2AN 0x20</span> <a name="l00182"></a>00182 <span class="preprocessor"></span> <a name="l00188"></a><a class="code" href="ushape_8h.html#cd8e0e59cd951a98bfa82246817d9e3d">00188</a> <span class="preprocessor">#define U_SHAPE_DIGITS_AN2EN 0x40</span> <a name="l00189"></a>00189 <span class="preprocessor"></span> <a name="l00201"></a><a class="code" href="ushape_8h.html#8a09d5e7b1ed9abb24f7e6a661985f8b">00201</a> <span class="preprocessor">#define U_SHAPE_DIGITS_ALEN2AN_INIT_LR 0x60</span> <a name="l00202"></a>00202 <span class="preprocessor"></span> <a name="l00213"></a><a class="code" href="ushape_8h.html#d4d3595d8e8acf62a983c330a94b7eea">00213</a> <span class="preprocessor">#define U_SHAPE_DIGITS_ALEN2AN_INIT_AL 0x80</span> <a name="l00214"></a>00214 <span class="preprocessor"></span> <a name="l00216"></a><a class="code" href="ushape_8h.html#d55c64656273fe4694da300163cc100e">00216</a> <span class="preprocessor">#define U_SHAPE_DIGITS_RESERVED 0xa0</span> <a name="l00217"></a>00217 <span class="preprocessor"></span> <a name="l00219"></a><a class="code" href="ushape_8h.html#7c053b32b1b4a2990e34de42a92ad6da">00219</a> <span class="preprocessor">#define U_SHAPE_DIGITS_MASK 0xe0</span> <a name="l00220"></a>00220 <span class="preprocessor"></span> <a name="l00221"></a>00221 <a name="l00223"></a><a class="code" href="ushape_8h.html#25839d9d3da0de5ce66fec0e8422858e">00223</a> <span class="preprocessor">#define U_SHAPE_DIGIT_TYPE_AN 0</span> <a name="l00224"></a>00224 <span class="preprocessor"></span> <a name="l00226"></a><a class="code" href="ushape_8h.html#1dde0161974e5a013bde61047b2d0cbd">00226</a> <span class="preprocessor">#define U_SHAPE_DIGIT_TYPE_AN_EXTENDED 0x100</span> <a name="l00227"></a>00227 <span class="preprocessor"></span> <a name="l00229"></a><a class="code" href="ushape_8h.html#5be9054f489e828bd9b77d3a78cb7864">00229</a> <span class="preprocessor">#define U_SHAPE_DIGIT_TYPE_RESERVED 0x200</span> <a name="l00230"></a>00230 <span class="preprocessor"></span> <a name="l00232"></a><a class="code" href="ushape_8h.html#7000600c68e427693e43cd1a9eee4692">00232</a> <span class="preprocessor">#define U_SHAPE_DIGIT_TYPE_MASK 0x3f00</span> <a name="l00233"></a>00233 <span class="preprocessor"></span> <a name="l00234"></a>00234 <span class="preprocessor">#endif</span> </pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Dec 13 17:29:51 2011 for ICU 3.6 by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address> </body> </html>