Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 280da2a01a3d16776505ea3f476de84f > files > 88

icu-doc-3.8.1-2mdv2008.1.x86_64.rpm

<!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.8: LEGlyphStorage Class Reference</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.5.1 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li id="current"><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</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="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
  </ul></div>
<h1>LEGlyphStorage Class Reference</h1><!-- doxytag: class="LEGlyphStorage" --><!-- doxytag: inherits="UObject" -->This class encapsulates the per-glyph storage used by the ICU <a class="el" href="classLayoutEngine.html">LayoutEngine</a>.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="LEGlyphStorage_8h-source.html">LEGlyphStorage.h</a>&gt;</code>
<p>
<p>Inheritance diagram for LEGlyphStorage:
<p><center><img src="classLEGlyphStorage.png" usemap="#LEGlyphStorage_map" border="0" alt=""></center>
<map name="LEGlyphStorage_map">
<area href="classUObject.html" alt="UObject" shape="rect" coords="0,56,104,80">
<area href="classUMemory.html" alt="UMemory" shape="rect" coords="0,0,104,24">
</map>
<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="classLEGlyphStorage.html#9abbaf74759172ef88462954716b7e48">LEGlyphStorage</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Allocates an empty <code><a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a></code> object.  <a href="#9abbaf74759172ef88462954716b7e48"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#0179b30b5d17a3cd4fb0d3bcd961532f">~LEGlyphStorage</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The destructor.  <a href="#0179b30b5d17a3cd4fb0d3bcd961532f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#8998db6000da9c42b7c0b8b7f896c73e">getGlyphCount</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method returns the number of glyphs in the glyph array.  <a href="#8998db6000da9c42b7c0b8b7f896c73e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#1e5ae09ec1390e13a40d7bcc7cffbf06">getGlyphs</a> (<a class="el" href="LETypes_8h.html#e440e077586bced1a0d1c534643ffc23">LEGlyphID</a> glyphs[], <a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;success) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method copies the glyph array into a caller supplied array.  <a href="#1e5ae09ec1390e13a40d7bcc7cffbf06"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#e07820b424b60df1d28a041daa9d17c0">getGlyphs</a> (<a class="el" href="LETypes_8h.html#8ed46f4fc717cf0a94de62efe109ecae">le_uint32</a> glyphs[], <a class="el" href="LETypes_8h.html#8ed46f4fc717cf0a94de62efe109ecae">le_uint32</a> extraBits, <a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;success) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method copies the glyph array into a caller supplied array, ORing in extra bits.  <a href="#e07820b424b60df1d28a041daa9d17c0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#16e9aa6988787c826c09428e4a72201e">getCharIndices</a> (<a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> charIndices[], <a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;success) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method copies the character index array into a caller supplied array.  <a href="#16e9aa6988787c826c09428e4a72201e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#e0044f33492ad7f6bcdebb91a4c3d908">getCharIndices</a> (<a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> charIndices[], <a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> indexBase, <a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;success) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method copies the character index array into a caller supplied array.  <a href="#e0044f33492ad7f6bcdebb91a4c3d908"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#1007c05f517d83aa6dcdfb739648096b">getGlyphPositions</a> (float positions[], <a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;success) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method copies the position array into a caller supplied array.  <a href="#1007c05f517d83aa6dcdfb739648096b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#03e431e367265316c16aaf1c465826d5">getGlyphPosition</a> (<a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> glyphIndex, float &amp;x, float &amp;y, <a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;success) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method returns the X and Y position of the glyph at the given index.  <a href="#03e431e367265316c16aaf1c465826d5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#c589c2a2f5f6a3660f2f2d823045093a">allocateGlyphArray</a> (<a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> initialGlyphCount, <a class="el" href="LETypes_8h.html#4b77bc254d0e88fdabffde9c03e6728f">le_bool</a> rightToLeft, <a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;success)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method allocates the glyph array, the char indices array and the insertion list.  <a href="#c589c2a2f5f6a3660f2f2d823045093a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#8a7e2d2252e3ee78591129d6d693a7d4">allocatePositions</a> (<a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;success)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method allocates the storage for the glyph positions.  <a href="#8a7e2d2252e3ee78591129d6d693a7d4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#88dec0a3461a06947f8bbdf86802d9c7">allocateAuxData</a> (<a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;success)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method allocates the storage for the auxillary glyph data.  <a href="#88dec0a3461a06947f8bbdf86802d9c7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#900f0284f9540fa7c3996695f25bb303">getAuxData</a> (<a class="el" href="LETypes_8h.html#8ed46f4fc717cf0a94de62efe109ecae">le_uint32</a> auxData[], <a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;success) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy the entire auxillary data array.  <a href="#900f0284f9540fa7c3996695f25bb303"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="LETypes_8h.html#e440e077586bced1a0d1c534643ffc23">LEGlyphID</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#389a5929b3753e64c692dae10fc4010c">getGlyphID</a> (<a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> glyphIndex, <a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;success) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the glyph ID for a particular glyph.  <a href="#389a5929b3753e64c692dae10fc4010c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#df983299c3852f0ad5869fb2b55016de">getCharIndex</a> (<a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> glyphIndex, <a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;success) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the char index for a particular glyph.  <a href="#df983299c3852f0ad5869fb2b55016de"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="LETypes_8h.html#8ed46f4fc717cf0a94de62efe109ecae">le_uint32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#ccb3fb243b19c89618b7854a49d44f42">getAuxData</a> (<a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> glyphIndex, <a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;success) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the auxillary data for a particular glyph.  <a href="#ccb3fb243b19c89618b7854a49d44f42"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="LETypes_8h.html#e440e077586bced1a0d1c534643ffc23">LEGlyphID</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#c0e5610aa6a206923ce6a39eac582649">operator[]</a> (<a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> glyphIndex) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This operator allows direct access to the glyph array using the index operator.  <a href="#c0e5610aa6a206923ce6a39eac582649"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="LETypes_8h.html#e440e077586bced1a0d1c534643ffc23">LEGlyphID</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#23c343f6b4aff992f1740f9119b9e9f5">insertGlyphs</a> (<a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> atIndex, <a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> insertCount)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Call this method to replace a single glyph in the glyph array with multiple glyphs.  <a href="#23c343f6b4aff992f1740f9119b9e9f5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#2057b358faed98cddea96fd6c2a23a81">applyInsertions</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method causes all of the glyph insertions recorded by <code>insertGlyphs</code> to be applied to the glyph array.  <a href="#2057b358faed98cddea96fd6c2a23a81"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#cb0474cecfae8396fd3daab936187d88">setGlyphID</a> (<a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> glyphIndex, <a class="el" href="LETypes_8h.html#e440e077586bced1a0d1c534643ffc23">LEGlyphID</a> glyphID, <a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;success)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the glyph ID for a particular glyph.  <a href="#cb0474cecfae8396fd3daab936187d88"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#59a83e8b7610c754943460a5f112b4b6">setCharIndex</a> (<a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> glyphIndex, <a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> charIndex, <a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;success)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the char index for a particular glyph.  <a href="#59a83e8b7610c754943460a5f112b4b6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#cf5f875b9c036cab4012a2d9bdc993df">setPosition</a> (<a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> glyphIndex, float x, float y, <a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;success)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the X, Y position for a particular glyph.  <a href="#cf5f875b9c036cab4012a2d9bdc993df"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#3ce76f642547f327959b0a06fda3e38c">adjustPosition</a> (<a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> glyphIndex, float xAdjust, float yAdjust, <a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;success)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adjust the X, Y position for a particular glyph.  <a href="#3ce76f642547f327959b0a06fda3e38c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#43ee6fc4448bcab1e4e5eabfa7d2d7cb">setAuxData</a> (<a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> glyphIndex, <a class="el" href="LETypes_8h.html#8ed46f4fc717cf0a94de62efe109ecae">le_uint32</a> auxData, <a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;success)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the auxillary data for a particular glyph.  <a href="#43ee6fc4448bcab1e4e5eabfa7d2d7cb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#478f13f3df662dc267c09cb8bfb437c5">adoptGlyphArray</a> (<a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a> &amp;from)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Delete the glyph array and replace it with the one in <code>from</code>.  <a href="#478f13f3df662dc267c09cb8bfb437c5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#fbe13e52ef7af180ad57b02f0c8caa52">adoptCharIndicesArray</a> (<a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a> &amp;from)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Delete the char indices array and replace it with the one in <code>from</code>.  <a href="#fbe13e52ef7af180ad57b02f0c8caa52"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#30eb6eaf638ad4500089fc8918e78b82">adoptPositionArray</a> (<a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a> &amp;from)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Delete the position array and replace it with the one in <code>from</code>.  <a href="#30eb6eaf638ad4500089fc8918e78b82"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#2bc75f96d51a70ef17138fe2e8931ae7">adoptAuxDataArray</a> (<a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a> &amp;from)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Delete the auxillary data array and replace it with the one in <code>from</code>.  <a href="#2bc75f96d51a70ef17138fe2e8931ae7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#1b4b92dd6b41fe5b170702518999b61e">adoptGlyphCount</a> (<a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a> &amp;from)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Change the glyph count of this object to be the same as the one in <code>from</code>.  <a href="#1b4b92dd6b41fe5b170702518999b61e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#7bc9c15dcfb6458c091b4eb54858a40f">adoptGlyphCount</a> (<a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> newGlyphCount)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Change the glyph count of this object to the given value.  <a href="#7bc9c15dcfb6458c091b4eb54858a40f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#01c89341c00c6525b74c6a2bafe24e89">reset</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method frees the glyph, character index, position and auxillary data arrays so that the <a class="el" href="classLayoutEngine.html">LayoutEngine</a> can be reused to layout a different characer array.  <a href="#01c89341c00c6525b74c6a2bafe24e89"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#11777a0f700a43ee3888f002c70377cc">getDynamicClassID</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for the actual class.  <a href="#11777a0f700a43ee3888f002c70377cc"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#3db494186bb6aecc02a4f33ce76f63f9">getStaticClassID</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for this class.  <a href="#3db494186bb6aecc02a4f33ce76f63f9"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="LETypes_8h.html#4b77bc254d0e88fdabffde9c03e6728f">le_bool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLEGlyphStorage.html#5f3390d6a69d237d6fd723a0f781f400">applyInsertion</a> (<a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> atPosition, <a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> count, <a class="el" href="LETypes_8h.html#e440e077586bced1a0d1c534643ffc23">LEGlyphID</a> newGlyphs[])</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This implements <code>LEInsertionCallback</code>.  <a href="#5f3390d6a69d237d6fd723a0f781f400"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
This class encapsulates the per-glyph storage used by the ICU <a class="el" href="classLayoutEngine.html">LayoutEngine</a>. 
<p>
For each glyph it holds the glyph ID, the index of the backing store character which produced the glyph, the X and Y position of the glyph and an auxillary data pointer.<p>
The storage is growable using the <code>LEInsertionList</code> class.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd>LEInsertionList.h</dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003358">Stable:</a></b></dt><dd>ICU 3.6 </dd></dl>

