Server IP : 103.119.228.120 / Your IP : 18.191.62.68 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/local/ssl/local/ssl/local/easy/share/doc/easy-libicu-doc-4.0.1/ |
Upload File : |
<!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.5"/> <title>ICU 4.0.1: LayoutEngine 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="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { searchBox.OnSelectItem(0); }); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">ICU 4.0.1 </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.5 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <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 class="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </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> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Pages</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </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="#pro-methods">Protected Member Functions</a> | <a href="#pro-static-methods">Static Protected Member Functions</a> | <a href="#pro-attribs">Protected Attributes</a> </div> <div class="headertitle"> <div class="title">LayoutEngine Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>This is a virtual base class used to do complex text layout. <a href="classLayoutEngine.html#details">More...</a></p> <p><code>#include <<a class="el" href="LayoutEngine_8h_source.html">LayoutEngine.h</a>></code></p> <div class="dynheader"> Inheritance diagram for LayoutEngine:</div> <div class="dyncontent"> <div class="center"> <img src="classLayoutEngine.png" usemap="#LayoutEngine_map" alt=""/> <map id="LayoutEngine_map" name="LayoutEngine_map"> <area href="classUObject.html" title="UObject is the common ICU "boilerplate" class. " alt="UObject" shape="rect" coords="0,56,89,80"/> <area href="classUMemory.html" title="UMemory is the common ICU base class. " alt="UMemory" shape="rect" coords="0,0,89,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:a9cb6f6edc66b0fc7df34ca09750459b4"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#a9cb6f6edc66b0fc7df34ca09750459b4">~LayoutEngine</a> ()</td></tr> <tr class="memdesc:a9cb6f6edc66b0fc7df34ca09750459b4"><td class="mdescLeft"> </td><td class="mdescRight">The destructor. <a href="#a9cb6f6edc66b0fc7df34ca09750459b4">More...</a><br/></td></tr> <tr class="separator:a9cb6f6edc66b0fc7df34ca09750459b4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5f18786782f4383d25f2d319e992ce0c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#a5f18786782f4383d25f2d319e992ce0c">layoutChars</a> (const <a class="el" href="LETypes_8h.html#a903cb689308cdef41500411d096a2c2d">LEUnicode</a> chars[], <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> offset, <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> count, <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> max, <a class="el" href="LETypes_8h.html#a4b77bc254d0e88fdabffde9c03e6728f">le_bool</a> rightToLeft, float x, float y, <a class="el" href="LETypes_8h.html#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &success)</td></tr> <tr class="memdesc:a5f18786782f4383d25f2d319e992ce0c"><td class="mdescLeft"> </td><td class="mdescRight">This method will invoke the layout steps in their correct order by calling the computeGlyphs, positionGlyphs and adjustGlyphPosition methods. <a href="#a5f18786782f4383d25f2d319e992ce0c">More...</a><br/></td></tr> <tr class="separator:a5f18786782f4383d25f2d319e992ce0c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a35ca148be1817597d8a8449c066aa3d4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#a35ca148be1817597d8a8449c066aa3d4">getGlyphCount</a> () const </td></tr> <tr class="memdesc:a35ca148be1817597d8a8449c066aa3d4"><td class="mdescLeft"> </td><td class="mdescRight">This method returns the number of glyphs in the glyph array. <a href="#a35ca148be1817597d8a8449c066aa3d4">More...</a><br/></td></tr> <tr class="separator:a35ca148be1817597d8a8449c066aa3d4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a55e7ea6e89ba0f41718c6f343d0f0026"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#a55e7ea6e89ba0f41718c6f343d0f0026">getGlyphs</a> (<a class="el" href="LETypes_8h.html#ae440e077586bced1a0d1c534643ffc23">LEGlyphID</a> glyphs[], <a class="el" href="LETypes_8h.html#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &success) const </td></tr> <tr class="memdesc:a55e7ea6e89ba0f41718c6f343d0f0026"><td class="mdescLeft"> </td><td class="mdescRight">This method copies the glyph array into a caller supplied array. <a href="#a55e7ea6e89ba0f41718c6f343d0f0026">More...</a><br/></td></tr> <tr class="separator:a55e7ea6e89ba0f41718c6f343d0f0026"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae016b87b52e33daf23c23054408f53e6"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#ae016b87b52e33daf23c23054408f53e6">getGlyphs</a> (<a class="el" href="LETypes_8h.html#a8ed46f4fc717cf0a94de62efe109ecae">le_uint32</a> glyphs[], <a class="el" href="LETypes_8h.html#a8ed46f4fc717cf0a94de62efe109ecae">le_uint32</a> extraBits, <a class="el" href="LETypes_8h.html#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &success) const </td></tr> <tr class="memdesc:ae016b87b52e33daf23c23054408f53e6"><td class="mdescLeft"> </td><td class="mdescRight">This method copies the glyph array into a caller supplied array, ORing in extra bits. <a href="#ae016b87b52e33daf23c23054408f53e6">More...</a><br/></td></tr> <tr class="separator:ae016b87b52e33daf23c23054408f53e6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a43ded1a973722b0b4dc361ef6ba80a0f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#a43ded1a973722b0b4dc361ef6ba80a0f">getCharIndices</a> (<a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> charIndices[], <a class="el" href="LETypes_8h.html#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &success) const </td></tr> <tr class="memdesc:a43ded1a973722b0b4dc361ef6ba80a0f"><td class="mdescLeft"> </td><td class="mdescRight">This method copies the character index array into a caller supplied array. <a href="#a43ded1a973722b0b4dc361ef6ba80a0f">More...</a><br/></td></tr> <tr class="separator:a43ded1a973722b0b4dc361ef6ba80a0f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afdf0cff690c2c90efda698fc4848cd7c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#afdf0cff690c2c90efda698fc4848cd7c">getCharIndices</a> (<a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> charIndices[], <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> indexBase, <a class="el" href="LETypes_8h.html#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &success) const </td></tr> <tr class="memdesc:afdf0cff690c2c90efda698fc4848cd7c"><td class="mdescLeft"> </td><td class="mdescRight">This method copies the character index array into a caller supplied array. <a href="#afdf0cff690c2c90efda698fc4848cd7c">More...</a><br/></td></tr> <tr class="separator:afdf0cff690c2c90efda698fc4848cd7c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4af0b513b0187d7f7b09cffc93c2e66c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#a4af0b513b0187d7f7b09cffc93c2e66c">getGlyphPositions</a> (float positions[], <a class="el" href="LETypes_8h.html#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &success) const </td></tr> <tr class="memdesc:a4af0b513b0187d7f7b09cffc93c2e66c"><td class="mdescLeft"> </td><td class="mdescRight">This method copies the position array into a caller supplied array. <a href="#a4af0b513b0187d7f7b09cffc93c2e66c">More...</a><br/></td></tr> <tr class="separator:a4af0b513b0187d7f7b09cffc93c2e66c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aad69145083ea27c95c835662d6d1ac75"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#aad69145083ea27c95c835662d6d1ac75">getGlyphPosition</a> (<a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> glyphIndex, float &x, float &y, <a class="el" href="LETypes_8h.html#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &success) const </td></tr> <tr class="memdesc:aad69145083ea27c95c835662d6d1ac75"><td class="mdescLeft"> </td><td class="mdescRight">This method returns the X and Y position of the glyph at the given index. <a href="#aad69145083ea27c95c835662d6d1ac75">More...</a><br/></td></tr> <tr class="separator:aad69145083ea27c95c835662d6d1ac75"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6732b79fdbe4221b613847e4b4f8780f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#a6732b79fdbe4221b613847e4b4f8780f">reset</a> ()</td></tr> <tr class="memdesc:a6732b79fdbe4221b613847e4b4f8780f"><td class="mdescLeft"> </td><td class="mdescRight">This method frees the glyph, character index and position arrays so that the <a class="el" href="classLayoutEngine.html" title="This is a virtual base class used to do complex text layout. ">LayoutEngine</a> can be reused to layout a different characer array. <a href="#a6732b79fdbe4221b613847e4b4f8780f">More...</a><br/></td></tr> <tr class="separator:a6732b79fdbe4221b613847e4b4f8780f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae221a54f672f0e7a1462d2c33935ea86"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#ae221a54f672f0e7a1462d2c33935ea86">getDynamicClassID</a> () const </td></tr> <tr class="memdesc:ae221a54f672f0e7a1462d2c33935ea86"><td class="mdescLeft"> </td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for the actual class. <a href="#ae221a54f672f0e7a1462d2c33935ea86">More...</a><br/></td></tr> <tr class="separator:ae221a54f672f0e7a1462d2c33935ea86"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classUObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classUObject')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classUObject.html">UObject</a></td></tr> <tr class="memitem:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classUObject.html#ace22cf29a90641ef43350deae5bedb85">~UObject</a> ()</td></tr> <tr class="memdesc:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#ace22cf29a90641ef43350deae5bedb85">More...</a><br/></td></tr> <tr class="separator:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><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:ac1c6ee98399910fc179ffd74477add18"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classLayoutEngine.html">LayoutEngine</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#ac1c6ee98399910fc179ffd74477add18">layoutEngineFactory</a> (const <a class="el" href="classLEFontInstance.html">LEFontInstance</a> *fontInstance, <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> scriptCode, <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> languageCode, <a class="el" href="LETypes_8h.html#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &success)</td></tr> <tr class="memdesc:ac1c6ee98399910fc179ffd74477add18"><td class="mdescLeft"> </td><td class="mdescRight">This method returns a <a class="el" href="classLayoutEngine.html" title="This is a virtual base class used to do complex text layout. ">LayoutEngine</a> capable of laying out text in the given font, script and langauge. <a href="#ac1c6ee98399910fc179ffd74477add18">More...</a><br/></td></tr> <tr class="separator:ac1c6ee98399910fc179ffd74477add18"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1b968876ec10972d66edfcf58b6ab103"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classLayoutEngine.html">LayoutEngine</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#a1b968876ec10972d66edfcf58b6ab103">layoutEngineFactory</a> (const <a class="el" href="classLEFontInstance.html">LEFontInstance</a> *fontInstance, <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> scriptCode, <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> languageCode, <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> typo_flags, <a class="el" href="LETypes_8h.html#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &success)</td></tr> <tr class="memdesc:a1b968876ec10972d66edfcf58b6ab103"><td class="mdescLeft"> </td><td class="mdescRight">Override of existing call that provides flags to control typography. <a href="#a1b968876ec10972d66edfcf58b6ab103">More...</a><br/></td></tr> <tr class="separator:a1b968876ec10972d66edfcf58b6ab103"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afb5f548783a7ea02e1944162a8014b1b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#afb5f548783a7ea02e1944162a8014b1b">getStaticClassID</a> ()</td></tr> <tr class="memdesc:afb5f548783a7ea02e1944162a8014b1b"><td class="mdescLeft"> </td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for this class. <a href="#afb5f548783a7ea02e1944162a8014b1b">More...</a><br/></td></tr> <tr class="separator:afb5f548783a7ea02e1944162a8014b1b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_static_methods_classUMemory"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classUMemory')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="classUMemory.html">UMemory</a></td></tr> <tr class="memitem:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a309b19b5777e2840b85b202aef5a54fb">operator new</a> (size_t size)</td></tr> <tr class="memdesc:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management. <a href="#a309b19b5777e2840b85b202aef5a54fb">More...</a><br/></td></tr> <tr class="separator:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a4d0df3571728e7b8a823dbbea6e9b5c5">operator new[]</a> (size_t size)</td></tr> <tr class="memdesc:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management. <a href="#a4d0df3571728e7b8a823dbbea6e9b5c5">More...</a><br/></td></tr> <tr class="separator:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#adcda65a58813749f8f45c5e6c1ed37e1">operator delete</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *p)</td></tr> <tr class="memdesc:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management. <a href="#adcda65a58813749f8f45c5e6c1ed37e1">More...</a><br/></td></tr> <tr class="separator:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a7602a7a8c6fdff21d9fbecea4d899333">operator delete[]</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *p)</td></tr> <tr class="memdesc:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management. <a href="#a7602a7a8c6fdff21d9fbecea4d899333">More...</a><br/></td></tr> <tr class="separator:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a43b5221fe429f77230b2040f8724c154">operator new</a> (size_t, <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *ptr)</td></tr> <tr class="memdesc:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management for STL. <a href="#a43b5221fe429f77230b2040f8724c154">More...</a><br/></td></tr> <tr class="separator:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a9b746b0cdb49c8f8907773002ea5c4ea">operator delete</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *, <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *)</td></tr> <tr class="memdesc:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management for STL. <a href="#a9b746b0cdb49c8f8907773002ea5c4ea">More...</a><br/></td></tr> <tr class="separator:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr class="memitem:acee4ea27f3211be215ea9b9bd3a91c32"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#acee4ea27f3211be215ea9b9bd3a91c32">LayoutEngine</a> (const <a class="el" href="classLEFontInstance.html">LEFontInstance</a> *fontInstance, <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> scriptCode, <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> languageCode, <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> typoFlags)</td></tr> <tr class="memdesc:acee4ea27f3211be215ea9b9bd3a91c32"><td class="mdescLeft"> </td><td class="mdescRight">This constructs an instance for a given font, script and language. <a href="#acee4ea27f3211be215ea9b9bd3a91c32">More...</a><br/></td></tr> <tr class="separator:acee4ea27f3211be215ea9b9bd3a91c32"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae149df76eb6771956c01ed6c7cba6d4c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#ae149df76eb6771956c01ed6c7cba6d4c">LayoutEngine</a> ()</td></tr> <tr class="memdesc:ae149df76eb6771956c01ed6c7cba6d4c"><td class="mdescLeft"> </td><td class="mdescRight">This overrides the default no argument constructor to make it difficult for clients to call it. <a href="#ae149df76eb6771956c01ed6c7cba6d4c">More...</a><br/></td></tr> <tr class="separator:ae149df76eb6771956c01ed6c7cba6d4c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9bc36adaea6bc7953eef955d9a29889b"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#a9bc36adaea6bc7953eef955d9a29889b">characterProcessing</a> (const <a class="el" href="LETypes_8h.html#a903cb689308cdef41500411d096a2c2d">LEUnicode</a> chars[], <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> offset, <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> count, <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> max, <a class="el" href="LETypes_8h.html#a4b77bc254d0e88fdabffde9c03e6728f">le_bool</a> rightToLeft, <a class="el" href="LETypes_8h.html#a903cb689308cdef41500411d096a2c2d">LEUnicode</a> *&outChars, <a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a> &glyphStorage, <a class="el" href="LETypes_8h.html#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &success)</td></tr> <tr class="memdesc:a9bc36adaea6bc7953eef955d9a29889b"><td class="mdescLeft"> </td><td class="mdescRight">This method does any required pre-processing to the input characters. <a href="#a9bc36adaea6bc7953eef955d9a29889b">More...</a><br/></td></tr> <tr class="separator:a9bc36adaea6bc7953eef955d9a29889b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0555af37c7c1d5e4dfeba0c6724f02e8"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#a0555af37c7c1d5e4dfeba0c6724f02e8">computeGlyphs</a> (const <a class="el" href="LETypes_8h.html#a903cb689308cdef41500411d096a2c2d">LEUnicode</a> chars[], <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> offset, <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> count, <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> max, <a class="el" href="LETypes_8h.html#a4b77bc254d0e88fdabffde9c03e6728f">le_bool</a> rightToLeft, <a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a> &glyphStorage, <a class="el" href="LETypes_8h.html#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &success)</td></tr> <tr class="memdesc:a0555af37c7c1d5e4dfeba0c6724f02e8"><td class="mdescLeft"> </td><td class="mdescRight">This method does the glyph processing. <a href="#a0555af37c7c1d5e4dfeba0c6724f02e8">More...</a><br/></td></tr> <tr class="separator:a0555af37c7c1d5e4dfeba0c6724f02e8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2d78e005db15395bf20a9fd5c19246e7"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#a2d78e005db15395bf20a9fd5c19246e7">positionGlyphs</a> (<a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a> &glyphStorage, float x, float y, <a class="el" href="LETypes_8h.html#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &success)</td></tr> <tr class="memdesc:a2d78e005db15395bf20a9fd5c19246e7"><td class="mdescLeft"> </td><td class="mdescRight">This method does basic glyph positioning. <a href="#a2d78e005db15395bf20a9fd5c19246e7">More...</a><br/></td></tr> <tr class="separator:a2d78e005db15395bf20a9fd5c19246e7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1b13cfd60781c887506b848e2a905490"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#a1b13cfd60781c887506b848e2a905490">adjustGlyphPositions</a> (const <a class="el" href="LETypes_8h.html#a903cb689308cdef41500411d096a2c2d">LEUnicode</a> chars[], <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> offset, <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> count, <a class="el" href="LETypes_8h.html#a4b77bc254d0e88fdabffde9c03e6728f">le_bool</a> reverse, <a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a> &glyphStorage, <a class="el" href="LETypes_8h.html#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &success)</td></tr> <tr class="memdesc:a1b13cfd60781c887506b848e2a905490"><td class="mdescLeft"> </td><td class="mdescRight">This method does positioning adjustments like accent positioning and kerning. <a href="#a1b13cfd60781c887506b848e2a905490">More...</a><br/></td></tr> <tr class="separator:a1b13cfd60781c887506b848e2a905490"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af0a35c0c69e8fbaf92300a60f7fbff75"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#af0a35c0c69e8fbaf92300a60f7fbff75">getFontTable</a> (<a class="el" href="LETypes_8h.html#a9e22a06bf2336b583b317287cb94fcfa">LETag</a> tableTag) const </td></tr> <tr class="memdesc:af0a35c0c69e8fbaf92300a60f7fbff75"><td class="mdescLeft"> </td><td class="mdescRight">This method gets a table from the font associated with the text. <a href="#af0a35c0c69e8fbaf92300a60f7fbff75">More...</a><br/></td></tr> <tr class="separator:af0a35c0c69e8fbaf92300a60f7fbff75"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a298b698b3c730c286410014c745af9a9"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#a298b698b3c730c286410014c745af9a9">mapCharsToGlyphs</a> (const <a class="el" href="LETypes_8h.html#a903cb689308cdef41500411d096a2c2d">LEUnicode</a> chars[], <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> offset, <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> count, <a class="el" href="LETypes_8h.html#a4b77bc254d0e88fdabffde9c03e6728f">le_bool</a> reverse, <a class="el" href="LETypes_8h.html#a4b77bc254d0e88fdabffde9c03e6728f">le_bool</a> mirror, <a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a> &glyphStorage, <a class="el" href="LETypes_8h.html#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &success)</td></tr> <tr class="memdesc:a298b698b3c730c286410014c745af9a9"><td class="mdescLeft"> </td><td class="mdescRight">This method does character to glyph mapping. <a href="#a298b698b3c730c286410014c745af9a9">More...</a><br/></td></tr> <tr class="separator:a298b698b3c730c286410014c745af9a9"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-methods"></a> Static Protected Member Functions</h2></td></tr> <tr class="memitem:a3729b640c996a45f510969ceb9a803b1"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#a3729b640c996a45f510969ceb9a803b1">adjustMarkGlyphs</a> (<a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a> &glyphStorage, LEGlyphFilter *markFilter, <a class="el" href="LETypes_8h.html#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &success)</td></tr> <tr class="memdesc:a3729b640c996a45f510969ceb9a803b1"><td class="mdescLeft"> </td><td class="mdescRight">This is a convenience method that forces the advance width of mark glyphs to be zero, which is required for proper selection and highlighting. <a href="#a3729b640c996a45f510969ceb9a803b1">More...</a><br/></td></tr> <tr class="separator:a3729b640c996a45f510969ceb9a803b1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a097d008d225306db35b9e9dffe4b6ba7"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#a097d008d225306db35b9e9dffe4b6ba7">adjustMarkGlyphs</a> (const <a class="el" href="LETypes_8h.html#a903cb689308cdef41500411d096a2c2d">LEUnicode</a> chars[], <a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> charCount, <a class="el" href="LETypes_8h.html#a4b77bc254d0e88fdabffde9c03e6728f">le_bool</a> reverse, <a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a> &glyphStorage, LEGlyphFilter *markFilter, <a class="el" href="LETypes_8h.html#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &success)</td></tr> <tr class="memdesc:a097d008d225306db35b9e9dffe4b6ba7"><td class="mdescLeft"> </td><td class="mdescRight">This is a convenience method that forces the advance width of mark glyphs to be zero, which is required for proper selection and highlighting. <a href="#a097d008d225306db35b9e9dffe4b6ba7">More...</a><br/></td></tr> <tr class="separator:a097d008d225306db35b9e9dffe4b6ba7"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a> Protected Attributes</h2></td></tr> <tr class="memitem:af143b52b77689d4402a9ca6a400f84d4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#af143b52b77689d4402a9ca6a400f84d4">fGlyphStorage</a></td></tr> <tr class="memdesc:af143b52b77689d4402a9ca6a400f84d4"><td class="mdescLeft"> </td><td class="mdescRight">The object which holds the glyph storage. <a href="#af143b52b77689d4402a9ca6a400f84d4">More...</a><br/></td></tr> <tr class="separator:af143b52b77689d4402a9ca6a400f84d4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a09445420f49f99a22773bce90419a4cd"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classLEFontInstance.html">LEFontInstance</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#a09445420f49f99a22773bce90419a4cd">fFontInstance</a></td></tr> <tr class="memdesc:a09445420f49f99a22773bce90419a4cd"><td class="mdescLeft"> </td><td class="mdescRight">The font instance for the text font. <a href="#a09445420f49f99a22773bce90419a4cd">More...</a><br/></td></tr> <tr class="separator:a09445420f49f99a22773bce90419a4cd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aed10d9cec637cf12e36f11462dd6f36d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#aed10d9cec637cf12e36f11462dd6f36d">fScriptCode</a></td></tr> <tr class="memdesc:aed10d9cec637cf12e36f11462dd6f36d"><td class="mdescLeft"> </td><td class="mdescRight">The script code for the text. <a href="#aed10d9cec637cf12e36f11462dd6f36d">More...</a><br/></td></tr> <tr class="separator:aed10d9cec637cf12e36f11462dd6f36d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0460d81c3330be246b29ae41d788215b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#a0460d81c3330be246b29ae41d788215b">fLanguageCode</a></td></tr> <tr class="memdesc:a0460d81c3330be246b29ae41d788215b"><td class="mdescLeft"> </td><td class="mdescRight">The langauge code for the text. <a href="#a0460d81c3330be246b29ae41d788215b">More...</a><br/></td></tr> <tr class="separator:a0460d81c3330be246b29ae41d788215b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a458289a246aedacb18a5025802cb9666"><td class="memItemLeft" align="right" valign="top"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#a458289a246aedacb18a5025802cb9666">fTypoFlags</a></td></tr> <tr class="memdesc:a458289a246aedacb18a5025802cb9666"><td class="mdescLeft"> </td><td class="mdescRight">The typographic control flags. <a href="#a458289a246aedacb18a5025802cb9666">More...</a><br/></td></tr> <tr class="separator:a458289a246aedacb18a5025802cb9666"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa59dcfed5649c96d5e813ff5acbb0f74"><td class="memItemLeft" align="right" valign="top"><a class="el" href="LETypes_8h.html#a4b77bc254d0e88fdabffde9c03e6728f">le_bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLayoutEngine.html#aa59dcfed5649c96d5e813ff5acbb0f74">fFilterZeroWidth</a></td></tr> <tr class="memdesc:aa59dcfed5649c96d5e813ff5acbb0f74"><td class="mdescLeft"> </td><td class="mdescRight"><code>TRUE</code> if <code>mapCharsToGlyphs</code> should replace ZWJ / ZWNJ with a glyph with no contours. <a href="#aa59dcfed5649c96d5e813ff5acbb0f74">More...</a><br/></td></tr> <tr class="separator:aa59dcfed5649c96d5e813ff5acbb0f74"><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 is a virtual base class used to do complex text layout. </p> <p>The text must all be in a single font, script, and language. An instance of a <a class="el" href="classLayoutEngine.html" title="This is a virtual base class used to do complex text layout. ">LayoutEngine</a> can be created by calling the layoutEngineFactory method. Fonts are identified by instances of the <a class="el" href="classLEFontInstance.html" title="This is a virtual base class that serves as the interface between a LayoutEngine and the platform fon...">LEFontInstance</a> class. Script and language codes are identified by integer codes, which are defined in ScriptAndLanuageTags.h.</p> <p>Note that this class is not public API. It is declared public so that it can be exported from the library that it is a part of.</p> <p>The input to the layout process is an array of characters in logical order, and a starting X, Y position for the text. The output is an array of glyph indices, an array of character indices for the glyphs, and an array of glyph positions. These arrays are protected members of <a class="el" href="classLayoutEngine.html" title="This is a virtual base class used to do complex text layout. ">LayoutEngine</a> which can be retreived by a public method. The reset method can be called to free these arrays so that the <a class="el" href="classLayoutEngine.html" title="This is a virtual base class used to do complex text layout. ">LayoutEngine</a> can be reused.</p> <p>The layout process is done in three steps. There is a protected virtual method for each step. These methods have a default implementation which only does character to glyph mapping and default positioning using the glyph's advance widths. Subclasses can override these methods for more advanced layout. There is a public method which invokes the steps in the correct order.</p> <p>The steps are:</p> <p>1) Glyph processing - character to glyph mapping and any other glyph processing such as ligature substitution and contextual forms.</p> <p>2) Glyph positioning - position the glyphs based on their advance widths.</p> <p>3) Glyph position adjustments - adjustment of glyph positions for kerning, accent placement, etc.</p> <p>NOTE: in all methods below, output parameters are references to pointers so the method can allocate and free the storage as needed. All storage allocated in this way is owned by the object which created it, and will be freed when it is no longer needed, or when the object's destructor is invoked.</p> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classLEFontInstance.html" title="This is a virtual base class that serves as the interface between a LayoutEngine and the platform fon...">LEFontInstance</a> </dd> <dd> ScriptAndLanguageTags.h</dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable003730">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl> <p>Definition at line <a class="el" href="LayoutEngine_8h_source.html#l00067">67</a> of file <a class="el" href="LayoutEngine_8h_source.html">LayoutEngine.h</a>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="acee4ea27f3211be215ea9b9bd3a91c32"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">LayoutEngine::LayoutEngine </td> <td>(</td> <td class="paramtype">const <a class="el" href="classLEFontInstance.html">LEFontInstance</a> * </td> <td class="paramname"><em>fontInstance</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </td> <td class="paramname"><em>scriptCode</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </td> <td class="paramname"><em>languageCode</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </td> <td class="paramname"><em>typoFlags</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>This constructs an instance for a given font, script and language. </p> <p>Subclass constructors must call this constructor.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">fontInstance</td><td>- the font for the text </td></tr> <tr><td class="paramname">scriptCode</td><td>- the script for the text </td></tr> <tr><td class="paramname">languageCode</td><td>- the language for the text </td></tr> <tr><td class="paramname">typoFlags</td><td>- the typographic control flags for the text. Set bit 1 if kerning is desired, set bit 2 if ligature formation is desired. Others are reserved.</td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classLEFontInstance.html" title="This is a virtual base class that serves as the interface between a LayoutEngine and the platform fon...">LEFontInstance</a> </dd> <dd> ScriptAndLanguageTags.h</dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000304">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> </div> </div> <a class="anchor" id="ae149df76eb6771956c01ed6c7cba6d4c"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">LayoutEngine::LayoutEngine </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>This overrides the default no argument constructor to make it difficult for clients to call it. </p> <p>Clients are expected to call layoutEngineFactory.</p> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000305">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> </div> </div> <a class="anchor" id="a9cb6f6edc66b0fc7df34ca09750459b4"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual LayoutEngine::~LayoutEngine </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>The destructor. </p> <p>It will free any storage allocated for the glyph, character index and position arrays by calling the reset method. It is declared virtual so that it will be invoked by the subclass destructors.</p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable003731">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a1b13cfd60781c887506b848e2a905490"></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="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> LayoutEngine::adjustGlyphPositions </td> <td>(</td> <td class="paramtype">const <a class="el" href="LETypes_8h.html#a903cb689308cdef41500411d096a2c2d">LEUnicode</a> </td> <td class="paramname"><em>chars</em>[], </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </td> <td class="paramname"><em>offset</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </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#a4b77bc254d0e88fdabffde9c03e6728f">le_bool</a> </td> <td class="paramname"><em>reverse</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a> & </td> <td class="paramname"><em>glyphStorage</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> & </td> <td class="paramname"><em>success</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>This method does positioning adjustments like accent positioning and kerning. </p> <p>The default implementation does nothing. Subclasses needing position adjustments must override this method.</p> <p>Note that this method has both characters and glyphs as input so that it can use the character codes to determine glyph types if that information isn't directly available. (e.g. Some Arabic OpenType fonts don't have a GDEF table)</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">chars</td><td>- the input character context </td></tr> <tr><td class="paramname">offset</td><td>- the offset of the first character to process </td></tr> <tr><td class="paramname">count</td><td>- the number of characters to process </td></tr> <tr><td class="paramname">reverse</td><td>- <code>TRUE</code> if the glyphs in the glyph array have been reordered </td></tr> <tr><td class="paramname">glyphStorage</td><td>- the object which holds the per-glyph storage. The glyph positions will be adjusted as needed. </td></tr> <tr><td class="paramname">success</td><td>- output parameter set to an error code if the operation fails</td></tr> </table> </dd> </dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000309">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> </div> </div> <a class="anchor" id="a3729b640c996a45f510969ceb9a803b1"></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="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> LayoutEngine::adjustMarkGlyphs </td> <td>(</td> <td class="paramtype"><a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a> & </td> <td class="paramname"><em>glyphStorage</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">LEGlyphFilter * </td> <td class="paramname"><em>markFilter</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> & </td> <td class="paramname"><em>success</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>This is a convenience method that forces the advance width of mark glyphs to be zero, which is required for proper selection and highlighting. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">glyphStorage</td><td>- the object containing the per-glyph storage. The positions array will be modified. </td></tr> <tr><td class="paramname">markFilter</td><td>- used to identify mark glyphs </td></tr> <tr><td class="paramname">success</td><td>- output parameter set to an error code if the operation fails</td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd>LEGlyphFilter</dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000312">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> </div> </div> <a class="anchor" id="a097d008d225306db35b9e9dffe4b6ba7"></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="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> LayoutEngine::adjustMarkGlyphs </td> <td>(</td> <td class="paramtype">const <a class="el" href="LETypes_8h.html#a903cb689308cdef41500411d096a2c2d">LEUnicode</a> </td> <td class="paramname"><em>chars</em>[], </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </td> <td class="paramname"><em>charCount</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a4b77bc254d0e88fdabffde9c03e6728f">le_bool</a> </td> <td class="paramname"><em>reverse</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a> & </td> <td class="paramname"><em>glyphStorage</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">LEGlyphFilter * </td> <td class="paramname"><em>markFilter</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> & </td> <td class="paramname"><em>success</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>This is a convenience method that forces the advance width of mark glyphs to be zero, which is required for proper selection and highlighting. </p> <p>This method uses the input characters to identify marks. This is required in cases where the font does not contain enough information to identify them based on the glyph IDs.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">chars</td><td>- the array of input characters </td></tr> <tr><td class="paramname">charCount</td><td>- the number of input characers </td></tr> <tr><td class="paramname">glyphStorage</td><td>- the object containing the per-glyph storage. The positions array will be modified. </td></tr> <tr><td class="paramname">reverse</td><td>- <code>TRUE</code> if the glyph array has been reordered </td></tr> <tr><td class="paramname">markFilter</td><td>- used to identify mark glyphs </td></tr> <tr><td class="paramname">success</td><td>- output parameter set to an error code if the operation fails</td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd>LEGlyphFilter</dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000313">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> </div> </div> <a class="anchor" id="a9bc36adaea6bc7953eef955d9a29889b"></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="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> LayoutEngine::characterProcessing </td> <td>(</td> <td class="paramtype">const <a class="el" href="LETypes_8h.html#a903cb689308cdef41500411d096a2c2d">LEUnicode</a> </td> <td class="paramname"><em>chars</em>[], </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </td> <td class="paramname"><em>offset</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </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#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </td> <td class="paramname"><em>max</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a4b77bc254d0e88fdabffde9c03e6728f">le_bool</a> </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#a903cb689308cdef41500411d096a2c2d">LEUnicode</a> *& </td> <td class="paramname"><em>outChars</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a> & </td> <td class="paramname"><em>glyphStorage</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> & </td> <td class="paramname"><em>success</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>This method does any required pre-processing to the input characters. </p> <p>It may generate output characters that differ from the input charcters due to insertions, deletions, or reorderings. In such cases, it will also generate an output character index array reflecting these changes.</p> <p>Subclasses must override this method.</p> <p>Input parameters: </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">chars</td><td>- the input character context </td></tr> <tr><td class="paramname">offset</td><td>- the index of the first character to process </td></tr> <tr><td class="paramname">count</td><td>- the number of characters to process </td></tr> <tr><td class="paramname">max</td><td>- the number of characters in the input context </td></tr> <tr><td class="paramname">rightToLeft</td><td>- TRUE if the characters are in a right to left directional run </td></tr> <tr><td class="paramname">outChars</td><td>- the output character array, if different from the input </td></tr> <tr><td class="paramname">glyphStorage</td><td>- the object that holds the per-glyph storage. The character index array may be set. </td></tr> <tr><td class="paramname">success</td><td>- set to an error code if the operation fails</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the output character count (input character count if no change)</dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000306">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> </div> </div> <a class="anchor" id="a0555af37c7c1d5e4dfeba0c6724f02e8"></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="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> LayoutEngine::computeGlyphs </td> <td>(</td> <td class="paramtype">const <a class="el" href="LETypes_8h.html#a903cb689308cdef41500411d096a2c2d">LEUnicode</a> </td> <td class="paramname"><em>chars</em>[], </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </td> <td class="paramname"><em>offset</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </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#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </td> <td class="paramname"><em>max</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a4b77bc254d0e88fdabffde9c03e6728f">le_bool</a> </td> <td class="paramname"><em>rightToLeft</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a> & </td> <td class="paramname"><em>glyphStorage</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> & </td> <td class="paramname"><em>success</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>This method does the glyph processing. </p> <p>It converts an array of characters into an array of glyph indices and character indices. The characters to be processed are passed in a surrounding context. The context is specified as a starting address and a maximum character count. An offset and a count are used to specify the characters to be processed.</p> <p>The default implementation of this method only does character to glyph mapping. Subclasses needing more elaborate glyph processing must override this method.</p> <p>Input parameters: </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">chars</td><td>- the character context </td></tr> <tr><td class="paramname">offset</td><td>- the offset of the first character to process </td></tr> <tr><td class="paramname">count</td><td>- the number of characters to process </td></tr> <tr><td class="paramname">max</td><td>- the number of characters in the context. </td></tr> <tr><td class="paramname">rightToLeft</td><td>- TRUE if the text is in a right to left directional run </td></tr> <tr><td class="paramname">glyphStorage</td><td>- the object which holds the per-glyph storage. The glyph and char indices arrays will be set.</td></tr> </table> </dd> </dl> <p>Output parameters: </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">success</td><td>- set to an error code if the operation fails</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the number of glyphs in the glyph index array</dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000307">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> </div> </div> <a class="anchor" id="a43ded1a973722b0b4dc361ef6ba80a0f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> LayoutEngine::getCharIndices </td> <td>(</td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </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#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> & </td> <td class="paramname"><em>success</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>This method copies the character index array into a caller supplied array. </p> <p>The caller must ensure that the array is large enough to hold a character index for each glyph.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">charIndices</td><td>- the destiniation character index array </td></tr> <tr><td class="paramname">success</td><td>- set to an error code if the operation fails</td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable003736">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl> </div> </div> <a class="anchor" id="afdf0cff690c2c90efda698fc4848cd7c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> LayoutEngine::getCharIndices </td> <td>(</td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </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#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </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#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> & </td> <td class="paramname"><em>success</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>This method copies the character index array into a caller supplied array. </p> <p>The caller must ensure that the array is large enough to hold a character index for each glyph.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">charIndices</td><td>- the destiniation character index array </td></tr> <tr><td class="paramname">indexBase</td><td>- an offset which will be added to each index </td></tr> <tr><td class="paramname">success</td><td>- set to an error code if the operation fails</td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable003737">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl> </div> </div> <a class="anchor" id="ae221a54f672f0e7a1462d2c33935ea86"></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="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> LayoutEngine::getDynamicClassID </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">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#_stable003743">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl> <p>Implements <a class="el" href="classUObject.html#a9b1acc95efd89cb86ec31f2dc947a262">UObject</a>.</p> </div> </div> <a class="anchor" id="af0a35c0c69e8fbaf92300a60f7fbff75"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual const <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>* LayoutEngine::getFontTable </td> <td>(</td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a9e22a06bf2336b583b317287cb94fcfa">LETag</a> </td> <td class="paramname"><em>tableTag</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>This method gets a table from the font associated with the text. </p> <p>The default implementation gets the table from the font instance. Subclasses which need to get the tables some other way must override this method.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">tableTag</td><td>- the four byte table tag.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the address of the table.</dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000310">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> </div> </div> <a class="anchor" id="a35ca148be1817597d8a8449c066aa3d4"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> LayoutEngine::getGlyphCount </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>This method returns the number of glyphs in the glyph array. </p> <p>Note that the number of glyphs will be greater than or equal to the number of characters used to create the <a class="el" href="classLayoutEngine.html" title="This is a virtual base class used to do complex text layout. ">LayoutEngine</a>.</p> <dl class="section return"><dt>Returns</dt><dd>the number of glyphs in the glyph array</dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable003733">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl> </div> </div> <a class="anchor" id="aad69145083ea27c95c835662d6d1ac75"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> LayoutEngine::getGlyphPosition </td> <td>(</td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </td> <td class="paramname"><em>glyphIndex</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float & </td> <td class="paramname"><em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float & </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#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> & </td> <td class="paramname"><em>success</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> 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> <p>Input parameters: </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">glyphIndex</td><td>- the index of the glyph</td></tr> </table> </dd> </dl> <p>Output parameters: </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">x</td><td>- the glyph's X position </td></tr> <tr><td class="paramname">y</td><td>- the glyph's Y position </td></tr> <tr><td class="paramname">success</td><td>- set to an error code if the operation fails</td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable003739">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl> </div> </div> <a class="anchor" id="a4af0b513b0187d7f7b09cffc93c2e66c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> LayoutEngine::getGlyphPositions </td> <td>(</td> <td class="paramtype">float </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#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> & </td> <td class="paramname"><em>success</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>This method copies the position array into a caller supplied array. </p> <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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">positions</td><td>- the destiniation position array </td></tr> <tr><td class="paramname">success</td><td>- set to an error code if the operation fails</td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable003738">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl> </div> </div> <a class="anchor" id="a55e7ea6e89ba0f41718c6f343d0f0026"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> LayoutEngine::getGlyphs </td> <td>(</td> <td class="paramtype"><a class="el" href="LETypes_8h.html#ae440e077586bced1a0d1c534643ffc23">LEGlyphID</a> </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#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> & </td> <td class="paramname"><em>success</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>This method copies the glyph array into a caller supplied array. </p> <p>The caller must ensure that the array is large enough to hold all the glyphs.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">glyphs</td><td>- the destiniation glyph array </td></tr> <tr><td class="paramname">success</td><td>- set to an error code if the operation fails</td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable003734">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl> </div> </div> <a class="anchor" id="ae016b87b52e33daf23c23054408f53e6"></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="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> LayoutEngine::getGlyphs </td> <td>(</td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a8ed46f4fc717cf0a94de62efe109ecae">le_uint32</a> </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#a8ed46f4fc717cf0a94de62efe109ecae">le_uint32</a> </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#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> & </td> <td class="paramname"><em>success</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>This method copies the glyph array into a caller supplied array, ORing in extra bits. </p> <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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">glyphs</td><td>- the destination (32 bit) glyph array </td></tr> <tr><td class="paramname">extraBits</td><td>- this value will be ORed with each glyph index </td></tr> <tr><td class="paramname">success</td><td>- set to an error code if the operation fails</td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable003735">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl> </div> </div> <a class="anchor" id="afb5f548783a7ea02e1944162a8014b1b"></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="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> LayoutEngine::getStaticClassID </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><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#_stable003744">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl> </div> </div> <a class="anchor" id="a5f18786782f4383d25f2d319e992ce0c"></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="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> LayoutEngine::layoutChars </td> <td>(</td> <td class="paramtype">const <a class="el" href="LETypes_8h.html#a903cb689308cdef41500411d096a2c2d">LEUnicode</a> </td> <td class="paramname"><em>chars</em>[], </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </td> <td class="paramname"><em>offset</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </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#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </td> <td class="paramname"><em>max</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a4b77bc254d0e88fdabffde9c03e6728f">le_bool</a> </td> <td class="paramname"><em>rightToLeft</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float </td> <td class="paramname"><em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float </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#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> & </td> <td class="paramname"><em>success</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>This method will invoke the layout steps in their correct order by calling the computeGlyphs, positionGlyphs and adjustGlyphPosition methods. </p> <p>It will compute the glyph, character index and position arrays.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">chars</td><td>- the input character context </td></tr> <tr><td class="paramname">offset</td><td>- the offset of the first character to process </td></tr> <tr><td class="paramname">count</td><td>- the number of characters to process </td></tr> <tr><td class="paramname">max</td><td>- the number of characters in the input context </td></tr> <tr><td class="paramname">rightToLeft</td><td>- TRUE if the characers are in a right to left directional run </td></tr> <tr><td class="paramname">x</td><td>- the initial X position </td></tr> <tr><td class="paramname">y</td><td>- the initial Y position </td></tr> <tr><td class="paramname">success</td><td>- output parameter set to an error code if the operation fails</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the number of glyphs in the glyph array</dd></dl> <p>Note: The glyph, character index and position array can be accessed using the getter methods below.</p> <p>Note: If you call this method more than once, you must call the <a class="el" href="classLayoutEngine.html#a6732b79fdbe4221b613847e4b4f8780f" title="This method frees the glyph, character index and position arrays so that the LayoutEngine can be reus...">reset()</a> method first to free the glyph, character index and position arrays allocated by the previous call.</p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable003732">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl> </div> </div> <a class="anchor" id="ac1c6ee98399910fc179ffd74477add18"></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="classLayoutEngine.html">LayoutEngine</a>* LayoutEngine::layoutEngineFactory </td> <td>(</td> <td class="paramtype">const <a class="el" href="classLEFontInstance.html">LEFontInstance</a> * </td> <td class="paramname"><em>fontInstance</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </td> <td class="paramname"><em>scriptCode</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </td> <td class="paramname"><em>languageCode</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> & </td> <td class="paramname"><em>success</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>This method returns a <a class="el" href="classLayoutEngine.html" title="This is a virtual base class used to do complex text layout. ">LayoutEngine</a> capable of laying out text in the given font, script and langauge. </p> <p>Note that the <a class="el" href="classLayoutEngine.html" title="This is a virtual base class used to do complex text layout. ">LayoutEngine</a> returned may be a subclass of <a class="el" href="classLayoutEngine.html" title="This is a virtual base class used to do complex text layout. ">LayoutEngine</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">fontInstance</td><td>- the font of the text </td></tr> <tr><td class="paramname">scriptCode</td><td>- the script of the text </td></tr> <tr><td class="paramname">languageCode</td><td>- the language of the text </td></tr> <tr><td class="paramname">success</td><td>- output parameter set to an error code if the operation fails</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>a <a class="el" href="classLayoutEngine.html" title="This is a virtual base class used to do complex text layout. ">LayoutEngine</a> which can layout text in the given font.</dd></dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classLEFontInstance.html" title="This is a virtual base class that serves as the interface between a LayoutEngine and the platform fon...">LEFontInstance</a></dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable003741">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl> </div> </div> <a class="anchor" id="a1b968876ec10972d66edfcf58b6ab103"></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="classLayoutEngine.html">LayoutEngine</a>* LayoutEngine::layoutEngineFactory </td> <td>(</td> <td class="paramtype">const <a class="el" href="classLEFontInstance.html">LEFontInstance</a> * </td> <td class="paramname"><em>fontInstance</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </td> <td class="paramname"><em>scriptCode</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </td> <td class="paramname"><em>languageCode</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </td> <td class="paramname"><em>typo_flags</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> & </td> <td class="paramname"><em>success</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Override of existing call that provides flags to control typography. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable003742">Stable:</a></b></dt><dd>ICU 3.4 </dd></dl> </div> </div> <a class="anchor" id="a298b698b3c730c286410014c745af9a9"></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="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> LayoutEngine::mapCharsToGlyphs </td> <td>(</td> <td class="paramtype">const <a class="el" href="LETypes_8h.html#a903cb689308cdef41500411d096a2c2d">LEUnicode</a> </td> <td class="paramname"><em>chars</em>[], </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </td> <td class="paramname"><em>offset</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> </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#a4b77bc254d0e88fdabffde9c03e6728f">le_bool</a> </td> <td class="paramname"><em>reverse</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a4b77bc254d0e88fdabffde9c03e6728f">le_bool</a> </td> <td class="paramname"><em>mirror</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a> & </td> <td class="paramname"><em>glyphStorage</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> & </td> <td class="paramname"><em>success</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>This method does character to glyph mapping. </p> <p>The default implementation uses the font instance to do the mapping. It will allocate the glyph and character index arrays if they're not already allocated. If it allocates the character index array, it will fill it it.</p> <p>This method supports right to left text with the ability to store the glyphs in reverse order, and by supporting character mirroring, which will replace a character which has a left and right form, such as parens, with the opposite form before mapping it to a glyph index.</p> <p>Input parameters: </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">chars</td><td>- the input character context </td></tr> <tr><td class="paramname">offset</td><td>- the offset of the first character to be mapped </td></tr> <tr><td class="paramname">count</td><td>- the number of characters to be mapped </td></tr> <tr><td class="paramname">reverse</td><td>- if <code>TRUE</code>, the output will be in reverse order </td></tr> <tr><td class="paramname">mirror</td><td>- if <code>TRUE</code>, do character mirroring </td></tr> <tr><td class="paramname">glyphStorage</td><td>- the object which holds the per-glyph storage. The glyph and char indices arrays will be filled in. </td></tr> <tr><td class="paramname">success</td><td>- set to an error code if the operation fails</td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classLEFontInstance.html" title="This is a virtual base class that serves as the interface between a LayoutEngine and the platform fon...">LEFontInstance</a></dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000311">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> </div> </div> <a class="anchor" id="a2d78e005db15395bf20a9fd5c19246e7"></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="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> LayoutEngine::positionGlyphs </td> <td>(</td> <td class="paramtype"><a class="el" href="classLEGlyphStorage.html">LEGlyphStorage</a> & </td> <td class="paramname"><em>glyphStorage</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float </td> <td class="paramname"><em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float </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#a2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> & </td> <td class="paramname"><em>success</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>This method does basic glyph positioning. </p> <p>The default implementation positions the glyphs based on their advance widths. This is sufficient for most uses. It is not expected that many subclasses will override this method.</p> <p>Input parameters: </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">glyphStorage</td><td>- the object which holds the per-glyph storage. The glyph position array will be set. </td></tr> <tr><td class="paramname">x</td><td>- the starting X position </td></tr> <tr><td class="paramname">y</td><td>- the starting Y position </td></tr> <tr><td class="paramname">success</td><td>- set to an error code if the operation fails</td></tr> </table> </dd> </dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000308">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> </div> </div> <a class="anchor" id="a6732b79fdbe4221b613847e4b4f8780f"></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="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> LayoutEngine::reset </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>This method frees the glyph, character index and position arrays so that the <a class="el" href="classLayoutEngine.html" title="This is a virtual base class used to do complex text layout. ">LayoutEngine</a> can be reused to layout a different characer array. </p> <p>(This method is also called by the destructor)</p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable003740">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl> </div> </div> <h2 class="groupheader">Field Documentation</h2> <a class="anchor" id="aa59dcfed5649c96d5e813ff5acbb0f74"></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="LETypes_8h.html#a4b77bc254d0e88fdabffde9c03e6728f">le_bool</a> LayoutEngine::fFilterZeroWidth</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p><code>TRUE</code> if <code>mapCharsToGlyphs</code> should replace ZWJ / ZWNJ with a glyph with no contours. </p> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000303">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> <p>Definition at line <a class="el" href="LayoutEngine_8h_source.html#l00116">116</a> of file <a class="el" href="LayoutEngine_8h_source.html">LayoutEngine.h</a>.</p> </div> </div> <a class="anchor" id="a09445420f49f99a22773bce90419a4cd"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classLEFontInstance.html">LEFontInstance</a>* LayoutEngine::fFontInstance</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>The font instance for the text font. </p> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classLEFontInstance.html" title="This is a virtual base class that serves as the interface between a LayoutEngine and the platform fon...">LEFontInstance</a></dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000299">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> <p>Definition at line <a class="el" href="LayoutEngine_8h_source.html#l00083">83</a> of file <a class="el" href="LayoutEngine_8h_source.html">LayoutEngine.h</a>.</p> </div> </div> <a class="anchor" id="af143b52b77689d4402a9ca6a400f84d4"></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="classLEGlyphStorage.html">LEGlyphStorage</a>* LayoutEngine::fGlyphStorage</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>The object which holds the glyph storage. </p> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000298">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> <p>Definition at line <a class="el" href="LayoutEngine_8h_source.html#l00074">74</a> of file <a class="el" href="LayoutEngine_8h_source.html">LayoutEngine.h</a>.</p> </div> </div> <a class="anchor" id="a0460d81c3330be246b29ae41d788215b"></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="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> LayoutEngine::fLanguageCode</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>The langauge code for the text. </p> <dl class="section see"><dt>See Also</dt><dd>ScriptAndLanguageTags.h for language codes.</dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000301">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> <p>Definition at line <a class="el" href="LayoutEngine_8h_source.html#l00101">101</a> of file <a class="el" href="LayoutEngine_8h_source.html">LayoutEngine.h</a>.</p> </div> </div> <a class="anchor" id="aed10d9cec637cf12e36f11462dd6f36d"></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="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> LayoutEngine::fScriptCode</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>The script code for the text. </p> <dl class="section see"><dt>See Also</dt><dd>ScriptAndLanguageTags.h for script codes.</dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000300">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> <p>Definition at line <a class="el" href="LayoutEngine_8h_source.html#l00092">92</a> of file <a class="el" href="LayoutEngine_8h_source.html">LayoutEngine.h</a>.</p> </div> </div> <a class="anchor" id="a458289a246aedacb18a5025802cb9666"></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="LETypes_8h.html#a3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> LayoutEngine::fTypoFlags</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>The typographic control flags. </p> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000302">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> <p>Definition at line <a class="el" href="LayoutEngine_8h_source.html#l00108">108</a> of file <a class="el" href="LayoutEngine_8h_source.html">LayoutEngine.h</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="LayoutEngine_8h_source.html">LayoutEngine.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.5 </small></address> </body> </html>