<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.11"/> <title>ICU 58.2: icu::ParagraphLayout::VisualRun Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">ICU 58.2  <span id="projectnumber">58.2</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.11 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="classes.html"><span>Data Structure Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceicu.html">icu</a></li><li class="navelem"><a class="el" href="classicu_1_1ParagraphLayout.html">ParagraphLayout</a></li><li class="navelem"><a class="el" href="classicu_1_1ParagraphLayout_1_1VisualRun.html">VisualRun</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#friends">Friends</a> </div> <div class="headertitle"> <div class="title">icu::ParagraphLayout::VisualRun Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>This object represents a single visual run in a line of text in a paragraph. <a href="classicu_1_1ParagraphLayout_1_1VisualRun.html#details">More...</a></p> <p><code>#include <<a class="el" href="ParagraphLayout_8h_source.html">ParagraphLayout.h</a>></code></p> <div class="dynheader"> Inheritance diagram for icu::ParagraphLayout::VisualRun:</div> <div class="dyncontent"> <div class="center"> <img src="classicu_1_1ParagraphLayout_1_1VisualRun.png" usemap="#icu::ParagraphLayout::VisualRun_map" alt=""/> <map id="icu::ParagraphLayout::VisualRun_map" name="icu::ParagraphLayout::VisualRun_map"> <area href="classicu_1_1UObject.html" title="UObject is the common ICU "boilerplate" class. " alt="icu::UObject" shape="rect" coords="0,56,196,80"/> <area href="classicu_1_1UMemory.html" title="UMemory is the common ICU base class. " alt="icu::UMemory" shape="rect" coords="0,0,196,24"/> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a7a70305a8a7887f22017d04ea4afbb1f"><td class="memItemLeft" align="right" valign="top">const LEFontInstance * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1ParagraphLayout_1_1VisualRun.html#a7a70305a8a7887f22017d04ea4afbb1f">getFont</a> () const </td></tr> <tr class="memdesc:a7a70305a8a7887f22017d04ea4afbb1f"><td class="mdescLeft"> </td><td class="mdescRight">Get the <code>LEFontInstance</code> object which represents the font of the visual run. <a href="#a7a70305a8a7887f22017d04ea4afbb1f">More...</a><br /></td></tr> <tr class="separator:a7a70305a8a7887f22017d04ea4afbb1f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ace2c44fe2eedaebd20fa86b229efae43"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ubidi_8h.html#a68a6b5fdcbf80aaa51b5bd39f7f31102">UBiDiDirection</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1ParagraphLayout_1_1VisualRun.html#ace2c44fe2eedaebd20fa86b229efae43">getDirection</a> () const </td></tr> <tr class="memdesc:ace2c44fe2eedaebd20fa86b229efae43"><td class="mdescLeft"> </td><td class="mdescRight">Get the direction of the visual run. <a href="#ace2c44fe2eedaebd20fa86b229efae43">More...</a><br /></td></tr> <tr class="separator:ace2c44fe2eedaebd20fa86b229efae43"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afee2f6422201fbe867d6cc7aaf195448"><td class="memItemLeft" align="right" valign="top">le_int32 </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1ParagraphLayout_1_1VisualRun.html#afee2f6422201fbe867d6cc7aaf195448">getGlyphCount</a> () const </td></tr> <tr class="memdesc:afee2f6422201fbe867d6cc7aaf195448"><td class="mdescLeft"> </td><td class="mdescRight">Get the number of glyphs in the visual run. <a href="#afee2f6422201fbe867d6cc7aaf195448">More...</a><br /></td></tr> <tr class="separator:afee2f6422201fbe867d6cc7aaf195448"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a80262c42f26a1e24cc6ece119e3217af"><td class="memItemLeft" align="right" valign="top">const LEGlyphID * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1ParagraphLayout_1_1VisualRun.html#a80262c42f26a1e24cc6ece119e3217af">getGlyphs</a> () const </td></tr> <tr class="memdesc:a80262c42f26a1e24cc6ece119e3217af"><td class="mdescLeft"> </td><td class="mdescRight">Get the glyphs in the visual run. <a href="#a80262c42f26a1e24cc6ece119e3217af">More...</a><br /></td></tr> <tr class="separator:a80262c42f26a1e24cc6ece119e3217af"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac28ea4127b0eae610f18466c990f3e3b"><td class="memItemLeft" align="right" valign="top">const float * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1ParagraphLayout_1_1VisualRun.html#ac28ea4127b0eae610f18466c990f3e3b">getPositions</a> () const </td></tr> <tr class="memdesc:ac28ea4127b0eae610f18466c990f3e3b"><td class="mdescLeft"> </td><td class="mdescRight">Get the (x, y) positions of the glyphs in the visual run. <a href="#ac28ea4127b0eae610f18466c990f3e3b">More...</a><br /></td></tr> <tr class="separator:ac28ea4127b0eae610f18466c990f3e3b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a15766d1a59879f058a46a6c7fcf83048"><td class="memItemLeft" align="right" valign="top">const le_int32 * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1ParagraphLayout_1_1VisualRun.html#a15766d1a59879f058a46a6c7fcf83048">getGlyphToCharMap</a> () const </td></tr> <tr class="memdesc:a15766d1a59879f058a46a6c7fcf83048"><td class="mdescLeft"> </td><td class="mdescRight">Get the glyph-to-character map for this visual run. <a href="#a15766d1a59879f058a46a6c7fcf83048">More...</a><br /></td></tr> <tr class="separator:a15766d1a59879f058a46a6c7fcf83048"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a75882109d04e6deb192f40490da791b1"><td class="memItemLeft" align="right" valign="top">le_int32 </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1ParagraphLayout_1_1VisualRun.html#a75882109d04e6deb192f40490da791b1">getAscent</a> () const </td></tr> <tr class="memdesc:a75882109d04e6deb192f40490da791b1"><td class="mdescLeft"> </td><td class="mdescRight">A convenience method which returns the ascent value for the font associated with this run. <a href="#a75882109d04e6deb192f40490da791b1">More...</a><br /></td></tr> <tr class="separator:a75882109d04e6deb192f40490da791b1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab9d3750bf2f4b32ff22f68a2ad864f5e"><td class="memItemLeft" align="right" valign="top">le_int32 </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1ParagraphLayout_1_1VisualRun.html#ab9d3750bf2f4b32ff22f68a2ad864f5e">getDescent</a> () const </td></tr> <tr class="memdesc:ab9d3750bf2f4b32ff22f68a2ad864f5e"><td class="mdescLeft"> </td><td class="mdescRight">A convenience method which returns the descent value for the font associated with this run. <a href="#ab9d3750bf2f4b32ff22f68a2ad864f5e">More...</a><br /></td></tr> <tr class="separator:ab9d3750bf2f4b32ff22f68a2ad864f5e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0a77a71cab01a1f1050bb97b13359814"><td class="memItemLeft" align="right" valign="top">le_int32 </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1ParagraphLayout_1_1VisualRun.html#a0a77a71cab01a1f1050bb97b13359814">getLeading</a> () const </td></tr> <tr class="memdesc:a0a77a71cab01a1f1050bb97b13359814"><td class="mdescLeft"> </td><td class="mdescRight">A convenience method which returns the leading value for the font associated with this run. <a href="#a0a77a71cab01a1f1050bb97b13359814">More...</a><br /></td></tr> <tr class="separator:a0a77a71cab01a1f1050bb97b13359814"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa3b448ff2cbbe9c0ca41b06f76db992a"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1ParagraphLayout_1_1VisualRun.html#aa3b448ff2cbbe9c0ca41b06f76db992a">getDynamicClassID</a> () const </td></tr> <tr class="memdesc:aa3b448ff2cbbe9c0ca41b06f76db992a"><td class="mdescLeft"> </td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for the actual class. <a href="#aa3b448ff2cbbe9c0ca41b06f76db992a">More...</a><br /></td></tr> <tr class="separator:aa3b448ff2cbbe9c0ca41b06f76db992a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classicu_1_1UObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classicu_1_1UObject')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classicu_1_1UObject.html">icu::UObject</a></td></tr> <tr class="memitem:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1UObject.html#af10026497704f510d3d1f2eff50acb18">~UObject</a> ()</td></tr> <tr class="memdesc:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#af10026497704f510d3d1f2eff50acb18">More...</a><br /></td></tr> <tr class="separator:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr class="memitem:a313d3d8557d654c9b667c7d054e491b9"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1ParagraphLayout_1_1VisualRun.html#a313d3d8557d654c9b667c7d054e491b9">getStaticClassID</a> ()</td></tr> <tr class="memdesc:a313d3d8557d654c9b667c7d054e491b9"><td class="mdescLeft"> </td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for this class. <a href="#a313d3d8557d654c9b667c7d054e491b9">More...</a><br /></td></tr> <tr class="separator:a313d3d8557d654c9b667c7d054e491b9"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a> Friends</h2></td></tr> <tr class="memitem:a864cca3466d5710a4742ec5caf34b497"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a864cca3466d5710a4742ec5caf34b497"></a> class </td><td class="memItemRight" valign="bottom"><b>Line</b></td></tr> <tr class="separator:a864cca3466d5710a4742ec5caf34b497"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>This object represents a single visual run in a line of text in a paragraph. </p> <p>A visual run is text which is in the same font, script, and direction. The text is represented by an array of <code>LEGlyphIDs</code>, an array of (x, y) glyph positions and a table which maps indices into the glyph array to indices into the original character array which was used to create the paragraph.</p> <p>These objects are only created by <code><a class="el" href="classicu_1_1ParagraphLayout_1_1Line.html" title="This class represents a single line of text in a ParagraphLayout. ">ParagraphLayout::Line</a></code> objects, so their constructors and destructors are private.</p> <dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1ParagraphLayout_1_1Line.html" title="This class represents a single line of text in a ParagraphLayout. ">ParagraphLayout::Line</a></dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005725">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl> <p>Definition at line <a class="el" href="ParagraphLayout_8h_source.html#l00207">207</a> of file <a class="el" href="ParagraphLayout_8h_source.html">ParagraphLayout.h</a>.</p> </div><h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a75882109d04e6deb192f40490da791b1"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">le_int32 icu::ParagraphLayout::VisualRun::getAscent </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>A convenience method which returns the ascent value for the font associated with this run. </p> <dl class="section return"><dt>Returns</dt><dd>the ascent value of this run's font.</dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005753">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl> <p>Definition at line <a class="el" href="ParagraphLayout_8h_source.html#l00712">712</a> of file <a class="el" href="ParagraphLayout_8h_source.html">ParagraphLayout.h</a>.</p> </div> </div> <a class="anchor" id="ab9d3750bf2f4b32ff22f68a2ad864f5e"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">le_int32 icu::ParagraphLayout::VisualRun::getDescent </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>A convenience method which returns the descent value for the font associated with this run. </p> <dl class="section return"><dt>Returns</dt><dd>the descent value of this run's font.</dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005754">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl> <p>Definition at line <a class="el" href="ParagraphLayout_8h_source.html#l00717">717</a> of file <a class="el" href="ParagraphLayout_8h_source.html">ParagraphLayout.h</a>.</p> </div> </div> <a class="anchor" id="ace2c44fe2eedaebd20fa86b229efae43"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="ubidi_8h.html#a68a6b5fdcbf80aaa51b5bd39f7f31102">UBiDiDirection</a> icu::ParagraphLayout::VisualRun::getDirection </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get the direction of the visual run. </p> <dl class="section return"><dt>Returns</dt><dd>the direction of the run. This will be UBIDI_LTR if the run is left-to-right and UBIDI_RTL if the line is right-to-left.</dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005748">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl> <p>Definition at line <a class="el" href="ParagraphLayout_8h_source.html#l00687">687</a> of file <a class="el" href="ParagraphLayout_8h_source.html">ParagraphLayout.h</a>.</p> </div> </div> <a class="anchor" id="aa3b448ff2cbbe9c0ca41b06f76db992a"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> icu::ParagraphLayout::VisualRun::getDynamicClassID </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>ICU "poor man's RTTI", returns a UClassID for the actual class. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005757">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl> <p>Reimplemented from <a class="el" href="classicu_1_1UObject.html#a1aa93096e880907080b503ff1fb0f8bc">icu::UObject</a>.</p> <p>Definition at line <a class="el" href="ParagraphLayout_8h_source.html#l00324">324</a> of file <a class="el" href="ParagraphLayout_8h_source.html">ParagraphLayout.h</a>.</p> </div> </div> <a class="anchor" id="a7a70305a8a7887f22017d04ea4afbb1f"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const LEFontInstance * icu::ParagraphLayout::VisualRun::getFont </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get the <code>LEFontInstance</code> object which represents the font of the visual run. </p> <p>This will always be a non-composite font.</p> <dl class="section return"><dt>Returns</dt><dd>the <code>LEFontInstance</code> object which represents the font of the visual run.</dd></dl> <dl class="section see"><dt>See also</dt><dd>LEFontInstance</dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005747">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl> <p>Definition at line <a class="el" href="ParagraphLayout_8h_source.html#l00682">682</a> of file <a class="el" href="ParagraphLayout_8h_source.html">ParagraphLayout.h</a>.</p> </div> </div> <a class="anchor" id="afee2f6422201fbe867d6cc7aaf195448"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">le_int32 icu::ParagraphLayout::VisualRun::getGlyphCount </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get the number of glyphs in the visual run. </p> <dl class="section return"><dt>Returns</dt><dd>the number of glyphs.</dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005749">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl> <p>Definition at line <a class="el" href="ParagraphLayout_8h_source.html#l00692">692</a> of file <a class="el" href="ParagraphLayout_8h_source.html">ParagraphLayout.h</a>.</p> </div> </div> <a class="anchor" id="a80262c42f26a1e24cc6ece119e3217af"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const LEGlyphID * icu::ParagraphLayout::VisualRun::getGlyphs </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get the glyphs in the visual run. </p> <p>Glyphs with the values <code>0xFFFE</code> and <code>0xFFFF</code> should be ignored.</p> <dl class="section return"><dt>Returns</dt><dd>the address of the array of glyphs for this visual run. The storage is owned by the <code><a class="el" href="classicu_1_1ParagraphLayout_1_1VisualRun.html" title="This object represents a single visual run in a line of text in a paragraph. ">VisualRun</a></code> object and must not be deleted. It will remain valid as long as the <code><a class="el" href="classicu_1_1ParagraphLayout_1_1VisualRun.html" title="This object represents a single visual run in a line of text in a paragraph. ">VisualRun</a></code> object is valid.</dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005750">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl> <p>Definition at line <a class="el" href="ParagraphLayout_8h_source.html#l00697">697</a> of file <a class="el" href="ParagraphLayout_8h_source.html">ParagraphLayout.h</a>.</p> </div> </div> <a class="anchor" id="a15766d1a59879f058a46a6c7fcf83048"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const le_int32 * icu::ParagraphLayout::VisualRun::getGlyphToCharMap </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get the glyph-to-character map for this visual run. </p> <p>This maps the indices into the glyph array to indices into the character array used to create the paragraph.</p> <dl class="section return"><dt>Returns</dt><dd>the address of the character-to-glyph map for this visual run. The storage is owned by the <code><a class="el" href="classicu_1_1ParagraphLayout_1_1VisualRun.html" title="This object represents a single visual run in a line of text in a paragraph. ">VisualRun</a></code> object and must not be deleted. It will remain valid as long as the <code><a class="el" href="classicu_1_1ParagraphLayout_1_1VisualRun.html" title="This object represents a single visual run in a line of text in a paragraph. ">VisualRun</a></code> object is valid.</dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005752">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl> <p>Definition at line <a class="el" href="ParagraphLayout_8h_source.html#l00707">707</a> of file <a class="el" href="ParagraphLayout_8h_source.html">ParagraphLayout.h</a>.</p> </div> </div> <a class="anchor" id="a0a77a71cab01a1f1050bb97b13359814"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">le_int32 icu::ParagraphLayout::VisualRun::getLeading </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>A convenience method which returns the leading value for the font associated with this run. </p> <dl class="section return"><dt>Returns</dt><dd>the leading value of this run's font.</dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005755">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl> <p>Definition at line <a class="el" href="ParagraphLayout_8h_source.html#l00722">722</a> of file <a class="el" href="ParagraphLayout_8h_source.html">ParagraphLayout.h</a>.</p> <p>References <a class="el" href="utypes_8h_source.html#l00188">NULL</a>, <a class="el" href="uversion_8h_source.html#l00132">U_NAMESPACE_END</a>, and <a class="el" href="ubidi_8h_source.html#l00431">UBIDI_LTR</a>.</p> </div> </div> <a class="anchor" id="ac28ea4127b0eae610f18466c990f3e3b"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const float * icu::ParagraphLayout::VisualRun::getPositions </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get the (x, y) positions of the glyphs in the visual run. </p> <p>To simplify storage management, the x and y positions are stored in a single array with the x positions at even offsets in the array and the corresponding y position in the following odd offset. There is an extra (x, y) pair at the end of the array which represents the advance of the final glyph in the run.</p> <dl class="section return"><dt>Returns</dt><dd>the address of the array of glyph positions for this visual run. The storage is owned by the <code><a class="el" href="classicu_1_1ParagraphLayout_1_1VisualRun.html" title="This object represents a single visual run in a line of text in a paragraph. ">VisualRun</a></code> object and must not be deleted. It will remain valid as long as the <code><a class="el" href="classicu_1_1ParagraphLayout_1_1VisualRun.html" title="This object represents a single visual run in a line of text in a paragraph. ">VisualRun</a></code> object is valid.</dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005751">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl> <p>Definition at line <a class="el" href="ParagraphLayout_8h_source.html#l00702">702</a> of file <a class="el" href="ParagraphLayout_8h_source.html">ParagraphLayout.h</a>.</p> </div> </div> <a class="anchor" id="a313d3d8557d654c9b667c7d054e491b9"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> icu::ParagraphLayout::VisualRun::getStaticClassID </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>ICU "poor man's RTTI", returns a UClassID for this class. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005756">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl> <p>Definition at line <a class="el" href="ParagraphLayout_8h_source.html#l00317">317</a> of file <a class="el" href="ParagraphLayout_8h_source.html">ParagraphLayout.h</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="ParagraphLayout_8h_source.html">ParagraphLayout.h</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.11 </small></address> </body> </html>