<p>

<p>
Definition at line <a class="el" href="LEGlyphStorage_8h-source.html#l00034">34</a> of file <a class="el" href="LEGlyphStorage_8h-source.html">LEGlyphStorage.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="9abbaf74759172ef88462954716b7e48"></a><!-- doxytag: member="LEGlyphStorage::LEGlyphStorage" ref="9abbaf74759172ef88462954716b7e48" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LEGlyphStorage::LEGlyphStorage           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Allocates an empty <code><a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a></code> object. 
<p>
You must call <code>allocateGlyphArray, allocatePositions and allocateAuxData</code> to allocate the data.<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable003360">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="0179b30b5d17a3cd4fb0d3bcd961532f"></a><!-- doxytag: member="LEGlyphStorage::~LEGlyphStorage" ref="0179b30b5d17a3cd4fb0d3bcd961532f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LEGlyphStorage::~LEGlyphStorage           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The destructor. 
<p>
This will deallocate all of the arrays.<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable003361">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="5f3390d6a69d237d6fd723a0f781f400"></a><!-- doxytag: member="LEGlyphStorage::applyInsertion" ref="5f3390d6a69d237d6fd723a0f781f400" args="(le_int32 atPosition, le_int32 count, LEGlyphID newGlyphs[])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="LETypes_8h.html#4b77bc254d0e88fdabffde9c03e6728f">le_bool</a> LEGlyphStorage::applyInsertion           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>atPosition</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>count</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#e440e077586bced1a0d1c534643ffc23">LEGlyphID</a>&nbsp;</td>
          <td class="paramname"> <em>newGlyphs</em>[]</td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This implements <code>LEInsertionCallback</code>. 
<p>
The <code>LEInsertionList</code> will call this method once for each insertion.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>atPosition</em>&nbsp;</td><td>the position of the insertion </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>count</em>&nbsp;</td><td>the number of glyphs being inserted </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>newGlyphs</em>&nbsp;</td><td>the address of the new glyph IDs</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if <code>LEInsertionList</code> should stop processing the insertion list after this insertion.</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd>LEInsertionList.h</dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003359">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="8998db6000da9c42b7c0b8b7f896c73e"></a><!-- doxytag: member="LEGlyphStorage::getGlyphCount" ref="8998db6000da9c42b7c0b8b7f896c73e" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> LEGlyphStorage::getGlyphCount           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This method returns the number of glyphs in the glyph array. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the number of glyphs in the glyph array</dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003362">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

<p>
Definition at line <a class="el" href="LEGlyphStorage_8h-source.html#l00497">497</a> of file <a class="el" href="LEGlyphStorage_8h-source.html">LEGlyphStorage.h</a>.
</div>
</div><p>
<a class="anchor" name="1e5ae09ec1390e13a40d7bcc7cffbf06"></a><!-- doxytag: member="LEGlyphStorage::getGlyphs" ref="1e5ae09ec1390e13a40d7bcc7cffbf06" args="(LEGlyphID glyphs[], LEErrorCode &amp;success) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LEGlyphStorage::getGlyphs           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#e440e077586bced1a0d1c534643ffc23">LEGlyphID</a>&nbsp;</td>
          <td class="paramname"> <em>glyphs</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This method copies the glyph array into a caller supplied array. 
<p>
The caller must ensure that the array is large enough to hold all the glyphs.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>glyphs</em>&nbsp;</td><td>- the destiniation glyph array </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>- set to an error code if the operation fails</td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003363">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="e07820b424b60df1d28a041daa9d17c0"></a><!-- doxytag: member="LEGlyphStorage::getGlyphs" ref="e07820b424b60df1d28a041daa9d17c0" args="(le_uint32 glyphs[], le_uint32 extraBits, LEErrorCode &amp;success) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LEGlyphStorage::getGlyphs           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#8ed46f4fc717cf0a94de62efe109ecae">le_uint32</a>&nbsp;</td>
          <td class="paramname"> <em>glyphs</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#8ed46f4fc717cf0a94de62efe109ecae">le_uint32</a>&nbsp;</td>
          <td class="paramname"> <em>extraBits</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This method copies the glyph array into a caller supplied array, ORing in extra bits. 
<p>
(This functionality is needed by the JDK, which uses 32 bits pre glyph idex, with the high 16 bits encoding the composite font slot number)<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>glyphs</em>&nbsp;</td><td>- the destination (32 bit) glyph array </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>extraBits</em>&nbsp;</td><td>- this value will be ORed with each glyph index </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>- set to an error code if the operation fails</td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003364">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="16e9aa6988787c826c09428e4a72201e"></a><!-- doxytag: member="LEGlyphStorage::getCharIndices" ref="16e9aa6988787c826c09428e4a72201e" args="(le_int32 charIndices[], LEErrorCode &amp;success) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LEGlyphStorage::getCharIndices           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>charIndices</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This method copies the character index array into a caller supplied array. 
<p>
The caller must ensure that the array is large enough to hold a character index for each glyph.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>charIndices</em>&nbsp;</td><td>- the destiniation character index array </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>- set to an error code if the operation fails</td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003365">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="e0044f33492ad7f6bcdebb91a4c3d908"></a><!-- doxytag: member="LEGlyphStorage::getCharIndices" ref="e0044f33492ad7f6bcdebb91a4c3d908" args="(le_int32 charIndices[], le_int32 indexBase, LEErrorCode &amp;success) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LEGlyphStorage::getCharIndices           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>charIndices</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>indexBase</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This method copies the character index array into a caller supplied array. 
<p>
The caller must ensure that the array is large enough to hold a character index for each glyph.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>charIndices</em>&nbsp;</td><td>- the destiniation character index array </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>indexBase</em>&nbsp;</td><td>- an offset which will be added to each index </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>- set to an error code if the operation fails</td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003366">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="1007c05f517d83aa6dcdfb739648096b"></a><!-- doxytag: member="LEGlyphStorage::getGlyphPositions" ref="1007c05f517d83aa6dcdfb739648096b" args="(float positions[], LEErrorCode &amp;success) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LEGlyphStorage::getGlyphPositions           </td>
          <td>(</td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>positions</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This method copies the position array into a caller supplied array. 
<p>
The caller must ensure that the array is large enough to hold an X and Y position for each glyph, plus an extra X and Y for the advance of the last glyph.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>positions</em>&nbsp;</td><td>- the destiniation position array </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>- set to an error code if the operation fails</td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003367">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="03e431e367265316c16aaf1c465826d5"></a><!-- doxytag: member="LEGlyphStorage::getGlyphPosition" ref="03e431e367265316c16aaf1c465826d5" args="(le_int32 glyphIndex, float &amp;x, float &amp;y, LEErrorCode &amp;success) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LEGlyphStorage::getGlyphPosition           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>glyphIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float &amp;&nbsp;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float &amp;&nbsp;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This method returns the X and Y position of the glyph at the given index. 
<p>
Input parameters: <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>glyphIndex</em>&nbsp;</td><td>- the index of the glyph</td></tr>
  </table>
</dl>
Output parameters: <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>- the glyph's X position </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>- the glyph's Y position </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>- set to an error code if the operation fails</td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003368">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="c589c2a2f5f6a3660f2f2d823045093a"></a><!-- doxytag: member="LEGlyphStorage::allocateGlyphArray" ref="c589c2a2f5f6a3660f2f2d823045093a" args="(le_int32 initialGlyphCount, le_bool rightToLeft, LEErrorCode &amp;success)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LEGlyphStorage::allocateGlyphArray           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>initialGlyphCount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#4b77bc254d0e88fdabffde9c03e6728f">le_bool</a>&nbsp;</td>
          <td class="paramname"> <em>rightToLeft</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This method allocates the glyph array, the char indices array and the insertion list. 
<p>
You must call this method before using the object. This method also initializes the char indices array.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>initialGlyphCount</em>&nbsp;</td><td>the initial size of the glyph and char indices arrays. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>rightToLeft</em>&nbsp;</td><td><code>true</code> if the original input text is right to left. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>set to an error code if the storage cannot be allocated of if the initial glyph count is not positive.</td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003369">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="8a7e2d2252e3ee78591129d6d693a7d4"></a><!-- doxytag: member="LEGlyphStorage::allocatePositions" ref="8a7e2d2252e3ee78591129d6d693a7d4" args="(LEErrorCode &amp;success)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> LEGlyphStorage::allocatePositions           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This method allocates the storage for the glyph positions. 
<p>
It allocates one extra X, Y position pair for the position just after the last glyph.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>set to an error code if the positions array cannot be allocated.</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the number of X, Y position pairs allocated.</dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003370">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="88dec0a3461a06947f8bbdf86802d9c7"></a><!-- doxytag: member="LEGlyphStorage::allocateAuxData" ref="88dec0a3461a06947f8bbdf86802d9c7" args="(LEErrorCode &amp;success)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> LEGlyphStorage::allocateAuxData           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This method allocates the storage for the auxillary glyph data. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>set to an error code if the aulillary data array cannot be allocated.</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the size of the auxillary data array.</dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003371">Stable:</a></b></dt><dd>ICU 3.6 </dd></dl>

</div>
</div><p>
<a class="anchor" name="900f0284f9540fa7c3996695f25bb303"></a><!-- doxytag: member="LEGlyphStorage::getAuxData" ref="900f0284f9540fa7c3996695f25bb303" args="(le_uint32 auxData[], LEErrorCode &amp;success) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LEGlyphStorage::getAuxData           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#8ed46f4fc717cf0a94de62efe109ecae">le_uint32</a>&nbsp;</td>
          <td class="paramname"> <em>auxData</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Copy the entire auxillary data array. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>auxData</em>&nbsp;</td><td>the auxillary data array will be copied to this address </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>set to an error code if the data cannot be copied</td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003372">Stable:</a></b></dt><dd>ICU 3.6 </dd></dl>

</div>
</div><p>
<a class="anchor" name="389a5929b3753e64c692dae10fc4010c"></a><!-- doxytag: member="LEGlyphStorage::getGlyphID" ref="389a5929b3753e64c692dae10fc4010c" args="(le_int32 glyphIndex, LEErrorCode &amp;success) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="LETypes_8h.html#e440e077586bced1a0d1c534643ffc23">LEGlyphID</a> LEGlyphStorage::getGlyphID           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>glyphIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the glyph ID for a particular glyph. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>glyphIndex</em>&nbsp;</td><td>the index into the glyph array </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>set to an error code if the glyph ID cannot be retrieved.</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the glyph ID</dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003373">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="df983299c3852f0ad5869fb2b55016de"></a><!-- doxytag: member="LEGlyphStorage::getCharIndex" ref="df983299c3852f0ad5869fb2b55016de" args="(le_int32 glyphIndex, LEErrorCode &amp;success) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> LEGlyphStorage::getCharIndex           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>glyphIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the char index for a particular glyph. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>glyphIndex</em>&nbsp;</td><td>the index into the glyph array </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>set to an error code if the char index cannot be retrieved.</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the character index</dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003374">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="ccb3fb243b19c89618b7854a49d44f42"></a><!-- doxytag: member="LEGlyphStorage::getAuxData" ref="ccb3fb243b19c89618b7854a49d44f42" args="(le_int32 glyphIndex, LEErrorCode &amp;success) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="LETypes_8h.html#8ed46f4fc717cf0a94de62efe109ecae">le_uint32</a> LEGlyphStorage::getAuxData           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>glyphIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the auxillary data for a particular glyph. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>glyphIndex</em>&nbsp;</td><td>the index into the glyph array </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>set to an error code if the auxillary data cannot be retrieved.</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the auxillary data</dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003375">Stable:</a></b></dt><dd>ICU 3.6 </dd></dl>

</div>
</div><p>
<a class="anchor" name="c0e5610aa6a206923ce6a39eac582649"></a><!-- doxytag: member="LEGlyphStorage::operator[]" ref="c0e5610aa6a206923ce6a39eac582649" args="(le_int32 glyphIndex) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="LETypes_8h.html#e440e077586bced1a0d1c534643ffc23">LEGlyphID</a> &amp; LEGlyphStorage::operator[]           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>glyphIndex</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This operator allows direct access to the glyph array using the index operator. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>glyphIndex</em>&nbsp;</td><td>the index into the glyph array</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a reference to the given location in the glyph array</dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003376">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

<p>
Definition at line <a class="el" href="LEGlyphStorage_8h-source.html#l00502">502</a> of file <a class="el" href="LEGlyphStorage_8h-source.html">LEGlyphStorage.h</a>.
</div>
</div><p>
<a class="anchor" name="23c343f6b4aff992f1740f9119b9e9f5"></a><!-- doxytag: member="LEGlyphStorage::insertGlyphs" ref="23c343f6b4aff992f1740f9119b9e9f5" args="(le_int32 atIndex, le_int32 insertCount)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="LETypes_8h.html#e440e077586bced1a0d1c534643ffc23">LEGlyphID</a>* LEGlyphStorage::insertGlyphs           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>atIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>insertCount</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Call this method to replace a single glyph in the glyph array with multiple glyphs. 
<p>
This method uses the <code>LEInsertionList</code> to do the insertion. It returns the address of storage where the new glyph IDs can be stored. They will not actually be inserted into the glyph array until <code>applyInsertions</code> is called.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>atIndex</em>&nbsp;</td><td>the index of the glyph to be replaced </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>insertCount</em>&nbsp;</td><td>the number of glyphs to replace it with</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the address at which to store the replacement glyphs.</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd>LEInsetionList.h</dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003377">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="2057b358faed98cddea96fd6c2a23a81"></a><!-- doxytag: member="LEGlyphStorage::applyInsertions" ref="2057b358faed98cddea96fd6c2a23a81" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> LEGlyphStorage::applyInsertions           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This method causes all of the glyph insertions recorded by <code>insertGlyphs</code> to be applied to the glyph array. 
<p>
The new slots in the char indices and the auxillary data arrays will be filled in with the values for the glyph being replaced.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the new size of the glyph array</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd>LEInsertionList.h</dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003378">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="cb0474cecfae8396fd3daab936187d88"></a><!-- doxytag: member="LEGlyphStorage::setGlyphID" ref="cb0474cecfae8396fd3daab936187d88" args="(le_int32 glyphIndex, LEGlyphID glyphID, LEErrorCode &amp;success)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LEGlyphStorage::setGlyphID           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>glyphIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#e440e077586bced1a0d1c534643ffc23">LEGlyphID</a>&nbsp;</td>
          <td class="paramname"> <em>glyphID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the glyph ID for a particular glyph. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>glyphIndex</em>&nbsp;</td><td>the index of the glyph </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>glyphID</em>&nbsp;</td><td>the new glyph ID </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>will be set to an error code if the glyph ID cannot be set.</td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003379">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="59a83e8b7610c754943460a5f112b4b6"></a><!-- doxytag: member="LEGlyphStorage::setCharIndex" ref="59a83e8b7610c754943460a5f112b4b6" args="(le_int32 glyphIndex, le_int32 charIndex, LEErrorCode &amp;success)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LEGlyphStorage::setCharIndex           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>glyphIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>charIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the char index for a particular glyph. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>glyphIndex</em>&nbsp;</td><td>the index of the glyph </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>charIndex</em>&nbsp;</td><td>the new char index </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>will be set to an error code if the char index cannot be set.</td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003380">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="cf5f875b9c036cab4012a2d9bdc993df"></a><!-- doxytag: member="LEGlyphStorage::setPosition" ref="cf5f875b9c036cab4012a2d9bdc993df" args="(le_int32 glyphIndex, float x, float y, LEErrorCode &amp;success)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LEGlyphStorage::setPosition           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>glyphIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the X, Y position for a particular glyph. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>glyphIndex</em>&nbsp;</td><td>the index of the glyph </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>the new X position </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>the new Y position </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>will be set to an error code if the position cannot be set.</td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003381">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="3ce76f642547f327959b0a06fda3e38c"></a><!-- doxytag: member="LEGlyphStorage::adjustPosition" ref="3ce76f642547f327959b0a06fda3e38c" args="(le_int32 glyphIndex, float xAdjust, float yAdjust, LEErrorCode &amp;success)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LEGlyphStorage::adjustPosition           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>glyphIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>xAdjust</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>yAdjust</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Adjust the X, Y position for a particular glyph. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>glyphIndex</em>&nbsp;</td><td>the index of the glyph </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>xAdjust</em>&nbsp;</td><td>the adjustment to the glyph's X position </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>yAdjust</em>&nbsp;</td><td>the adjustment to the glyph's Y position </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>will be set to an error code if the glyph's position cannot be adjusted.</td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003382">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="43ee6fc4448bcab1e4e5eabfa7d2d7cb"></a><!-- doxytag: member="LEGlyphStorage::setAuxData" ref="43ee6fc4448bcab1e4e5eabfa7d2d7cb" args="(le_int32 glyphIndex, le_uint32 auxData, LEErrorCode &amp;success)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LEGlyphStorage::setAuxData           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>glyphIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#8ed46f4fc717cf0a94de62efe109ecae">le_uint32</a>&nbsp;</td>
          <td class="paramname"> <em>auxData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the auxillary data for a particular glyph. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>glyphIndex</em>&nbsp;</td><td>the index of the glyph </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>auxData</em>&nbsp;</td><td>the new auxillary data </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>will be set to an error code if the auxillary data cannot be set.</td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003383">Stable:</a></b></dt><dd>ICU 3.6 </dd></dl>

</div>
</div><p>
<a class="anchor" name="478f13f3df662dc267c09cb8bfb437c5"></a><!-- doxytag: member="LEGlyphStorage::adoptGlyphArray" ref="478f13f3df662dc267c09cb8bfb437c5" args="(LEGlyphStorage &amp;from)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LEGlyphStorage::adoptGlyphArray           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>from</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Delete the glyph array and replace it with the one in <code>from</code>. 
<p>
Set the glyph array pointer in <code>from</code> to <code>NULL</code>.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>from</em>&nbsp;</td><td>the <code><a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a></code> object from which to get the new glyph array.</td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003384">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="fbe13e52ef7af180ad57b02f0c8caa52"></a><!-- doxytag: member="LEGlyphStorage::adoptCharIndicesArray" ref="fbe13e52ef7af180ad57b02f0c8caa52" args="(LEGlyphStorage &amp;from)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LEGlyphStorage::adoptCharIndicesArray           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>from</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Delete the char indices array and replace it with the one in <code>from</code>. 
<p>
Set the char indices array pointer in <code>from</code> to <code>NULL</code>.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>from</em>&nbsp;</td><td>the <code><a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a></code> object from which to get the new char indices array.</td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003385">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="30eb6eaf638ad4500089fc8918e78b82"></a><!-- doxytag: member="LEGlyphStorage::adoptPositionArray" ref="30eb6eaf638ad4500089fc8918e78b82" args="(LEGlyphStorage &amp;from)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LEGlyphStorage::adoptPositionArray           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>from</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Delete the position array and replace it with the one in <code>from</code>. 
<p>
Set the position array pointer in <code>from</code> to <code>NULL</code>.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>from</em>&nbsp;</td><td>the <code><a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a></code> object from which to get the new position array.</td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003386">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="2bc75f96d51a70ef17138fe2e8931ae7"></a><!-- doxytag: member="LEGlyphStorage::adoptAuxDataArray" ref="2bc75f96d51a70ef17138fe2e8931ae7" args="(LEGlyphStorage &amp;from)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LEGlyphStorage::adoptAuxDataArray           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>from</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Delete the auxillary data array and replace it with the one in <code>from</code>. 
<p>
Set the auxillary data array pointer in <code>from</code> to <code>NULL</code>.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>from</em>&nbsp;</td><td>the <code><a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a></code> object from which to get the new auxillary data array.</td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003387">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="1b4b92dd6b41fe5b170702518999b61e"></a><!-- doxytag: member="LEGlyphStorage::adoptGlyphCount" ref="1b4b92dd6b41fe5b170702518999b61e" args="(LEGlyphStorage &amp;from)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LEGlyphStorage::adoptGlyphCount           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>from</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Change the glyph count of this object to be the same as the one in <code>from</code>. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>from</em>&nbsp;</td><td>the <code><a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a></code> object from which to get the new glyph count.</td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003388">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="7bc9c15dcfb6458c091b4eb54858a40f"></a><!-- doxytag: member="LEGlyphStorage::adoptGlyphCount" ref="7bc9c15dcfb6458c091b4eb54858a40f" args="(le_int32 newGlyphCount)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LEGlyphStorage::adoptGlyphCount           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>newGlyphCount</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Change the glyph count of this object to the given value. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newGlyphCount</em>&nbsp;</td><td>the new glyph count.</td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003389">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="01c89341c00c6525b74c6a2bafe24e89"></a><!-- doxytag: member="LEGlyphStorage::reset" ref="01c89341c00c6525b74c6a2bafe24e89" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LEGlyphStorage::reset           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This method frees the glyph, character index, position and auxillary data arrays so that the <a class="el" href="classLayoutEngine.html">LayoutEngine</a> can be reused to layout a different characer array. 
<p>
(This method is also called by the destructor)<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable003390">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="11777a0f700a43ee3888f002c70377cc"></a><!-- doxytag: member="LEGlyphStorage::getDynamicClassID" ref="11777a0f700a43ee3888f002c70377cc" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a> LEGlyphStorage::getDynamicClassID           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
ICU "poor man's RTTI", returns a UClassID for the actual class. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable003391">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

<p>
Implements <a class="el" href="classUObject.html#ce1dd31fb2c6f2c07dfebe8fd240ec37">UObject</a>.
</div>
</div><p>
<a class="anchor" name="3db494186bb6aecc02a4f33ce76f63f9"></a><!-- doxytag: member="LEGlyphStorage::getStaticClassID" ref="3db494186bb6aecc02a4f33ce76f63f9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a> LEGlyphStorage::getStaticClassID           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
ICU "poor man's RTTI", returns a UClassID for this class. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable003392">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="LEGlyphStorage_8h-source.html">LEGlyphStorage.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 14 12:59:42 2007 for ICU 3.8 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>