<!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.14"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>tesseract: BLOBNBOX 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="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(initResizable); /* @license-end */</script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">tesseract  <span id="projectnumber">3.05.02</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.14 --> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ var searchBox = new SearchBox("searchBox", "search",false,'Search'); /* @license-end */ </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('a02481.html','');}); /* @license-end */ </script> <div id="doc-content"> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </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 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="a02478.html">List of all members</a> </div> <div class="headertitle"> <div class="title">BLOBNBOX Class Reference</div> </div> </div><!--header--> <div class="contents"> <p><code>#include <<a class="el" href="a00209_source.html">blobbox.h</a>></code></p> <div class="dynheader"> Inheritance diagram for BLOBNBOX:</div> <div class="dyncontent"> <div class="center"> <img src="a02481.png" usemap="#BLOBNBOX_map" alt=""/> <map id="BLOBNBOX_map" name="BLOBNBOX_map"> <area href="a02789.html" alt="ELIST_LINK" shape="rect" coords="0,0,81,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:a5bc9450ba27c245929b70bec357089f5"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a5bc9450ba27c245929b70bec357089f5">BLOBNBOX</a> ()</td></tr> <tr class="separator:a5bc9450ba27c245929b70bec357089f5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a11689c19e089b0982f645448802230bd"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a11689c19e089b0982f645448802230bd">BLOBNBOX</a> (<a class="el" href="a02737.html">C_BLOB</a> *srcblob)</td></tr> <tr class="separator:a11689c19e089b0982f645448802230bd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a44985c22d38233aa98d0417046fc249f"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a44985c22d38233aa98d0417046fc249f">~BLOBNBOX</a> ()</td></tr> <tr class="separator:a44985c22d38233aa98d0417046fc249f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8f79871ca8d190fc7ceaebbdf7fad379"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a8f79871ca8d190fc7ceaebbdf7fad379">rotate</a> (<a class="el" href="a02681.html">FCOORD</a> rotation)</td></tr> <tr class="separator:a8f79871ca8d190fc7ceaebbdf7fad379"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac869963632fa38cc8eb38327fe498aee"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#ac869963632fa38cc8eb38327fe498aee">reflect_box_in_y_axis</a> ()</td></tr> <tr class="separator:ac869963632fa38cc8eb38327fe498aee"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3f37300a9cdd252ca74df4a725787587"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a3f37300a9cdd252ca74df4a725787587">rotate_box</a> (<a class="el" href="a02681.html">FCOORD</a> rotation)</td></tr> <tr class="separator:a3f37300a9cdd252ca74df4a725787587"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad8c450bb29bba6199db25a1f9ccdc244"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#ad8c450bb29bba6199db25a1f9ccdc244">translate_box</a> (<a class="el" href="a02673.html">ICOORD</a> v)</td></tr> <tr class="separator:ad8c450bb29bba6199db25a1f9ccdc244"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae4415dbdf1257052f22ee726f98db893"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#ae4415dbdf1257052f22ee726f98db893">merge</a> (<a class="el" href="a02481.html">BLOBNBOX</a> *nextblob)</td></tr> <tr class="separator:ae4415dbdf1257052f22ee726f98db893"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a35e6f3923186941c2cd0c12b76be914d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a35e6f3923186941c2cd0c12b76be914d">really_merge</a> (<a class="el" href="a02481.html">BLOBNBOX</a> *other)</td></tr> <tr class="separator:a35e6f3923186941c2cd0c12b76be914d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a118eeb16f7c775dc58129a5869425f4b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a118eeb16f7c775dc58129a5869425f4b">chop</a> (BLOBNBOX_IT *start_it, BLOBNBOX_IT *blob_it, <a class="el" href="a02681.html">FCOORD</a> rotation, float xheight)</td></tr> <tr class="separator:a118eeb16f7c775dc58129a5869425f4b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acd3768f9051e79bb63cd5aaa67243b6f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#acd3768f9051e79bb63cd5aaa67243b6f">NeighbourGaps</a> (int gaps[<a class="el" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883a0f3b81ac0cbf413ac18c6de98cd69921">BND_COUNT</a>]) const</td></tr> <tr class="separator:acd3768f9051e79bb63cd5aaa67243b6f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0b085599b4bf9a11682326e51dd39384"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a0b085599b4bf9a11682326e51dd39384">MinMaxGapsClipped</a> (int *h_min, int *h_max, int *v_min, int *v_max) const</td></tr> <tr class="separator:a0b085599b4bf9a11682326e51dd39384"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae27906ce7e33b0714e87ecda31dcc825"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#ae27906ce7e33b0714e87ecda31dcc825">CleanNeighbours</a> ()</td></tr> <tr class="separator:ae27906ce7e33b0714e87ecda31dcc825"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab80398a2eba6ba82216b27279fee64ad"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#ab80398a2eba6ba82216b27279fee64ad">GoodTextBlob</a> () const</td></tr> <tr class="separator:ab80398a2eba6ba82216b27279fee64ad"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a218ec3d89b5d129786d21bc8b27ec860"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a218ec3d89b5d129786d21bc8b27ec860">NoisyNeighbours</a> () const</td></tr> <tr class="separator:a218ec3d89b5d129786d21bc8b27ec860"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6dd55688b560eeca69e6013dbdde20db"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a6dd55688b560eeca69e6013dbdde20db">DeletableNoise</a> () const</td></tr> <tr class="separator:a6dd55688b560eeca69e6013dbdde20db"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a151439eae2683e30695bbf567df04982"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a151439eae2683e30695bbf567df04982">DefiniteIndividualFlow</a> ()</td></tr> <tr class="separator:a151439eae2683e30695bbf567df04982"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a28115236d75684608cd9a69e08e87c71"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a28115236d75684608cd9a69e08e87c71">ConfirmNoTabViolation</a> (const <a class="el" href="a02481.html">BLOBNBOX</a> &other) const</td></tr> <tr class="separator:a28115236d75684608cd9a69e08e87c71"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a284ba5508e7635562424210f95d5faaa"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a284ba5508e7635562424210f95d5faaa">MatchingStrokeWidth</a> (const <a class="el" href="a02481.html">BLOBNBOX</a> &other, double fractional_tolerance, double constant_tolerance) const</td></tr> <tr class="separator:a284ba5508e7635562424210f95d5faaa"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5922e4cbb809ee92c2fbffe2f64be1a7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a02713.html">TBOX</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a5922e4cbb809ee92c2fbffe2f64be1a7">BoundsWithinLimits</a> (int left, int right)</td></tr> <tr class="separator:a5922e4cbb809ee92c2fbffe2f64be1a7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4ed2225c09f0ffbf08cb45ef6dbb40b4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a4ed2225c09f0ffbf08cb45ef6dbb40b4">EstimateBaselinePosition</a> ()</td></tr> <tr class="separator:a4ed2225c09f0ffbf08cb45ef6dbb40b4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acc27a54c9735f05e9152ba5f1c1a8261"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="a02713.html">TBOX</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#acc27a54c9735f05e9152ba5f1c1a8261">bounding_box</a> () const</td></tr> <tr class="separator:acc27a54c9735f05e9152ba5f1c1a8261"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8f076c06c79a5d3637d2f2f3b03a1a85"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a8f076c06c79a5d3637d2f2f3b03a1a85">set_bounding_box</a> (const <a class="el" href="a02713.html">TBOX</a> &new_box)</td></tr> <tr class="separator:a8f076c06c79a5d3637d2f2f3b03a1a85"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a32d07b97c559e7f7f7c58323491aedec"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a32d07b97c559e7f7f7c58323491aedec">compute_bounding_box</a> ()</td></tr> <tr class="separator:a32d07b97c559e7f7f7c58323491aedec"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af2621577ffe6fa265413437a6df78c86"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="a02713.html">TBOX</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#af2621577ffe6fa265413437a6df78c86">reduced_box</a> () const</td></tr> <tr class="separator:af2621577ffe6fa265413437a6df78c86"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4a160da41a3fa28a30d478a99fd80cce"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a4a160da41a3fa28a30d478a99fd80cce">set_reduced_box</a> (<a class="el" href="a02713.html">TBOX</a> new_box)</td></tr> <tr class="separator:a4a160da41a3fa28a30d478a99fd80cce"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8faad72181c3aa9768072b5896060284"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00524.html#aba1f582fd0168f3ff9225d8c90fa9eb8">inT32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a8faad72181c3aa9768072b5896060284">enclosed_area</a> () const</td></tr> <tr class="separator:a8faad72181c3aa9768072b5896060284"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab8e7a33dc069de65fa4b6d0cab61d0c1"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#ab8e7a33dc069de65fa4b6d0cab61d0c1">joined_to_prev</a> () const</td></tr> <tr class="separator:ab8e7a33dc069de65fa4b6d0cab61d0c1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac485c14201f33ff3b87b15779035eceb"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#ac485c14201f33ff3b87b15779035eceb">red_box_set</a> () const</td></tr> <tr class="separator:ac485c14201f33ff3b87b15779035eceb"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6ac085f4785a04cd96645b8259057040"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a6ac085f4785a04cd96645b8259057040">repeated_set</a> () const</td></tr> <tr class="separator:a6ac085f4785a04cd96645b8259057040"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4c2b662bd87162e3a0de4fe96845a449"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a4c2b662bd87162e3a0de4fe96845a449">set_repeated_set</a> (int set_id)</td></tr> <tr class="separator:a4c2b662bd87162e3a0de4fe96845a449"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5d497fdc454feff733889db8fe604868"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a02737.html">C_BLOB</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a5d497fdc454feff733889db8fe604868">cblob</a> () const</td></tr> <tr class="separator:a5d497fdc454feff733889db8fe604868"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a61ad844b302cb2e436a318c0af791d6d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00209.html#a6d0b33e703e1291d0b60d4fe5a5e12cc">TabType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a61ad844b302cb2e436a318c0af791d6d">left_tab_type</a> () const</td></tr> <tr class="separator:a61ad844b302cb2e436a318c0af791d6d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a098a0c7864a31569db4c32e32f54504c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a098a0c7864a31569db4c32e32f54504c">set_left_tab_type</a> (<a class="el" href="a00209.html#a6d0b33e703e1291d0b60d4fe5a5e12cc">TabType</a> new_type)</td></tr> <tr class="separator:a098a0c7864a31569db4c32e32f54504c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4b1c1233448c8e9b25a18699b4505bbc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00209.html#a6d0b33e703e1291d0b60d4fe5a5e12cc">TabType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a4b1c1233448c8e9b25a18699b4505bbc">right_tab_type</a> () const</td></tr> <tr class="separator:a4b1c1233448c8e9b25a18699b4505bbc"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2a26da567144a5131817df4a23e9ec31"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a2a26da567144a5131817df4a23e9ec31">set_right_tab_type</a> (<a class="el" href="a00209.html#a6d0b33e703e1291d0b60d4fe5a5e12cc">TabType</a> new_type)</td></tr> <tr class="separator:a2a26da567144a5131817df4a23e9ec31"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3dc754fce829ae3287ad782cc567ff7e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00209.html#aebfaf711760a99b60c297d1d619df575">BlobRegionType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a3dc754fce829ae3287ad782cc567ff7e">region_type</a> () const</td></tr> <tr class="separator:a3dc754fce829ae3287ad782cc567ff7e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9b58644d9ad4f0d01193f47f55dd884f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a9b58644d9ad4f0d01193f47f55dd884f">set_region_type</a> (<a class="el" href="a00209.html#aebfaf711760a99b60c297d1d619df575">BlobRegionType</a> new_type)</td></tr> <tr class="separator:a9b58644d9ad4f0d01193f47f55dd884f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a79b752b4d1c29649d56006acb960aa13"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00209.html#a75b089d27e1df813fed544e0c131df8c">BlobSpecialTextType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a79b752b4d1c29649d56006acb960aa13">special_text_type</a> () const</td></tr> <tr class="separator:a79b752b4d1c29649d56006acb960aa13"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1650427df7e6b935dd737ad9eb70c36b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a1650427df7e6b935dd737ad9eb70c36b">set_special_text_type</a> (<a class="el" href="a00209.html#a75b089d27e1df813fed544e0c131df8c">BlobSpecialTextType</a> new_type)</td></tr> <tr class="separator:a1650427df7e6b935dd737ad9eb70c36b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac5e0fa9b0b9c23c040d6b1e0c61120cc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00209.html#aa72f1499398e9694bf46752e1cc895e1">BlobTextFlowType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#ac5e0fa9b0b9c23c040d6b1e0c61120cc">flow</a> () const</td></tr> <tr class="separator:ac5e0fa9b0b9c23c040d6b1e0c61120cc"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a75340334988feba52ce36ba596750a35"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a75340334988feba52ce36ba596750a35">set_flow</a> (<a class="el" href="a00209.html#aa72f1499398e9694bf46752e1cc895e1">BlobTextFlowType</a> value)</td></tr> <tr class="separator:a75340334988feba52ce36ba596750a35"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a567aa38abff23f8d0fe9a87c44022a17"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a567aa38abff23f8d0fe9a87c44022a17">vert_possible</a> () const</td></tr> <tr class="separator:a567aa38abff23f8d0fe9a87c44022a17"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a500153b288f379ebabbeaa18a7005d04"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a500153b288f379ebabbeaa18a7005d04">set_vert_possible</a> (bool value)</td></tr> <tr class="separator:a500153b288f379ebabbeaa18a7005d04"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:adb4e46c1dfd948babef797af6621adf1"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#adb4e46c1dfd948babef797af6621adf1">horz_possible</a> () const</td></tr> <tr class="separator:adb4e46c1dfd948babef797af6621adf1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a49a43bb4c47b434aa36ad79ea53a0485"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a49a43bb4c47b434aa36ad79ea53a0485">set_horz_possible</a> (bool value)</td></tr> <tr class="separator:a49a43bb4c47b434aa36ad79ea53a0485"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6671938fcce4a40c8daf96d8f911e353"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a6671938fcce4a40c8daf96d8f911e353">left_rule</a> () const</td></tr> <tr class="separator:a6671938fcce4a40c8daf96d8f911e353"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a37c2f715b4cb67ae8ec6a507dd029787"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a37c2f715b4cb67ae8ec6a507dd029787">set_left_rule</a> (int new_left)</td></tr> <tr class="separator:a37c2f715b4cb67ae8ec6a507dd029787"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a63128583b0e4fd2c7133e466dd0dca5c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a63128583b0e4fd2c7133e466dd0dca5c">right_rule</a> () const</td></tr> <tr class="separator:a63128583b0e4fd2c7133e466dd0dca5c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae90db382b3842419f291ae29dd7cd778"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#ae90db382b3842419f291ae29dd7cd778">set_right_rule</a> (int new_right)</td></tr> <tr class="separator:ae90db382b3842419f291ae29dd7cd778"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab5ce92b8dd5b085f8b08f6e27360574a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#ab5ce92b8dd5b085f8b08f6e27360574a">left_crossing_rule</a> () const</td></tr> <tr class="separator:ab5ce92b8dd5b085f8b08f6e27360574a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af1c12b91267640dc5634f8992f96cb1a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#af1c12b91267640dc5634f8992f96cb1a">set_left_crossing_rule</a> (int new_left)</td></tr> <tr class="separator:af1c12b91267640dc5634f8992f96cb1a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a419500ffcd931bbee80cd31f5cb1dfae"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a419500ffcd931bbee80cd31f5cb1dfae">right_crossing_rule</a> () const</td></tr> <tr class="separator:a419500ffcd931bbee80cd31f5cb1dfae"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a234b1b56e0790a98a0c549a36580ca60"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a234b1b56e0790a98a0c549a36580ca60">set_right_crossing_rule</a> (int new_right)</td></tr> <tr class="separator:a234b1b56e0790a98a0c549a36580ca60"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2dcb3058d8f5649337367ad537030730"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a2dcb3058d8f5649337367ad537030730">horz_stroke_width</a> () const</td></tr> <tr class="separator:a2dcb3058d8f5649337367ad537030730"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab8e3703ad9c72b61dedafb61c4b32358"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#ab8e3703ad9c72b61dedafb61c4b32358">set_horz_stroke_width</a> (float width)</td></tr> <tr class="separator:ab8e3703ad9c72b61dedafb61c4b32358"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a29b3a792e974cc53f5d52fc95ee5463a"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a29b3a792e974cc53f5d52fc95ee5463a">vert_stroke_width</a> () const</td></tr> <tr class="separator:a29b3a792e974cc53f5d52fc95ee5463a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aeb808226b8dd08e875eb3cf38a61a6d5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#aeb808226b8dd08e875eb3cf38a61a6d5">set_vert_stroke_width</a> (float width)</td></tr> <tr class="separator:aeb808226b8dd08e875eb3cf38a61a6d5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a60ec6ef150c19849d80ca5cad9f81e69"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a60ec6ef150c19849d80ca5cad9f81e69">area_stroke_width</a> () const</td></tr> <tr class="separator:a60ec6ef150c19849d80ca5cad9f81e69"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9be9de4f597e581caf28071aa5ef52fe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a04737.html">tesseract::ColPartition</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a9be9de4f597e581caf28071aa5ef52fe">owner</a> () const</td></tr> <tr class="separator:a9be9de4f597e581caf28071aa5ef52fe"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad573c3bea7351dd2cbdaaffa2ff11c58"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#ad573c3bea7351dd2cbdaaffa2ff11c58">set_owner</a> (<a class="el" href="a04737.html">tesseract::ColPartition</a> *new_owner)</td></tr> <tr class="separator:ad573c3bea7351dd2cbdaaffa2ff11c58"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2a7488f821d5dc3f542d1215017bea02"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a2a7488f821d5dc3f542d1215017bea02">leader_on_left</a> () const</td></tr> <tr class="separator:a2a7488f821d5dc3f542d1215017bea02"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6e6bb579df4620ecf4a1bdc46bc21d60"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a6e6bb579df4620ecf4a1bdc46bc21d60">set_leader_on_left</a> (bool flag)</td></tr> <tr class="separator:a6e6bb579df4620ecf4a1bdc46bc21d60"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a119c505d3afc048a34728c63dba96060"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a119c505d3afc048a34728c63dba96060">leader_on_right</a> () const</td></tr> <tr class="separator:a119c505d3afc048a34728c63dba96060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0bc3500cc908c86d40c828358063797a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a0bc3500cc908c86d40c828358063797a">set_leader_on_right</a> (bool flag)</td></tr> <tr class="separator:a0bc3500cc908c86d40c828358063797a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a018ff218c54fb4d12303543dce5cfc86"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a02481.html">BLOBNBOX</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a018ff218c54fb4d12303543dce5cfc86">neighbour</a> (<a class="el" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883">BlobNeighbourDir</a> n) const</td></tr> <tr class="separator:a018ff218c54fb4d12303543dce5cfc86"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0d517d3a2ab497690682583359c8754e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a0d517d3a2ab497690682583359c8754e">good_stroke_neighbour</a> (<a class="el" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883">BlobNeighbourDir</a> n) const</td></tr> <tr class="separator:a0d517d3a2ab497690682583359c8754e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a80beaf33ba73b0145cdc6a53ce774465"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a80beaf33ba73b0145cdc6a53ce774465">set_neighbour</a> (<a class="el" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883">BlobNeighbourDir</a> n, <a class="el" href="a02481.html">BLOBNBOX</a> *<a class="el" href="a02481.html#a018ff218c54fb4d12303543dce5cfc86">neighbour</a>, bool good)</td></tr> <tr class="separator:a80beaf33ba73b0145cdc6a53ce774465"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7b618cf09fe3a4c82f896fca88a0bc59"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a7b618cf09fe3a4c82f896fca88a0bc59">IsDiacritic</a> () const</td></tr> <tr class="separator:a7b618cf09fe3a4c82f896fca88a0bc59"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa8b2859d3003bb5b9bc3f47feac6ce92"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#aa8b2859d3003bb5b9bc3f47feac6ce92">base_char_top</a> () const</td></tr> <tr class="separator:aa8b2859d3003bb5b9bc3f47feac6ce92"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa25de6d87e103e4d54cd0413ac6dce8d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#aa25de6d87e103e4d54cd0413ac6dce8d">base_char_bottom</a> () const</td></tr> <tr class="separator:aa25de6d87e103e4d54cd0413ac6dce8d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af5dd7efebd6cc0e393086d7eda8eb446"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#af5dd7efebd6cc0e393086d7eda8eb446">baseline_position</a> () const</td></tr> <tr class="separator:af5dd7efebd6cc0e393086d7eda8eb446"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a63e7860497894353891225f2fba362e0"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a63e7860497894353891225f2fba362e0">line_crossings</a> () const</td></tr> <tr class="separator:a63e7860497894353891225f2fba362e0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a567e99fc9c08dfebbe144eb520c1322f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a567e99fc9c08dfebbe144eb520c1322f">set_line_crossings</a> (int value)</td></tr> <tr class="separator:a567e99fc9c08dfebbe144eb520c1322f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af354be28840859b8a4b593aa6db467f2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#af354be28840859b8a4b593aa6db467f2">set_diacritic_box</a> (const <a class="el" href="a02713.html">TBOX</a> &diacritic_box)</td></tr> <tr class="separator:af354be28840859b8a4b593aa6db467f2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab55c4b5fe41ff710155938e1498eeabe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a02481.html">BLOBNBOX</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#ab55c4b5fe41ff710155938e1498eeabe">base_char_blob</a> () const</td></tr> <tr class="separator:ab55c4b5fe41ff710155938e1498eeabe"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6f9b52a46f0c77c395c0a03a99270ac8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a6f9b52a46f0c77c395c0a03a99270ac8">set_base_char_blob</a> (<a class="el" href="a02481.html">BLOBNBOX</a> *blob)</td></tr> <tr class="separator:a6f9b52a46f0c77c395c0a03a99270ac8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a36d0adee98d4086fcdd5e37be557f28b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a36d0adee98d4086fcdd5e37be557f28b">set_owns_cblob</a> (bool value)</td></tr> <tr class="separator:a36d0adee98d4086fcdd5e37be557f28b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aff1777ad4d187457994a57135b5d5541"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#aff1777ad4d187457994a57135b5d5541">UniquelyVertical</a> () const</td></tr> <tr class="separator:aff1777ad4d187457994a57135b5d5541"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad144f853d776022b842073150bae0c33"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#ad144f853d776022b842073150bae0c33">UniquelyHorizontal</a> () const</td></tr> <tr class="separator:ad144f853d776022b842073150bae0c33"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6a46c73b54f738c54dbfa0c9dadef92b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a04929.html#a100504544a5423a94222149ee9ed0fe8">ScrollView::Color</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a6a46c73b54f738c54dbfa0c9dadef92b">BoxColor</a> () const</td></tr> <tr class="separator:a6a46c73b54f738c54dbfa0c9dadef92b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a298c71714cb9c1dfa613bddb8e48f75d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a298c71714cb9c1dfa613bddb8e48f75d">plot</a> (<a class="el" href="a04929.html">ScrollView</a> *window, <a class="el" href="a04929.html#a100504544a5423a94222149ee9ed0fe8">ScrollView::Color</a> blob_colour, <a class="el" href="a04929.html#a100504544a5423a94222149ee9ed0fe8">ScrollView::Color</a> child_colour)</td></tr> <tr class="separator:a298c71714cb9c1dfa613bddb8e48f75d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acc9406df0e800aaf5721a6a1127629f4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#acc9406df0e800aaf5721a6a1127629f4">ConstructionInit</a> ()</td></tr> <tr class="separator:acc9406df0e800aaf5721a6a1127629f4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a582c976fe68be6127b2ce4e54e5e7181"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a582c976fe68be6127b2ce4e54e5e7181">ReInit</a> ()</td></tr> <tr class="separator:a582c976fe68be6127b2ce4e54e5e7181"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acdf3cc39226f3378516956b0e33fa533"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#acdf3cc39226f3378516956b0e33fa533">ClearNeighbours</a> ()</td></tr> <tr class="separator:acdf3cc39226f3378516956b0e33fa533"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_a02789"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_a02789')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="a02789.html">ELIST_LINK</a></td></tr> <tr class="memitem:ab3cdce5789339d12de62e18fdfb52974 inherit pub_methods_a02789"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a02789.html#ab3cdce5789339d12de62e18fdfb52974">ELIST_LINK</a> ()</td></tr> <tr class="separator:ab3cdce5789339d12de62e18fdfb52974 inherit pub_methods_a02789"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a30be968896fac3d1c88d127213aa03f7 inherit pub_methods_a02789"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a02789.html#a30be968896fac3d1c88d127213aa03f7">ELIST_LINK</a> (const <a class="el" href="a02789.html">ELIST_LINK</a> &)</td></tr> <tr class="separator:a30be968896fac3d1c88d127213aa03f7 inherit pub_methods_a02789"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a949f5dfcc3c145a19f2d61ee3461701e inherit pub_methods_a02789"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02789.html#a949f5dfcc3c145a19f2d61ee3461701e">operator=</a> (const <a class="el" href="a02789.html">ELIST_LINK</a> &)</td></tr> <tr class="separator:a949f5dfcc3c145a19f2d61ee3461701e inherit pub_methods_a02789"><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:aa750241e977f7dd90452cfbe317fa468"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a02481.html">BLOBNBOX</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#aa750241e977f7dd90452cfbe317fa468">RealBlob</a> (<a class="el" href="a02525.html">C_OUTLINE</a> *outline)</td></tr> <tr class="separator:aa750241e977f7dd90452cfbe317fa468"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a07444bc838d7efe7c41f8b00913447ac"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a07444bc838d7efe7c41f8b00913447ac">IsTextType</a> (<a class="el" href="a00209.html#aebfaf711760a99b60c297d1d619df575">BlobRegionType</a> type)</td></tr> <tr class="separator:a07444bc838d7efe7c41f8b00913447ac"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a12fed2b0c8e14c0145019f8f214e4262"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a12fed2b0c8e14c0145019f8f214e4262">IsImageType</a> (<a class="el" href="a00209.html#aebfaf711760a99b60c297d1d619df575">BlobRegionType</a> type)</td></tr> <tr class="separator:a12fed2b0c8e14c0145019f8f214e4262"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a86decfe35457329f062098901d56015f"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a86decfe35457329f062098901d56015f">IsLineType</a> (<a class="el" href="a00209.html#aebfaf711760a99b60c297d1d619df575">BlobRegionType</a> type)</td></tr> <tr class="separator:a86decfe35457329f062098901d56015f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aed57b07f933309970d23490dfc5a5e52"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#aed57b07f933309970d23490dfc5a5e52">UnMergeableType</a> (<a class="el" href="a00209.html#aebfaf711760a99b60c297d1d619df575">BlobRegionType</a> type)</td></tr> <tr class="separator:aed57b07f933309970d23490dfc5a5e52"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a18b3026a08be5da3d4397b2622c8da5f"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a18b3026a08be5da3d4397b2622c8da5f">CleanNeighbours</a> (BLOBNBOX_LIST *blobs)</td></tr> <tr class="separator:a18b3026a08be5da3d4397b2622c8da5f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a08e197e85c158f4bb9cbe388b980598e"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a08e197e85c158f4bb9cbe388b980598e">DeleteNoiseBlobs</a> (BLOBNBOX_LIST *blobs)</td></tr> <tr class="separator:a08e197e85c158f4bb9cbe388b980598e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2fef3467cbba29dd3d2e11a589025922"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a2fef3467cbba29dd3d2e11a589025922">ComputeEdgeOffsets</a> (Pix *thresholds, Pix *grey, BLOBNBOX_LIST *blobs)</td></tr> <tr class="separator:a2fef3467cbba29dd3d2e11a589025922"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4390090c077b282cb4bc814633cb8e27"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a4390090c077b282cb4bc814633cb8e27">PlotBlobs</a> (BLOBNBOX_LIST *list, <a class="el" href="a04929.html#a100504544a5423a94222149ee9ed0fe8">ScrollView::Color</a> body_colour, <a class="el" href="a04929.html#a100504544a5423a94222149ee9ed0fe8">ScrollView::Color</a> child_colour, <a class="el" href="a04929.html">ScrollView</a> *win)</td></tr> <tr class="separator:a4390090c077b282cb4bc814633cb8e27"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a64e7f32e8eb4319767dfb632db3867bf"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a64e7f32e8eb4319767dfb632db3867bf">PlotNoiseBlobs</a> (BLOBNBOX_LIST *list, <a class="el" href="a04929.html#a100504544a5423a94222149ee9ed0fe8">ScrollView::Color</a> body_colour, <a class="el" href="a04929.html#a100504544a5423a94222149ee9ed0fe8">ScrollView::Color</a> child_colour, <a class="el" href="a04929.html">ScrollView</a> *win)</td></tr> <tr class="separator:a64e7f32e8eb4319767dfb632db3867bf"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7351d74f423975d676f47e4dc05e267f"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a04929.html#a100504544a5423a94222149ee9ed0fe8">ScrollView::Color</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a02481.html#a7351d74f423975d676f47e4dc05e267f">TextlineColor</a> (<a class="el" href="a00209.html#aebfaf711760a99b60c297d1d619df575">BlobRegionType</a> <a class="el" href="a02481.html#a3dc754fce829ae3287ad782cc567ff7e">region_type</a>, <a class="el" href="a00209.html#aa72f1499398e9694bf46752e1cc895e1">BlobTextFlowType</a> flow_type)</td></tr> <tr class="separator:a7351d74f423975d676f47e4dc05e267f"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00128">128</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a id="a5bc9450ba27c245929b70bec357089f5"></a> <h2 class="memtitle"><span class="permalink"><a href="#a5bc9450ba27c245929b70bec357089f5">◆ </a></span>BLOBNBOX() <span class="overload">[1/2]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">BLOBNBOX::BLOBNBOX </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00131">131</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  {</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <a class="code" href="a02481.html#acc9406df0e800aaf5721a6a1127629f4">ConstructionInit</a>();</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  }</div><div class="ttc" id="a02481_html_acc9406df0e800aaf5721a6a1127629f4"><div class="ttname"><a href="a02481.html#acc9406df0e800aaf5721a6a1127629f4">BLOBNBOX::ConstructionInit</a></div><div class="ttdeci">void ConstructionInit()</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00455">blobbox.h:455</a></div></div> </div><!-- fragment --> </div> </div> <a id="a11689c19e089b0982f645448802230bd"></a> <h2 class="memtitle"><span class="permalink"><a href="#a11689c19e089b0982f645448802230bd">◆ </a></span>BLOBNBOX() <span class="overload">[2/2]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">BLOBNBOX::BLOBNBOX </td> <td>(</td> <td class="paramtype"><a class="el" href="a02737.html">C_BLOB</a> * </td> <td class="paramname"><em>srcblob</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00134">134</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  {</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  box = srcblob-><a class="code" href="a02737.html#a50bd7e9c66492bebdba6aadcc806bf93">bounding_box</a>();</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <a class="code" href="a02481.html#acc9406df0e800aaf5721a6a1127629f4">ConstructionInit</a>();</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  cblob_ptr = srcblob;</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  area = <span class="keyword">static_cast<</span><span class="keywordtype">int</span><span class="keyword">></span>(srcblob-><a class="code" href="a02737.html#af8d6cc72e454c97c5e14d7ccd12925e3">area</a>());</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  }</div><div class="ttc" id="a02737_html_a50bd7e9c66492bebdba6aadcc806bf93"><div class="ttname"><a href="a02737.html#a50bd7e9c66492bebdba6aadcc806bf93">C_BLOB::bounding_box</a></div><div class="ttdeci">TBOX bounding_box() const</div><div class="ttdef"><b>Definition:</b> <a href="a00428_source.html#l00250">stepblob.cpp:250</a></div></div> <div class="ttc" id="a02737_html_af8d6cc72e454c97c5e14d7ccd12925e3"><div class="ttname"><a href="a02737.html#af8d6cc72e454c97c5e14d7ccd12925e3">C_BLOB::area</a></div><div class="ttdeci">inT32 area()</div><div class="ttdef"><b>Definition:</b> <a href="a00428_source.html#l00270">stepblob.cpp:270</a></div></div> <div class="ttc" id="a02481_html_acc9406df0e800aaf5721a6a1127629f4"><div class="ttname"><a href="a02481.html#acc9406df0e800aaf5721a6a1127629f4">BLOBNBOX::ConstructionInit</a></div><div class="ttdeci">void ConstructionInit()</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00455">blobbox.h:455</a></div></div> </div><!-- fragment --> </div> </div> <a id="a44985c22d38233aa98d0417046fc249f"></a> <h2 class="memtitle"><span class="permalink"><a href="#a44985c22d38233aa98d0417046fc249f">◆ </a></span>~BLOBNBOX()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">BLOBNBOX::~BLOBNBOX </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00140">140</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  {</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keywordflow">if</span> (owns_cblob_) <span class="keyword">delete</span> cblob_ptr;</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  }</div></div><!-- fragment --> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a id="a60ec6ef150c19849d80ca5cad9f81e69"></a> <h2 class="memtitle"><span class="permalink"><a href="#a60ec6ef150c19849d80ca5cad9f81e69">◆ </a></span>area_stroke_width()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">float BLOBNBOX::area_stroke_width </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00334">334</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  {</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  <span class="keywordflow">return</span> area_stroke_width_;</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  }</div></div><!-- fragment --> </div> </div> <a id="ab55c4b5fe41ff710155938e1498eeabe"></a> <h2 class="memtitle"><span class="permalink"><a href="#ab55c4b5fe41ff710155938e1498eeabe">◆ </a></span>base_char_blob()</h2> <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="a02481.html">BLOBNBOX</a>* BLOBNBOX::base_char_blob </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00387">387</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  {</div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  <span class="keywordflow">return</span> base_char_blob_;</div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  }</div></div><!-- fragment --> </div> </div> <a id="aa25de6d87e103e4d54cd0413ac6dce8d"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa25de6d87e103e4d54cd0413ac6dce8d">◆ </a></span>base_char_bottom()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int BLOBNBOX::base_char_bottom </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00371">371</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  {</div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  <span class="keywordflow">return</span> base_char_bottom_;</div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  }</div></div><!-- fragment --> </div> </div> <a id="aa8b2859d3003bb5b9bc3f47feac6ce92"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa8b2859d3003bb5b9bc3f47feac6ce92">◆ </a></span>base_char_top()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int BLOBNBOX::base_char_top </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00368">368</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  {</div><div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  <span class="keywordflow">return</span> base_char_top_;</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  }</div></div><!-- fragment --> </div> </div> <a id="af5dd7efebd6cc0e393086d7eda8eb446"></a> <h2 class="memtitle"><span class="permalink"><a href="#af5dd7efebd6cc0e393086d7eda8eb446">◆ </a></span>baseline_position()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int BLOBNBOX::baseline_position </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00374">374</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  {</div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  <span class="keywordflow">return</span> baseline_y_;</div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  }</div></div><!-- fragment --> </div> </div> <a id="acc27a54c9735f05e9152ba5f1c1a8261"></a> <h2 class="memtitle"><span class="permalink"><a href="#acc27a54c9735f05e9152ba5f1c1a8261">◆ </a></span>bounding_box()</h2> <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="a02713.html">TBOX</a>& BLOBNBOX::bounding_box </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00215">215</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  {</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <span class="keywordflow">return</span> box;</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  }</div></div><!-- fragment --> </div> </div> <a id="a5922e4cbb809ee92c2fbffe2f64be1a7"></a> <h2 class="memtitle"><span class="permalink"><a href="#a5922e4cbb809ee92c2fbffe2f64be1a7">◆ </a></span>BoundsWithinLimits()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="a02713.html">TBOX</a> BLOBNBOX::BoundsWithinLimits </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>left</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>right</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00206_source.html#l00328">328</a> of file <a class="el" href="a00206_source.html">blobbox.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  {</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  <a class="code" href="a02681.html">FCOORD</a> no_rotation(1.0f, 0.0f);</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  <span class="keywordtype">float</span> top = box.<a class="code" href="a02713.html#ac5ecdfbd33963eac601ccb67ac63dd2a">top</a>();</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  <span class="keywordtype">float</span> bottom = box.<a class="code" href="a02713.html#ae20440e936439218b9dfe267b8a37b4a">bottom</a>();</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  <span class="keywordflow">if</span> (cblob_ptr != NULL) {</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  <a class="code" href="a00206.html#a2ce6678ef43e0765b7af8c5611c4ebd9">find_cblob_limits</a>(cblob_ptr, static_cast<float>(left),</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  static_cast<float>(right), no_rotation,</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  bottom, top);</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  }</div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span> </div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  <span class="keywordflow">if</span> (top < bottom) {</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  top = box.<a class="code" href="a02713.html#ac5ecdfbd33963eac601ccb67ac63dd2a">top</a>();</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  bottom = box.<a class="code" href="a02713.html#ae20440e936439218b9dfe267b8a37b4a">bottom</a>();</div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  }</div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  <a class="code" href="a02681.html">FCOORD</a> bot_left(left, bottom);</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  <a class="code" href="a02681.html">FCOORD</a> top_right(right, top);</div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  <a class="code" href="a02713.html">TBOX</a> shrunken_box(bot_left);</div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  <a class="code" href="a02713.html">TBOX</a> shrunken_box2(top_right);</div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  shrunken_box += shrunken_box2;</div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  <span class="keywordflow">return</span> shrunken_box;</div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span> }</div><div class="ttc" id="a00206_html_a2ce6678ef43e0765b7af8c5611c4ebd9"><div class="ttname"><a href="a00206.html#a2ce6678ef43e0765b7af8c5611c4ebd9">find_cblob_limits</a></div><div class="ttdeci">void find_cblob_limits(C_BLOB *blob, float leftx, float rightx, FCOORD rotation, float &ymin, float &ymax)</div><div class="ttdef"><b>Definition:</b> <a href="a00206_source.html#l00494">blobbox.cpp:494</a></div></div> <div class="ttc" id="a02713_html_ae20440e936439218b9dfe267b8a37b4a"><div class="ttname"><a href="a02713.html#ae20440e936439218b9dfe267b8a37b4a">TBOX::bottom</a></div><div class="ttdeci">inT16 bottom() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00061">rect.h:61</a></div></div> <div class="ttc" id="a02681_html"><div class="ttname"><a href="a02681.html">FCOORD</a></div><div class="ttdef"><b>Definition:</b> <a href="a00356_source.html#l00189">points.h:189</a></div></div> <div class="ttc" id="a02713_html_ac5ecdfbd33963eac601ccb67ac63dd2a"><div class="ttname"><a href="a02713.html#ac5ecdfbd33963eac601ccb67ac63dd2a">TBOX::top</a></div><div class="ttdeci">inT16 top() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00054">rect.h:54</a></div></div> <div class="ttc" id="a02713_html"><div class="ttname"><a href="a02713.html">TBOX</a></div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00030">rect.h:30</a></div></div> </div><!-- fragment --> </div> </div> <a id="a6a46c73b54f738c54dbfa0c9dadef92b"></a> <h2 class="memtitle"><span class="permalink"><a href="#a6a46c73b54f738c54dbfa0c9dadef92b">◆ </a></span>BoxColor()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="a04929.html#a100504544a5423a94222149ee9ed0fe8">ScrollView::Color</a> BLOBNBOX::BoxColor </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00206_source.html#l00476">476</a> of file <a class="el" href="a00206_source.html">blobbox.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00476"></a><span class="lineno"> 476</span>  {</div><div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  <span class="keywordflow">return</span> <a class="code" href="a02481.html#a7351d74f423975d676f47e4dc05e267f">TextlineColor</a>(region_type_, flow_);</div><div class="line"><a name="l00478"></a><span class="lineno"> 478</span> }</div><div class="ttc" id="a02481_html_a7351d74f423975d676f47e4dc05e267f"><div class="ttname"><a href="a02481.html#a7351d74f423975d676f47e4dc05e267f">BLOBNBOX::TextlineColor</a></div><div class="ttdeci">static ScrollView::Color TextlineColor(BlobRegionType region_type, BlobTextFlowType flow_type)</div><div class="ttdef"><b>Definition:</b> <a href="a00206_source.html#l00439">blobbox.cpp:439</a></div></div> </div><!-- fragment --> </div> </div> <a id="a5d497fdc454feff733889db8fe604868"></a> <h2 class="memtitle"><span class="permalink"><a href="#a5d497fdc454feff733889db8fe604868">◆ </a></span>cblob()</h2> <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="a02737.html">C_BLOB</a>* BLOBNBOX::cblob </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00253">253</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  {</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="keywordflow">return</span> cblob_ptr;</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  }</div></div><!-- fragment --> </div> </div> <a id="a118eeb16f7c775dc58129a5869425f4b"></a> <h2 class="memtitle"><span class="permalink"><a href="#a118eeb16f7c775dc58129a5869425f4b">◆ </a></span>chop()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::chop </td> <td>(</td> <td class="paramtype">BLOBNBOX_IT * </td> <td class="paramname"><em>start_it</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">BLOBNBOX_IT * </td> <td class="paramname"><em>blob_it</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a02681.html">FCOORD</a> </td> <td class="paramname"><em>rotation</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float </td> <td class="paramname"><em>xheight</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00206_source.html#l00115">115</a> of file <a class="el" href="a00206_source.html">blobbox.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  {</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <a class="code" href="a00524.html#a8d41499d38c24d39b221ab0c158fe5a8">inT16</a> blobcount; <span class="comment">//no of blobs</span></div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <a class="code" href="a02481.html">BLOBNBOX</a> *newblob; <span class="comment">//fake blob</span></div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <a class="code" href="a02481.html">BLOBNBOX</a> *blob; <span class="comment">//current blob</span></div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <a class="code" href="a00524.html#a8d41499d38c24d39b221ab0c158fe5a8">inT16</a> blobindex; <span class="comment">//number of chop</span></div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <a class="code" href="a00524.html#a8d41499d38c24d39b221ab0c158fe5a8">inT16</a> leftx; <span class="comment">//left edge of blob</span></div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keywordtype">float</span> blobwidth; <span class="comment">//width of each</span></div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordtype">float</span> rightx; <span class="comment">//right edge to scan</span></div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keywordtype">float</span> ymin, ymax; <span class="comment">//limits of new blob</span></div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keywordtype">float</span> test_ymin, test_ymax; <span class="comment">//limits of part blob</span></div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <a class="code" href="a02673.html">ICOORD</a> bl, tr; <span class="comment">//corners of box</span></div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  BLOBNBOX_IT blob_it; <span class="comment">//blob iterator</span></div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span> </div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="comment">//get no of chops</span></div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  blobcount = (<a class="code" href="a00524.html#a8d41499d38c24d39b221ab0c158fe5a8">inT16</a>) floor (box.<a class="code" href="a02713.html#aa51d4de109edfcba0508ce301da67031">width</a> () / xheight);</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordflow">if</span> (blobcount > 1 && cblob_ptr != NULL) {</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="comment">//width of each</span></div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  blobwidth = (float) (box.<a class="code" href="a02713.html#aa51d4de109edfcba0508ce301da67031">width</a> () + 1) / blobcount;</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keywordflow">for</span> (blobindex = blobcount - 1, rightx = box.<a class="code" href="a02713.html#a54de49d8654e35d5221c7cdc20e2662f">right</a> ();</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  blobindex >= 0; blobindex--, rightx -= blobwidth) {</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  ymin = (float) <a class="code" href="a00524.html#aac62d87844689a18b6f5339a89ed6e7f">MAX_INT32</a>;</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  ymax = (float) -<a class="code" href="a00524.html#aac62d87844689a18b6f5339a89ed6e7f">MAX_INT32</a>;</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  blob_it = *start_it;</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keywordflow">do</span> {</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  blob = blob_it.data ();</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <a class="code" href="a00206.html#a57197f6f9deea830c41b3af8c9b8abb5">find_cblob_vlimits</a>(blob->cblob_ptr, rightx - blobwidth,</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  rightx,</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="comment">/*rotation, */</span> test_ymin, test_ymax);</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  blob_it.forward ();</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <a class="code" href="a00521.html#a6eb00eb9bc5ed195953f334971c462ae">UpdateRange</a>(test_ymin, test_ymax, &ymin, &ymax);</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  }</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keywordflow">while</span> (blob != end_it->data ());</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keywordflow">if</span> (ymin < ymax) {</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  leftx = (<a class="code" href="a00524.html#a8d41499d38c24d39b221ab0c158fe5a8">inT16</a>) floor (rightx - blobwidth);</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="keywordflow">if</span> (leftx < box.<a class="code" href="a02713.html#affd18574697b2b707cee416f7cdccb1f">left</a> ())</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  leftx = box.<a class="code" href="a02713.html#affd18574697b2b707cee416f7cdccb1f">left</a> (); <span class="comment">//clip to real box</span></div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  bl = <a class="code" href="a02673.html">ICOORD</a> (leftx, (<a class="code" href="a00524.html#a8d41499d38c24d39b221ab0c158fe5a8">inT16</a>) floor (ymin));</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  tr = <a class="code" href="a02673.html">ICOORD</a> ((<a class="code" href="a00524.html#a8d41499d38c24d39b221ab0c158fe5a8">inT16</a>) ceil (rightx), (<a class="code" href="a00524.html#a8d41499d38c24d39b221ab0c158fe5a8">inT16</a>) ceil (ymax));</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="keywordflow">if</span> (blobindex == 0)</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  box = <a class="code" href="a02713.html">TBOX</a> (bl, tr); <span class="comment">//change box</span></div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keywordflow">else</span> {</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  newblob = <span class="keyword">new</span> <a class="code" href="a02481.html#a5bc9450ba27c245929b70bec357089f5">BLOBNBOX</a>;</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="comment">//box is all it has</span></div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  newblob->box = <a class="code" href="a02713.html">TBOX</a> (bl, tr);</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="comment">//stay on current</span></div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  newblob->base_char_top_ = tr.<a class="code" href="a02673.html#a89a73d28596830e7a72164f87fa5805d">y</a>();</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  newblob->base_char_bottom_ = bl.<a class="code" href="a02673.html#a89a73d28596830e7a72164f87fa5805d">y</a>();</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  end_it->add_after_stay_put (newblob);</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  }</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  }</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  }</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  }</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span> }</div><div class="ttc" id="a00521_html_a6eb00eb9bc5ed195953f334971c462ae"><div class="ttname"><a href="a00521.html#a6eb00eb9bc5ed195953f334971c462ae">UpdateRange</a></div><div class="ttdeci">void UpdateRange(const T1 &x, T2 *lower_bound, T2 *upper_bound)</div><div class="ttdef"><b>Definition:</b> <a href="a00521_source.html#l00125">helpers.h:125</a></div></div> <div class="ttc" id="a00524_html_a8d41499d38c24d39b221ab0c158fe5a8"><div class="ttname"><a href="a00524.html#a8d41499d38c24d39b221ab0c158fe5a8">inT16</a></div><div class="ttdeci">short inT16</div><div class="ttdef"><b>Definition:</b> <a href="a00524_source.html#l00033">host.h:33</a></div></div> <div class="ttc" id="a02673_html"><div class="ttname"><a href="a02673.html">ICOORD</a></div><div class="ttdoc">integer coordinate </div><div class="ttdef"><b>Definition:</b> <a href="a00356_source.html#l00030">points.h:30</a></div></div> <div class="ttc" id="a02713_html_aa51d4de109edfcba0508ce301da67031"><div class="ttname"><a href="a02713.html#aa51d4de109edfcba0508ce301da67031">TBOX::width</a></div><div class="ttdeci">inT16 width() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00111">rect.h:111</a></div></div> <div class="ttc" id="a02713_html_affd18574697b2b707cee416f7cdccb1f"><div class="ttname"><a href="a02713.html#affd18574697b2b707cee416f7cdccb1f">TBOX::left</a></div><div class="ttdeci">inT16 left() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00068">rect.h:68</a></div></div> <div class="ttc" id="a00524_html_aac62d87844689a18b6f5339a89ed6e7f"><div class="ttname"><a href="a00524.html#aac62d87844689a18b6f5339a89ed6e7f">MAX_INT32</a></div><div class="ttdeci">#define MAX_INT32</div><div class="ttdef"><b>Definition:</b> <a href="a00524_source.html#l00053">host.h:53</a></div></div> <div class="ttc" id="a02481_html"><div class="ttname"><a href="a02481.html">BLOBNBOX</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00128">blobbox.h:128</a></div></div> <div class="ttc" id="a02481_html_a5bc9450ba27c245929b70bec357089f5"><div class="ttname"><a href="a02481.html#a5bc9450ba27c245929b70bec357089f5">BLOBNBOX::BLOBNBOX</a></div><div class="ttdeci">BLOBNBOX()</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00131">blobbox.h:131</a></div></div> <div class="ttc" id="a00206_html_a57197f6f9deea830c41b3af8c9b8abb5"><div class="ttname"><a href="a00206.html#a57197f6f9deea830c41b3af8c9b8abb5">find_cblob_vlimits</a></div><div class="ttdeci">void find_cblob_vlimits(C_BLOB *blob, float leftx, float rightx, float &ymin, float &ymax)</div><div class="ttdef"><b>Definition:</b> <a href="a00206_source.html#l00534">blobbox.cpp:534</a></div></div> <div class="ttc" id="a02713_html"><div class="ttname"><a href="a02713.html">TBOX</a></div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00030">rect.h:30</a></div></div> <div class="ttc" id="a02713_html_a54de49d8654e35d5221c7cdc20e2662f"><div class="ttname"><a href="a02713.html#a54de49d8654e35d5221c7cdc20e2662f">TBOX::right</a></div><div class="ttdeci">inT16 right() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00075">rect.h:75</a></div></div> <div class="ttc" id="a02673_html_a89a73d28596830e7a72164f87fa5805d"><div class="ttname"><a href="a02673.html#a89a73d28596830e7a72164f87fa5805d">ICOORD::y</a></div><div class="ttdeci">inT16 y() const</div><div class="ttdoc">access_function </div><div class="ttdef"><b>Definition:</b> <a href="a00356_source.html#l00056">points.h:56</a></div></div> </div><!-- fragment --> </div> </div> <a id="ae27906ce7e33b0714e87ecda31dcc825"></a> <h2 class="memtitle"><span class="permalink"><a href="#ae27906ce7e33b0714e87ecda31dcc825">◆ </a></span>CleanNeighbours() <span class="overload">[1/2]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::CleanNeighbours </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00206_source.html#l00209">209</a> of file <a class="el" href="a00206_source.html">blobbox.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  {</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> dir = 0; dir < <a class="code" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883a0f3b81ac0cbf413ac18c6de98cd69921">BND_COUNT</a>; ++dir) {</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <a class="code" href="a02481.html">BLOBNBOX</a>* <a class="code" href="a02481.html#a018ff218c54fb4d12303543dce5cfc86">neighbour</a> = neighbours_[dir];</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <span class="keywordflow">if</span> (<a class="code" href="a02481.html#a018ff218c54fb4d12303543dce5cfc86">neighbour</a> != NULL && <a class="code" href="a02481.html#a018ff218c54fb4d12303543dce5cfc86">neighbour</a>-><a class="code" href="a02481.html#a6dd55688b560eeca69e6013dbdde20db">DeletableNoise</a>()) {</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  neighbours_[dir] = NULL;</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  good_stroke_neighbours_[dir] = <span class="keyword">false</span>;</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  }</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  }</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span> }</div><div class="ttc" id="a00209_html_a4974474b3b161b68355d9a16eeaa3883a0f3b81ac0cbf413ac18c6de98cd69921"><div class="ttname"><a href="a00209.html#a4974474b3b161b68355d9a16eeaa3883a0f3b81ac0cbf413ac18c6de98cd69921">BND_COUNT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00077">blobbox.h:77</a></div></div> <div class="ttc" id="a02481_html_a018ff218c54fb4d12303543dce5cfc86"><div class="ttname"><a href="a02481.html#a018ff218c54fb4d12303543dce5cfc86">BLOBNBOX::neighbour</a></div><div class="ttdeci">BLOBNBOX * neighbour(BlobNeighbourDir n) const</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00355">blobbox.h:355</a></div></div> <div class="ttc" id="a02481_html"><div class="ttname"><a href="a02481.html">BLOBNBOX</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00128">blobbox.h:128</a></div></div> <div class="ttc" id="a02481_html_a6dd55688b560eeca69e6013dbdde20db"><div class="ttname"><a href="a02481.html#a6dd55688b560eeca69e6013dbdde20db">BLOBNBOX::DeletableNoise</a></div><div class="ttdeci">bool DeletableNoise() const</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00188">blobbox.h:188</a></div></div> </div><!-- fragment --> </div> </div> <a id="a18b3026a08be5da3d4397b2622c8da5f"></a> <h2 class="memtitle"><span class="permalink"><a href="#a18b3026a08be5da3d4397b2622c8da5f">◆ </a></span>CleanNeighbours() <span class="overload">[2/2]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::CleanNeighbours </td> <td>(</td> <td class="paramtype">BLOBNBOX_LIST * </td> <td class="paramname"><em>blobs</em></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 class="definition">Definition at line <a class="el" href="a00206_source.html#l00359">359</a> of file <a class="el" href="a00206_source.html">blobbox.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  {</div><div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  BLOBNBOX_IT blob_it(blobs);</div><div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  <span class="keywordflow">for</span> (blob_it.mark_cycle_pt(); !blob_it.cycled_list(); blob_it.forward()) {</div><div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  blob_it.data()->CleanNeighbours();</div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  }</div><div class="line"><a name="l00364"></a><span class="lineno"> 364</span> }</div></div><!-- fragment --> </div> </div> <a id="acdf3cc39226f3378516956b0e33fa533"></a> <h2 class="memtitle"><span class="permalink"><a href="#acdf3cc39226f3378516956b0e33fa533">◆ </a></span>ClearNeighbours()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::ClearNeighbours </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00494">494</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00494"></a><span class="lineno"> 494</span>  {</div><div class="line"><a name="l00495"></a><span class="lineno"> 495</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> n = 0; n < <a class="code" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883a0f3b81ac0cbf413ac18c6de98cd69921">BND_COUNT</a>; ++n) {</div><div class="line"><a name="l00496"></a><span class="lineno"> 496</span>  neighbours_[n] = NULL;</div><div class="line"><a name="l00497"></a><span class="lineno"> 497</span>  good_stroke_neighbours_[n] = <span class="keyword">false</span>;</div><div class="line"><a name="l00498"></a><span class="lineno"> 498</span>  }</div><div class="line"><a name="l00499"></a><span class="lineno"> 499</span>  }</div><div class="ttc" id="a00209_html_a4974474b3b161b68355d9a16eeaa3883a0f3b81ac0cbf413ac18c6de98cd69921"><div class="ttname"><a href="a00209.html#a4974474b3b161b68355d9a16eeaa3883a0f3b81ac0cbf413ac18c6de98cd69921">BND_COUNT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00077">blobbox.h:77</a></div></div> </div><!-- fragment --> </div> </div> <a id="a32d07b97c559e7f7f7c58323491aedec"></a> <h2 class="memtitle"><span class="permalink"><a href="#a32d07b97c559e7f7f7c58323491aedec">◆ </a></span>compute_bounding_box()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::compute_bounding_box </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00225">225</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  {</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  box = cblob_ptr-><a class="code" href="a02737.html#a50bd7e9c66492bebdba6aadcc806bf93">bounding_box</a>();</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  base_char_top_ = box.<a class="code" href="a02713.html#ac5ecdfbd33963eac601ccb67ac63dd2a">top</a>();</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  base_char_bottom_ = box.<a class="code" href="a02713.html#ae20440e936439218b9dfe267b8a37b4a">bottom</a>();</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  baseline_y_ = box.<a class="code" href="a02713.html#ae20440e936439218b9dfe267b8a37b4a">bottom</a>();</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  }</div><div class="ttc" id="a02737_html_a50bd7e9c66492bebdba6aadcc806bf93"><div class="ttname"><a href="a02737.html#a50bd7e9c66492bebdba6aadcc806bf93">C_BLOB::bounding_box</a></div><div class="ttdeci">TBOX bounding_box() const</div><div class="ttdef"><b>Definition:</b> <a href="a00428_source.html#l00250">stepblob.cpp:250</a></div></div> <div class="ttc" id="a02713_html_ae20440e936439218b9dfe267b8a37b4a"><div class="ttname"><a href="a02713.html#ae20440e936439218b9dfe267b8a37b4a">TBOX::bottom</a></div><div class="ttdeci">inT16 bottom() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00061">rect.h:61</a></div></div> <div class="ttc" id="a02713_html_ac5ecdfbd33963eac601ccb67ac63dd2a"><div class="ttname"><a href="a02713.html#ac5ecdfbd33963eac601ccb67ac63dd2a">TBOX::top</a></div><div class="ttdeci">inT16 top() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00054">rect.h:54</a></div></div> </div><!-- fragment --> </div> </div> <a id="a2fef3467cbba29dd3d2e11a589025922"></a> <h2 class="memtitle"><span class="permalink"><a href="#a2fef3467cbba29dd3d2e11a589025922">◆ </a></span>ComputeEdgeOffsets()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::ComputeEdgeOffsets </td> <td>(</td> <td class="paramtype">Pix * </td> <td class="paramname"><em>thresholds</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">Pix * </td> <td class="paramname"><em>grey</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">BLOBNBOX_LIST * </td> <td class="paramname"><em>blobs</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 class="definition">Definition at line <a class="el" href="a00206_source.html#l00380">380</a> of file <a class="el" href="a00206_source.html">blobbox.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  {</div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  <span class="keywordtype">int</span> grey_height = 0;</div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  <span class="keywordtype">int</span> thr_height = 0;</div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  <span class="keywordtype">int</span> scale_factor = 1;</div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  <span class="keywordflow">if</span> (thresholds != NULL && grey != NULL) {</div><div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  grey_height = pixGetHeight(grey);</div><div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  thr_height = pixGetHeight(thresholds);</div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  scale_factor =</div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  <a class="code" href="a00521.html#ab60e4f82956a1f5fdb54d0d8303e95b7">IntCastRounded</a>(static_cast<double>(grey_height) / thr_height);</div><div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  }</div><div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  BLOBNBOX_IT blob_it(blobs);</div><div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  <span class="keywordflow">for</span> (blob_it.mark_cycle_pt(); !blob_it.cycled_list(); blob_it.forward()) {</div><div class="line"><a name="l00393"></a><span class="lineno"> 393</span>  <a class="code" href="a02481.html">BLOBNBOX</a>* blob = blob_it.data();</div><div class="line"><a name="l00394"></a><span class="lineno"> 394</span>  <span class="keywordflow">if</span> (blob-><a class="code" href="a02481.html#a5d497fdc454feff733889db8fe604868">cblob</a>() != NULL) {</div><div class="line"><a name="l00395"></a><span class="lineno"> 395</span>  <span class="comment">// Get the threshold that applies to this blob.</span></div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span>  l_uint32 threshold = 128;</div><div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  <span class="keywordflow">if</span> (thresholds != NULL && grey != NULL) {</div><div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  <span class="keyword">const</span> <a class="code" href="a02713.html">TBOX</a>& box = blob-><a class="code" href="a02481.html#a5d497fdc454feff733889db8fe604868">cblob</a>()-><a class="code" href="a02737.html#a50bd7e9c66492bebdba6aadcc806bf93">bounding_box</a>();</div><div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  <span class="comment">// Transform the coordinates if required.</span></div><div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  <a class="code" href="a02493.html">TPOINT</a> pt((box.<a class="code" href="a02713.html#affd18574697b2b707cee416f7cdccb1f">left</a>() + box.<a class="code" href="a02713.html#a54de49d8654e35d5221c7cdc20e2662f">right</a>()) / 2,</div><div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  (box.<a class="code" href="a02713.html#ac5ecdfbd33963eac601ccb67ac63dd2a">top</a>() + box.<a class="code" href="a02713.html#ae20440e936439218b9dfe267b8a37b4a">bottom</a>()) / 2);</div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  pixGetPixel(thresholds, pt.x / scale_factor,</div><div class="line"><a name="l00403"></a><span class="lineno"> 403</span>  thr_height - 1 - pt.y / scale_factor, &threshold);</div><div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  }</div><div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  blob-><a class="code" href="a02481.html#a5d497fdc454feff733889db8fe604868">cblob</a>()-><a class="code" href="a02737.html#a895eeaddab8c0d38f0256ff52b79fda0">ComputeEdgeOffsets</a>(threshold, grey);</div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span>  }</div><div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  }</div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span> }</div><div class="ttc" id="a00521_html_ab60e4f82956a1f5fdb54d0d8303e95b7"><div class="ttname"><a href="a00521.html#ab60e4f82956a1f5fdb54d0d8303e95b7">IntCastRounded</a></div><div class="ttdeci">int IntCastRounded(double x)</div><div class="ttdef"><b>Definition:</b> <a href="a00521_source.html#l00172">helpers.h:172</a></div></div> <div class="ttc" id="a02481_html_a5d497fdc454feff733889db8fe604868"><div class="ttname"><a href="a02481.html#a5d497fdc454feff733889db8fe604868">BLOBNBOX::cblob</a></div><div class="ttdeci">C_BLOB * cblob() const</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00253">blobbox.h:253</a></div></div> <div class="ttc" id="a02493_html"><div class="ttname"><a href="a02493.html">TPOINT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00215_source.html#l00050">blobs.h:50</a></div></div> <div class="ttc" id="a02737_html_a50bd7e9c66492bebdba6aadcc806bf93"><div class="ttname"><a href="a02737.html#a50bd7e9c66492bebdba6aadcc806bf93">C_BLOB::bounding_box</a></div><div class="ttdeci">TBOX bounding_box() const</div><div class="ttdef"><b>Definition:</b> <a href="a00428_source.html#l00250">stepblob.cpp:250</a></div></div> <div class="ttc" id="a02737_html_a895eeaddab8c0d38f0256ff52b79fda0"><div class="ttname"><a href="a02737.html#a895eeaddab8c0d38f0256ff52b79fda0">C_BLOB::ComputeEdgeOffsets</a></div><div class="ttdeci">void ComputeEdgeOffsets(int threshold, Pix *pix)</div><div class="ttdef"><b>Definition:</b> <a href="a00428_source.html#l00409">stepblob.cpp:409</a></div></div> <div class="ttc" id="a02713_html_ae20440e936439218b9dfe267b8a37b4a"><div class="ttname"><a href="a02713.html#ae20440e936439218b9dfe267b8a37b4a">TBOX::bottom</a></div><div class="ttdeci">inT16 bottom() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00061">rect.h:61</a></div></div> <div class="ttc" id="a02713_html_affd18574697b2b707cee416f7cdccb1f"><div class="ttname"><a href="a02713.html#affd18574697b2b707cee416f7cdccb1f">TBOX::left</a></div><div class="ttdeci">inT16 left() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00068">rect.h:68</a></div></div> <div class="ttc" id="a02481_html"><div class="ttname"><a href="a02481.html">BLOBNBOX</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00128">blobbox.h:128</a></div></div> <div class="ttc" id="a02713_html_ac5ecdfbd33963eac601ccb67ac63dd2a"><div class="ttname"><a href="a02713.html#ac5ecdfbd33963eac601ccb67ac63dd2a">TBOX::top</a></div><div class="ttdeci">inT16 top() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00054">rect.h:54</a></div></div> <div class="ttc" id="a02713_html"><div class="ttname"><a href="a02713.html">TBOX</a></div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00030">rect.h:30</a></div></div> <div class="ttc" id="a02713_html_a54de49d8654e35d5221c7cdc20e2662f"><div class="ttname"><a href="a02713.html#a54de49d8654e35d5221c7cdc20e2662f">TBOX::right</a></div><div class="ttdeci">inT16 right() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00075">rect.h:75</a></div></div> </div><!-- fragment --> </div> </div> <a id="a28115236d75684608cd9a69e08e87c71"></a> <h2 class="memtitle"><span class="permalink"><a href="#a28115236d75684608cd9a69e08e87c71">◆ </a></span>ConfirmNoTabViolation()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool BLOBNBOX::ConfirmNoTabViolation </td> <td>(</td> <td class="paramtype">const <a class="el" href="a02481.html">BLOBNBOX</a> & </td> <td class="paramname"><em>other</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00206_source.html#l00287">287</a> of file <a class="el" href="a00206_source.html">blobbox.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  {</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <span class="keywordflow">if</span> (box.<a class="code" href="a02713.html#affd18574697b2b707cee416f7cdccb1f">left</a>() < other.box.<a class="code" href="a02713.html#affd18574697b2b707cee416f7cdccb1f">left</a>() && box.<a class="code" href="a02713.html#affd18574697b2b707cee416f7cdccb1f">left</a>() < other.left_rule_)</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <span class="keywordflow">if</span> (other.box.<a class="code" href="a02713.html#affd18574697b2b707cee416f7cdccb1f">left</a>() < box.<a class="code" href="a02713.html#affd18574697b2b707cee416f7cdccb1f">left</a>() && other.box.<a class="code" href="a02713.html#affd18574697b2b707cee416f7cdccb1f">left</a>() < left_rule_)</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <span class="keywordflow">if</span> (box.<a class="code" href="a02713.html#a54de49d8654e35d5221c7cdc20e2662f">right</a>() > other.box.<a class="code" href="a02713.html#a54de49d8654e35d5221c7cdc20e2662f">right</a>() && box.<a class="code" href="a02713.html#a54de49d8654e35d5221c7cdc20e2662f">right</a>() > other.right_rule_)</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  <span class="keywordflow">if</span> (other.box.<a class="code" href="a02713.html#a54de49d8654e35d5221c7cdc20e2662f">right</a>() > box.<a class="code" href="a02713.html#a54de49d8654e35d5221c7cdc20e2662f">right</a>() && other.box.<a class="code" href="a02713.html#a54de49d8654e35d5221c7cdc20e2662f">right</a>() > right_rule_)</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span> }</div><div class="ttc" id="a02713_html_affd18574697b2b707cee416f7cdccb1f"><div class="ttname"><a href="a02713.html#affd18574697b2b707cee416f7cdccb1f">TBOX::left</a></div><div class="ttdeci">inT16 left() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00068">rect.h:68</a></div></div> <div class="ttc" id="a02713_html_a54de49d8654e35d5221c7cdc20e2662f"><div class="ttname"><a href="a02713.html#a54de49d8654e35d5221c7cdc20e2662f">TBOX::right</a></div><div class="ttdeci">inT16 right() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00075">rect.h:75</a></div></div> </div><!-- fragment --> </div> </div> <a id="acc9406df0e800aaf5721a6a1127629f4"></a> <h2 class="memtitle"><span class="permalink"><a href="#acc9406df0e800aaf5721a6a1127629f4">◆ </a></span>ConstructionInit()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::ConstructionInit </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00455">455</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00455"></a><span class="lineno"> 455</span>  {</div><div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  cblob_ptr = NULL;</div><div class="line"><a name="l00457"></a><span class="lineno"> 457</span>  owns_cblob_ = <span class="keyword">false</span>;</div><div class="line"><a name="l00458"></a><span class="lineno"> 458</span>  area = 0;</div><div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  area_stroke_width_ = 0.0f;</div><div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  horz_stroke_width_ = 0.0f;</div><div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  vert_stroke_width_ = 0.0f;</div><div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  <a class="code" href="a02481.html#a582c976fe68be6127b2ce4e54e5e7181">ReInit</a>();</div><div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  }</div><div class="ttc" id="a02481_html_a582c976fe68be6127b2ce4e54e5e7181"><div class="ttname"><a href="a02481.html#a582c976fe68be6127b2ce4e54e5e7181">BLOBNBOX::ReInit</a></div><div class="ttdeci">void ReInit()</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00466">blobbox.h:466</a></div></div> </div><!-- fragment --> </div> </div> <a id="a151439eae2683e30695bbf567df04982"></a> <h2 class="memtitle"><span class="permalink"><a href="#a151439eae2683e30695bbf567df04982">◆ </a></span>DefiniteIndividualFlow()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool BLOBNBOX::DefiniteIndividualFlow </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00206_source.html#l00247">247</a> of file <a class="el" href="a00206_source.html">blobbox.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  {</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <span class="keywordflow">if</span> (<a class="code" href="a02481.html#a5d497fdc454feff733889db8fe604868">cblob</a>() == NULL) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  <span class="keywordtype">int</span> box_perimeter = 2 * (box.<a class="code" href="a02713.html#a394f08490216767215b7d6aea0c35270">height</a>() + box.<a class="code" href="a02713.html#aa51d4de109edfcba0508ce301da67031">width</a>());</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <span class="keywordflow">if</span> (box.<a class="code" href="a02713.html#aa51d4de109edfcba0508ce301da67031">width</a>() > box.<a class="code" href="a02713.html#a394f08490216767215b7d6aea0c35270">height</a>() * <a class="code" href="a00206.html#a43aa9cc9ddb58444cde748b228acf281">kDefiniteAspectRatio</a>) {</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <span class="comment">// Attempt to distinguish a wide joined word from a dash.</span></div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="comment">// If it is a dash, then its perimeter is approximately</span></div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  <span class="comment">// 2 * (box width + stroke width), but more if the outline is noisy,</span></div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="comment">// so perimeter - 2*(box width + stroke width) should be close to zero.</span></div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <span class="comment">// A complex shape such as a joined word should have a much larger value.</span></div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  <span class="keywordtype">int</span> perimeter = <a class="code" href="a02481.html#a5d497fdc454feff733889db8fe604868">cblob</a>()-><a class="code" href="a02737.html#a7bb48c42dd0ab06ebc1d1bd4936e6252">perimeter</a>();</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  <span class="keywordflow">if</span> (<a class="code" href="a02481.html#a29b3a792e974cc53f5d52fc95ee5463a">vert_stroke_width</a>() > 0 || perimeter <= 0)</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  perimeter -= 2 * <a class="code" href="a02481.html#a29b3a792e974cc53f5d52fc95ee5463a">vert_stroke_width</a>();</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  <span class="keywordflow">else</span></div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  perimeter -= 4 * <a class="code" href="a02481.html#a5d497fdc454feff733889db8fe604868">cblob</a>()-><a class="code" href="a02737.html#af8d6cc72e454c97c5e14d7ccd12925e3">area</a>() / perimeter;</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  perimeter -= 2 * box.<a class="code" href="a02713.html#aa51d4de109edfcba0508ce301da67031">width</a>();</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <span class="comment">// Use a multiple of the box perimeter as a threshold.</span></div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  <span class="keywordflow">if</span> (perimeter > <a class="code" href="a00206.html#aeb2725c521f482e88ed755f1323c192b">kComplexShapePerimeterRatio</a> * box_perimeter) {</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  <a class="code" href="a02481.html#a500153b288f379ebabbeaa18a7005d04">set_vert_possible</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <a class="code" href="a02481.html#a49a43bb4c47b434aa36ad79ea53a0485">set_horz_possible</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  }</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  }</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <span class="keywordflow">if</span> (box.<a class="code" href="a02713.html#a394f08490216767215b7d6aea0c35270">height</a>() > box.<a class="code" href="a02713.html#aa51d4de109edfcba0508ce301da67031">width</a>() * <a class="code" href="a00206.html#a43aa9cc9ddb58444cde748b228acf281">kDefiniteAspectRatio</a>) {</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="comment">// As above, but for a putative vertical word vs a I/1/l.</span></div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  <span class="keywordtype">int</span> perimeter = <a class="code" href="a02481.html#a5d497fdc454feff733889db8fe604868">cblob</a>()-><a class="code" href="a02737.html#a7bb48c42dd0ab06ebc1d1bd4936e6252">perimeter</a>();</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  <span class="keywordflow">if</span> (<a class="code" href="a02481.html#a2dcb3058d8f5649337367ad537030730">horz_stroke_width</a>() > 0 || perimeter <= 0)</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  perimeter -= 2 * <a class="code" href="a02481.html#a2dcb3058d8f5649337367ad537030730">horz_stroke_width</a>();</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <span class="keywordflow">else</span></div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  perimeter -= 4 * <a class="code" href="a02481.html#a5d497fdc454feff733889db8fe604868">cblob</a>()-><a class="code" href="a02737.html#af8d6cc72e454c97c5e14d7ccd12925e3">area</a>() / perimeter;</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  perimeter -= 2 * box.<a class="code" href="a02713.html#a394f08490216767215b7d6aea0c35270">height</a>();</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <span class="keywordflow">if</span> (perimeter > <a class="code" href="a00206.html#aeb2725c521f482e88ed755f1323c192b">kComplexShapePerimeterRatio</a> * box_perimeter) {</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  <a class="code" href="a02481.html#a500153b288f379ebabbeaa18a7005d04">set_vert_possible</a>(<span class="keyword">true</span>);</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <a class="code" href="a02481.html#a49a43bb4c47b434aa36ad79ea53a0485">set_horz_possible</a>(<span class="keyword">false</span>);</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  }</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  }</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span> }</div><div class="ttc" id="a02481_html_a5d497fdc454feff733889db8fe604868"><div class="ttname"><a href="a02481.html#a5d497fdc454feff733889db8fe604868">BLOBNBOX::cblob</a></div><div class="ttdeci">C_BLOB * cblob() const</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00253">blobbox.h:253</a></div></div> <div class="ttc" id="a02713_html_aa51d4de109edfcba0508ce301da67031"><div class="ttname"><a href="a02713.html#aa51d4de109edfcba0508ce301da67031">TBOX::width</a></div><div class="ttdeci">inT16 width() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00111">rect.h:111</a></div></div> <div class="ttc" id="a00206_html_aeb2725c521f482e88ed755f1323c192b"><div class="ttname"><a href="a00206.html#aeb2725c521f482e88ed755f1323c192b">kComplexShapePerimeterRatio</a></div><div class="ttdeci">const double kComplexShapePerimeterRatio</div><div class="ttdef"><b>Definition:</b> <a href="a00206_source.html#l00043">blobbox.cpp:43</a></div></div> <div class="ttc" id="a02481_html_a500153b288f379ebabbeaa18a7005d04"><div class="ttname"><a href="a02481.html#a500153b288f379ebabbeaa18a7005d04">BLOBNBOX::set_vert_possible</a></div><div class="ttdeci">void set_vert_possible(bool value)</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00289">blobbox.h:289</a></div></div> <div class="ttc" id="a02737_html_a7bb48c42dd0ab06ebc1d1bd4936e6252"><div class="ttname"><a href="a02737.html#a7bb48c42dd0ab06ebc1d1bd4936e6252">C_BLOB::perimeter</a></div><div class="ttdeci">inT32 perimeter()</div><div class="ttdef"><b>Definition:</b> <a href="a00428_source.html#l00289">stepblob.cpp:289</a></div></div> <div class="ttc" id="a02481_html_a49a43bb4c47b434aa36ad79ea53a0485"><div class="ttname"><a href="a02481.html#a49a43bb4c47b434aa36ad79ea53a0485">BLOBNBOX::set_horz_possible</a></div><div class="ttdeci">void set_horz_possible(bool value)</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00295">blobbox.h:295</a></div></div> <div class="ttc" id="a00206_html_a43aa9cc9ddb58444cde748b228acf281"><div class="ttname"><a href="a00206.html#a43aa9cc9ddb58444cde748b228acf281">kDefiniteAspectRatio</a></div><div class="ttdeci">const double kDefiniteAspectRatio</div><div class="ttdef"><b>Definition:</b> <a href="a00206_source.html#l00041">blobbox.cpp:41</a></div></div> <div class="ttc" id="a02737_html_af8d6cc72e454c97c5e14d7ccd12925e3"><div class="ttname"><a href="a02737.html#af8d6cc72e454c97c5e14d7ccd12925e3">C_BLOB::area</a></div><div class="ttdeci">inT32 area()</div><div class="ttdef"><b>Definition:</b> <a href="a00428_source.html#l00270">stepblob.cpp:270</a></div></div> <div class="ttc" id="a02713_html_a394f08490216767215b7d6aea0c35270"><div class="ttname"><a href="a02713.html#a394f08490216767215b7d6aea0c35270">TBOX::height</a></div><div class="ttdeci">inT16 height() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00104">rect.h:104</a></div></div> <div class="ttc" id="a02481_html_a2dcb3058d8f5649337367ad537030730"><div class="ttname"><a href="a02481.html#a2dcb3058d8f5649337367ad537030730">BLOBNBOX::horz_stroke_width</a></div><div class="ttdeci">float horz_stroke_width() const</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00322">blobbox.h:322</a></div></div> <div class="ttc" id="a02481_html_a29b3a792e974cc53f5d52fc95ee5463a"><div class="ttname"><a href="a02481.html#a29b3a792e974cc53f5d52fc95ee5463a">BLOBNBOX::vert_stroke_width</a></div><div class="ttdeci">float vert_stroke_width() const</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00328">blobbox.h:328</a></div></div> </div><!-- fragment --> </div> </div> <a id="a6dd55688b560eeca69e6013dbdde20db"></a> <h2 class="memtitle"><span class="permalink"><a href="#a6dd55688b560eeca69e6013dbdde20db">◆ </a></span>DeletableNoise()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool BLOBNBOX::DeletableNoise </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00188">188</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  {</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="keywordflow">return</span> <a class="code" href="a02481.html#a9be9de4f597e581caf28071aa5ef52fe">owner</a>() == NULL && <a class="code" href="a02481.html#a3dc754fce829ae3287ad782cc567ff7e">region_type</a>() == <a class="code" href="a00209.html#aebfaf711760a99b60c297d1d619df575ae09c6f7e99c3a3885c3469d52d0292d2">BRT_NOISE</a>;</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  }</div><div class="ttc" id="a02481_html_a9be9de4f597e581caf28071aa5ef52fe"><div class="ttname"><a href="a02481.html#a9be9de4f597e581caf28071aa5ef52fe">BLOBNBOX::owner</a></div><div class="ttdeci">tesseract::ColPartition * owner() const</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00337">blobbox.h:337</a></div></div> <div class="ttc" id="a00209_html_aebfaf711760a99b60c297d1d619df575ae09c6f7e99c3a3885c3469d52d0292d2"><div class="ttname"><a href="a00209.html#aebfaf711760a99b60c297d1d619df575ae09c6f7e99c3a3885c3469d52d0292d2">BRT_NOISE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00058">blobbox.h:58</a></div></div> <div class="ttc" id="a02481_html_a3dc754fce829ae3287ad782cc567ff7e"><div class="ttname"><a href="a02481.html#a3dc754fce829ae3287ad782cc567ff7e">BLOBNBOX::region_type</a></div><div class="ttdeci">BlobRegionType region_type() const</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00268">blobbox.h:268</a></div></div> </div><!-- fragment --> </div> </div> <a id="a08e197e85c158f4bb9cbe388b980598e"></a> <h2 class="memtitle"><span class="permalink"><a href="#a08e197e85c158f4bb9cbe388b980598e">◆ </a></span>DeleteNoiseBlobs()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::DeleteNoiseBlobs </td> <td>(</td> <td class="paramtype">BLOBNBOX_LIST * </td> <td class="paramname"><em>blobs</em></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 class="definition">Definition at line <a class="el" href="a00206_source.html#l00367">367</a> of file <a class="el" href="a00206_source.html">blobbox.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  {</div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  BLOBNBOX_IT blob_it(blobs);</div><div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  <span class="keywordflow">for</span> (blob_it.mark_cycle_pt(); !blob_it.cycled_list(); blob_it.forward()) {</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  <a class="code" href="a02481.html">BLOBNBOX</a>* blob = blob_it.data();</div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  <span class="keywordflow">if</span> (blob-><a class="code" href="a02481.html#a6dd55688b560eeca69e6013dbdde20db">DeletableNoise</a>()) {</div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  <span class="keyword">delete</span> blob-><a class="code" href="a02481.html#a5d497fdc454feff733889db8fe604868">cblob</a>();</div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  <span class="keyword">delete</span> blob_it.extract();</div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  }</div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  }</div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span> }</div><div class="ttc" id="a02481_html_a5d497fdc454feff733889db8fe604868"><div class="ttname"><a href="a02481.html#a5d497fdc454feff733889db8fe604868">BLOBNBOX::cblob</a></div><div class="ttdeci">C_BLOB * cblob() const</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00253">blobbox.h:253</a></div></div> <div class="ttc" id="a02481_html"><div class="ttname"><a href="a02481.html">BLOBNBOX</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00128">blobbox.h:128</a></div></div> <div class="ttc" id="a02481_html_a6dd55688b560eeca69e6013dbdde20db"><div class="ttname"><a href="a02481.html#a6dd55688b560eeca69e6013dbdde20db">BLOBNBOX::DeletableNoise</a></div><div class="ttdeci">bool DeletableNoise() const</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00188">blobbox.h:188</a></div></div> </div><!-- fragment --> </div> </div> <a id="a8faad72181c3aa9768072b5896060284"></a> <h2 class="memtitle"><span class="permalink"><a href="#a8faad72181c3aa9768072b5896060284">◆ </a></span>enclosed_area()</h2> <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="a00524.html#aba1f582fd0168f3ff9225d8c90fa9eb8">inT32</a> BLOBNBOX::enclosed_area </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00238">238</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  {</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <span class="keywordflow">return</span> area;</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  }</div></div><!-- fragment --> </div> </div> <a id="a4ed2225c09f0ffbf08cb45ef6dbb40b4"></a> <h2 class="memtitle"><span class="permalink"><a href="#a4ed2225c09f0ffbf08cb45ef6dbb40b4">◆ </a></span>EstimateBaselinePosition()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::EstimateBaselinePosition </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00206_source.html#l00352">352</a> of file <a class="el" href="a00206_source.html">blobbox.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  {</div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  baseline_y_ = box.<a class="code" href="a02713.html#ae20440e936439218b9dfe267b8a37b4a">bottom</a>(); <span class="comment">// The default.</span></div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  <span class="keywordflow">if</span> (cblob_ptr == NULL) <span class="keywordflow">return</span>;</div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  baseline_y_ = cblob_ptr-><a class="code" href="a02737.html#aac46250181e5896961d98fd16c287242">EstimateBaselinePosition</a>();</div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span> }</div><div class="ttc" id="a02737_html_aac46250181e5896961d98fd16c287242"><div class="ttname"><a href="a02737.html#aac46250181e5896961d98fd16c287242">C_BLOB::EstimateBaselinePosition</a></div><div class="ttdeci">inT16 EstimateBaselinePosition()</div><div class="ttdef"><b>Definition:</b> <a href="a00428_source.html#l00427">stepblob.cpp:427</a></div></div> <div class="ttc" id="a02713_html_ae20440e936439218b9dfe267b8a37b4a"><div class="ttname"><a href="a02713.html#ae20440e936439218b9dfe267b8a37b4a">TBOX::bottom</a></div><div class="ttdeci">inT16 bottom() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00061">rect.h:61</a></div></div> </div><!-- fragment --> </div> </div> <a id="ac5e0fa9b0b9c23c040d6b1e0c61120cc"></a> <h2 class="memtitle"><span class="permalink"><a href="#ac5e0fa9b0b9c23c040d6b1e0c61120cc">◆ </a></span>flow()</h2> <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="a00209.html#aa72f1499398e9694bf46752e1cc895e1">BlobTextFlowType</a> BLOBNBOX::flow </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00280">280</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  {</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <span class="keywordflow">return</span> flow_;</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  }</div></div><!-- fragment --> </div> </div> <a id="a0d517d3a2ab497690682583359c8754e"></a> <h2 class="memtitle"><span class="permalink"><a href="#a0d517d3a2ab497690682583359c8754e">◆ </a></span>good_stroke_neighbour()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool BLOBNBOX::good_stroke_neighbour </td> <td>(</td> <td class="paramtype"><a class="el" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883">BlobNeighbourDir</a> </td> <td class="paramname"><em>n</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00358">358</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  {</div><div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  <span class="keywordflow">return</span> good_stroke_neighbours_[n];</div><div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  }</div></div><!-- fragment --> </div> </div> <a id="ab80398a2eba6ba82216b27279fee64ad"></a> <h2 class="memtitle"><span class="permalink"><a href="#ab80398a2eba6ba82216b27279fee64ad">◆ </a></span>GoodTextBlob()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int BLOBNBOX::GoodTextBlob </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00206_source.html#l00221">221</a> of file <a class="el" href="a00206_source.html">blobbox.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  {</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="keywordtype">int</span> score = 0;</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> dir = 0; dir < <a class="code" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883a0f3b81ac0cbf413ac18c6de98cd69921">BND_COUNT</a>; ++dir) {</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <a class="code" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883">BlobNeighbourDir</a> bnd = <span class="keyword">static_cast<</span><a class="code" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883">BlobNeighbourDir</a><span class="keyword">></span>(dir);</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="keywordflow">if</span> (<a class="code" href="a02481.html#a0d517d3a2ab497690682583359c8754e">good_stroke_neighbour</a>(bnd))</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  ++score;</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  }</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <span class="keywordflow">return</span> score;</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span> }</div><div class="ttc" id="a00209_html_a4974474b3b161b68355d9a16eeaa3883a0f3b81ac0cbf413ac18c6de98cd69921"><div class="ttname"><a href="a00209.html#a4974474b3b161b68355d9a16eeaa3883a0f3b81ac0cbf413ac18c6de98cd69921">BND_COUNT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00077">blobbox.h:77</a></div></div> <div class="ttc" id="a00209_html_a4974474b3b161b68355d9a16eeaa3883"><div class="ttname"><a href="a00209.html#a4974474b3b161b68355d9a16eeaa3883">BlobNeighbourDir</a></div><div class="ttdeci">BlobNeighbourDir</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00072">blobbox.h:72</a></div></div> <div class="ttc" id="a02481_html_a0d517d3a2ab497690682583359c8754e"><div class="ttname"><a href="a02481.html#a0d517d3a2ab497690682583359c8754e">BLOBNBOX::good_stroke_neighbour</a></div><div class="ttdeci">bool good_stroke_neighbour(BlobNeighbourDir n) const</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00358">blobbox.h:358</a></div></div> </div><!-- fragment --> </div> </div> <a id="adb4e46c1dfd948babef797af6621adf1"></a> <h2 class="memtitle"><span class="permalink"><a href="#adb4e46c1dfd948babef797af6621adf1">◆ </a></span>horz_possible()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool BLOBNBOX::horz_possible </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00292">292</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  {</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <span class="keywordflow">return</span> horz_possible_;</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  }</div></div><!-- fragment --> </div> </div> <a id="a2dcb3058d8f5649337367ad537030730"></a> <h2 class="memtitle"><span class="permalink"><a href="#a2dcb3058d8f5649337367ad537030730">◆ </a></span>horz_stroke_width()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">float BLOBNBOX::horz_stroke_width </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00322">322</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  {</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  <span class="keywordflow">return</span> horz_stroke_width_;</div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  }</div></div><!-- fragment --> </div> </div> <a id="a7b618cf09fe3a4c82f896fca88a0bc59"></a> <h2 class="memtitle"><span class="permalink"><a href="#a7b618cf09fe3a4c82f896fca88a0bc59">◆ </a></span>IsDiacritic()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool BLOBNBOX::IsDiacritic </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00365">365</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  {</div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  <span class="keywordflow">return</span> base_char_top_ != box.<a class="code" href="a02713.html#ac5ecdfbd33963eac601ccb67ac63dd2a">top</a>() || base_char_bottom_ != box.<a class="code" href="a02713.html#ae20440e936439218b9dfe267b8a37b4a">bottom</a>();</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  }</div><div class="ttc" id="a02713_html_ae20440e936439218b9dfe267b8a37b4a"><div class="ttname"><a href="a02713.html#ae20440e936439218b9dfe267b8a37b4a">TBOX::bottom</a></div><div class="ttdeci">inT16 bottom() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00061">rect.h:61</a></div></div> <div class="ttc" id="a02713_html_ac5ecdfbd33963eac601ccb67ac63dd2a"><div class="ttname"><a href="a02713.html#ac5ecdfbd33963eac601ccb67ac63dd2a">TBOX::top</a></div><div class="ttdeci">inT16 top() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00054">rect.h:54</a></div></div> </div><!-- fragment --> </div> </div> <a id="a12fed2b0c8e14c0145019f8f214e4262"></a> <h2 class="memtitle"><span class="permalink"><a href="#a12fed2b0c8e14c0145019f8f214e4262">◆ </a></span>IsImageType()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static bool BLOBNBOX::IsImageType </td> <td>(</td> <td class="paramtype"><a class="el" href="a00209.html#aebfaf711760a99b60c297d1d619df575">BlobRegionType</a> </td> <td class="paramname"><em>type</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00407">407</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  {</div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  <span class="keywordflow">return</span> type == <a class="code" href="a00209.html#aebfaf711760a99b60c297d1d619df575a15e526e8dd226bd4d7678da6dcddb49b">BRT_RECTIMAGE</a> || type == <a class="code" href="a00209.html#aebfaf711760a99b60c297d1d619df575a3b72528ad70da88719f0479bc8c5a190">BRT_POLYIMAGE</a>;</div><div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  }</div><div class="ttc" id="a00209_html_aebfaf711760a99b60c297d1d619df575a15e526e8dd226bd4d7678da6dcddb49b"><div class="ttname"><a href="a00209.html#aebfaf711760a99b60c297d1d619df575a15e526e8dd226bd4d7678da6dcddb49b">BRT_RECTIMAGE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00061">blobbox.h:61</a></div></div> <div class="ttc" id="a00209_html_aebfaf711760a99b60c297d1d619df575a3b72528ad70da88719f0479bc8c5a190"><div class="ttname"><a href="a00209.html#aebfaf711760a99b60c297d1d619df575a3b72528ad70da88719f0479bc8c5a190">BRT_POLYIMAGE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00062">blobbox.h:62</a></div></div> </div><!-- fragment --> </div> </div> <a id="a86decfe35457329f062098901d56015f"></a> <h2 class="memtitle"><span class="permalink"><a href="#a86decfe35457329f062098901d56015f">◆ </a></span>IsLineType()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static bool BLOBNBOX::IsLineType </td> <td>(</td> <td class="paramtype"><a class="el" href="a00209.html#aebfaf711760a99b60c297d1d619df575">BlobRegionType</a> </td> <td class="paramname"><em>type</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00411">411</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00411"></a><span class="lineno"> 411</span>  {</div><div class="line"><a name="l00412"></a><span class="lineno"> 412</span>  <span class="keywordflow">return</span> type == <a class="code" href="a00209.html#aebfaf711760a99b60c297d1d619df575a56cc149e97b34634dd39babda79ea17d">BRT_HLINE</a> || type == <a class="code" href="a00209.html#aebfaf711760a99b60c297d1d619df575a5d6cbdd0674e727feda3085026646f6a">BRT_VLINE</a>;</div><div class="line"><a name="l00413"></a><span class="lineno"> 413</span>  }</div><div class="ttc" id="a00209_html_aebfaf711760a99b60c297d1d619df575a56cc149e97b34634dd39babda79ea17d"><div class="ttname"><a href="a00209.html#aebfaf711760a99b60c297d1d619df575a56cc149e97b34634dd39babda79ea17d">BRT_HLINE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00059">blobbox.h:59</a></div></div> <div class="ttc" id="a00209_html_aebfaf711760a99b60c297d1d619df575a5d6cbdd0674e727feda3085026646f6a"><div class="ttname"><a href="a00209.html#aebfaf711760a99b60c297d1d619df575a5d6cbdd0674e727feda3085026646f6a">BRT_VLINE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00060">blobbox.h:60</a></div></div> </div><!-- fragment --> </div> </div> <a id="a07444bc838d7efe7c41f8b00913447ac"></a> <h2 class="memtitle"><span class="permalink"><a href="#a07444bc838d7efe7c41f8b00913447ac">◆ </a></span>IsTextType()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static bool BLOBNBOX::IsTextType </td> <td>(</td> <td class="paramtype"><a class="el" href="a00209.html#aebfaf711760a99b60c297d1d619df575">BlobRegionType</a> </td> <td class="paramname"><em>type</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00403">403</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00403"></a><span class="lineno"> 403</span>  {</div><div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  <span class="keywordflow">return</span> type == <a class="code" href="a00209.html#aebfaf711760a99b60c297d1d619df575a4f0b1431532d0e838187df32f2e822d7">BRT_TEXT</a> || type == <a class="code" href="a00209.html#aebfaf711760a99b60c297d1d619df575aea2da025a50db20db8213f96495dd4a6">BRT_VERT_TEXT</a>;</div><div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  }</div><div class="ttc" id="a00209_html_aebfaf711760a99b60c297d1d619df575a4f0b1431532d0e838187df32f2e822d7"><div class="ttname"><a href="a00209.html#aebfaf711760a99b60c297d1d619df575a4f0b1431532d0e838187df32f2e822d7">BRT_TEXT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00065">blobbox.h:65</a></div></div> <div class="ttc" id="a00209_html_aebfaf711760a99b60c297d1d619df575aea2da025a50db20db8213f96495dd4a6"><div class="ttname"><a href="a00209.html#aebfaf711760a99b60c297d1d619df575aea2da025a50db20db8213f96495dd4a6">BRT_VERT_TEXT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00064">blobbox.h:64</a></div></div> </div><!-- fragment --> </div> </div> <a id="ab8e7a33dc069de65fa4b6d0cab61d0c1"></a> <h2 class="memtitle"><span class="permalink"><a href="#ab8e7a33dc069de65fa4b6d0cab61d0c1">◆ </a></span>joined_to_prev()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool BLOBNBOX::joined_to_prev </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00241">241</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  {</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <span class="keywordflow">return</span> joined != 0;</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  }</div></div><!-- fragment --> </div> </div> <a id="a2a7488f821d5dc3f542d1215017bea02"></a> <h2 class="memtitle"><span class="permalink"><a href="#a2a7488f821d5dc3f542d1215017bea02">◆ </a></span>leader_on_left()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool BLOBNBOX::leader_on_left </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00343">343</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  {</div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  <span class="keywordflow">return</span> leader_on_left_;</div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  }</div></div><!-- fragment --> </div> </div> <a id="a119c505d3afc048a34728c63dba96060"></a> <h2 class="memtitle"><span class="permalink"><a href="#a119c505d3afc048a34728c63dba96060">◆ </a></span>leader_on_right()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool BLOBNBOX::leader_on_right </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00349">349</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  {</div><div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  <span class="keywordflow">return</span> leader_on_right_;</div><div class="line"><a name="l00351"></a><span class="lineno"> 351</span>  }</div></div><!-- fragment --> </div> </div> <a id="ab5ce92b8dd5b085f8b08f6e27360574a"></a> <h2 class="memtitle"><span class="permalink"><a href="#ab5ce92b8dd5b085f8b08f6e27360574a">◆ </a></span>left_crossing_rule()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int BLOBNBOX::left_crossing_rule </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00310">310</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  {</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="keywordflow">return</span> left_crossing_rule_;</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  }</div></div><!-- fragment --> </div> </div> <a id="a6671938fcce4a40c8daf96d8f911e353"></a> <h2 class="memtitle"><span class="permalink"><a href="#a6671938fcce4a40c8daf96d8f911e353">◆ </a></span>left_rule()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int BLOBNBOX::left_rule </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00298">298</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  {</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  <span class="keywordflow">return</span> left_rule_;</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  }</div></div><!-- fragment --> </div> </div> <a id="a61ad844b302cb2e436a318c0af791d6d"></a> <h2 class="memtitle"><span class="permalink"><a href="#a61ad844b302cb2e436a318c0af791d6d">◆ </a></span>left_tab_type()</h2> <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="a00209.html#a6d0b33e703e1291d0b60d4fe5a5e12cc">TabType</a> BLOBNBOX::left_tab_type </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00256">256</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  {</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  <span class="keywordflow">return</span> left_tab_type_;</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  }</div></div><!-- fragment --> </div> </div> <a id="a63e7860497894353891225f2fba362e0"></a> <h2 class="memtitle"><span class="permalink"><a href="#a63e7860497894353891225f2fba362e0">◆ </a></span>line_crossings()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int BLOBNBOX::line_crossings </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00377">377</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  {</div><div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  <span class="keywordflow">return</span> line_crossings_;</div><div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  }</div></div><!-- fragment --> </div> </div> <a id="a284ba5508e7635562424210f95d5faaa"></a> <h2 class="memtitle"><span class="permalink"><a href="#a284ba5508e7635562424210f95d5faaa">◆ </a></span>MatchingStrokeWidth()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool BLOBNBOX::MatchingStrokeWidth </td> <td>(</td> <td class="paramtype">const <a class="el" href="a02481.html">BLOBNBOX</a> & </td> <td class="paramname"><em>other</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>fractional_tolerance</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>constant_tolerance</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00206_source.html#l00300">300</a> of file <a class="el" href="a00206_source.html">blobbox.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  {</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  <span class="comment">// The perimeter-based width is used as a backup in case there is</span></div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <span class="comment">// no information in the blob.</span></div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <span class="keywordtype">double</span> p_width = <a class="code" href="a02481.html#a60ec6ef150c19849d80ca5cad9f81e69">area_stroke_width</a>();</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <span class="keywordtype">double</span> n_p_width = other.<a class="code" href="a02481.html#a60ec6ef150c19849d80ca5cad9f81e69">area_stroke_width</a>();</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  <span class="keywordtype">float</span> h_tolerance = horz_stroke_width_ * fractional_tolerance</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  + constant_tolerance;</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  <span class="keywordtype">float</span> v_tolerance = vert_stroke_width_ * fractional_tolerance</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  + constant_tolerance;</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="keywordtype">double</span> p_tolerance = p_width * fractional_tolerance</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  + constant_tolerance;</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  <span class="keywordtype">bool</span> h_zero = horz_stroke_width_ == 0.0f || other.horz_stroke_width_ == 0.0f;</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <span class="keywordtype">bool</span> v_zero = vert_stroke_width_ == 0.0f || other.vert_stroke_width_ == 0.0f;</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  <span class="keywordtype">bool</span> h_ok = !h_zero && <a class="code" href="a00524.html#a80998b3d098c50b53b1f275adeafe267">NearlyEqual</a>(horz_stroke_width_,</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  other.horz_stroke_width_, h_tolerance);</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  <span class="keywordtype">bool</span> v_ok = !v_zero && <a class="code" href="a00524.html#a80998b3d098c50b53b1f275adeafe267">NearlyEqual</a>(vert_stroke_width_,</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  other.vert_stroke_width_, v_tolerance);</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  <span class="keywordtype">bool</span> p_ok = h_zero && v_zero && <a class="code" href="a00524.html#a80998b3d098c50b53b1f275adeafe267">NearlyEqual</a>(p_width, n_p_width, p_tolerance);</div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  <span class="comment">// For a match, at least one of the horizontal and vertical widths</span></div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  <span class="comment">// must match, and the other one must either match or be zero.</span></div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  <span class="comment">// Only if both are zero will we look at the perimeter metric.</span></div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  <span class="keywordflow">return</span> p_ok || ((v_ok || h_ok) && (h_ok || h_zero) && (v_ok || v_zero));</div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span> }</div><div class="ttc" id="a02481_html_a60ec6ef150c19849d80ca5cad9f81e69"><div class="ttname"><a href="a02481.html#a60ec6ef150c19849d80ca5cad9f81e69">BLOBNBOX::area_stroke_width</a></div><div class="ttdeci">float area_stroke_width() const</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00334">blobbox.h:334</a></div></div> <div class="ttc" id="a00524_html_a80998b3d098c50b53b1f275adeafe267"><div class="ttname"><a href="a00524.html#a80998b3d098c50b53b1f275adeafe267">NearlyEqual</a></div><div class="ttdeci">bool NearlyEqual(T x, T y, T tolerance)</div><div class="ttdef"><b>Definition:</b> <a href="a00524_source.html#l00077">host.h:77</a></div></div> </div><!-- fragment --> </div> </div> <a id="ae4415dbdf1257052f22ee726f98db893"></a> <h2 class="memtitle"><span class="permalink"><a href="#ae4415dbdf1257052f22ee726f98db893">◆ </a></span>merge()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::merge </td> <td>(</td> <td class="paramtype"><a class="el" href="a02481.html">BLOBNBOX</a> * </td> <td class="paramname"><em>nextblob</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00206_source.html#l00087">87</a> of file <a class="el" href="a00206_source.html">blobbox.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  {</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  box += nextblob->box; <span class="comment">//merge boxes</span></div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <a class="code" href="a02481.html#af354be28840859b8a4b593aa6db467f2">set_diacritic_box</a>(box);</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  nextblob->joined = <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a>;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> }</div><div class="ttc" id="a00014_html_aa8cecfc5c5c054d2875c03e77b7be15d"><div class="ttname"><a href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a></div><div class="ttdeci">#define TRUE</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00045">capi.h:45</a></div></div> <div class="ttc" id="a02481_html_af354be28840859b8a4b593aa6db467f2"><div class="ttname"><a href="a02481.html#af354be28840859b8a4b593aa6db467f2">BLOBNBOX::set_diacritic_box</a></div><div class="ttdeci">void set_diacritic_box(const TBOX &diacritic_box)</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00383">blobbox.h:383</a></div></div> </div><!-- fragment --> </div> </div> <a id="a0b085599b4bf9a11682326e51dd39384"></a> <h2 class="memtitle"><span class="permalink"><a href="#a0b085599b4bf9a11682326e51dd39384">◆ </a></span>MinMaxGapsClipped()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::MinMaxGapsClipped </td> <td>(</td> <td class="paramtype">int * </td> <td class="paramname"><em>h_min</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"><em>h_max</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"><em>v_min</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"><em>v_max</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00206_source.html#l00195">195</a> of file <a class="el" href="a00206_source.html">blobbox.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  {</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keywordtype">int</span> max_dimension = <a class="code" href="a00548.html#aacc3ee1a7f283f8ef65cea31f4436a95">MAX</a>(box.<a class="code" href="a02713.html#aa51d4de109edfcba0508ce301da67031">width</a>(), box.<a class="code" href="a02713.html#a394f08490216767215b7d6aea0c35270">height</a>());</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="keywordtype">int</span> gaps[<a class="code" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883a0f3b81ac0cbf413ac18c6de98cd69921">BND_COUNT</a>];</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <a class="code" href="a02481.html#acd3768f9051e79bb63cd5aaa67243b6f">NeighbourGaps</a>(gaps);</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  *h_min = <a class="code" href="a00548.html#a74e75242132eaabbc1c512488a135926">MIN</a>(gaps[<a class="code" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883a34eeb3a076f3bbcb32d47b74ee3cee86">BND_LEFT</a>], gaps[<a class="code" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883ac0391ea6a5bf43f7735142e9ae87a62f">BND_RIGHT</a>]);</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  *h_max = <a class="code" href="a00548.html#aacc3ee1a7f283f8ef65cea31f4436a95">MAX</a>(gaps[<a class="code" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883a34eeb3a076f3bbcb32d47b74ee3cee86">BND_LEFT</a>], gaps[<a class="code" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883ac0391ea6a5bf43f7735142e9ae87a62f">BND_RIGHT</a>]);</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keywordflow">if</span> (*h_max > max_dimension && *h_min < max_dimension) *h_max = *h_min;</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  *v_min = <a class="code" href="a00548.html#a74e75242132eaabbc1c512488a135926">MIN</a>(gaps[<a class="code" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883a29aa5ffa693a9ac7e91c8c59e037509c">BND_ABOVE</a>], gaps[<a class="code" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883a898fc0442f50593b8ce360d3253d254d">BND_BELOW</a>]);</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  *v_max = <a class="code" href="a00548.html#aacc3ee1a7f283f8ef65cea31f4436a95">MAX</a>(gaps[<a class="code" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883a29aa5ffa693a9ac7e91c8c59e037509c">BND_ABOVE</a>], gaps[<a class="code" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883a898fc0442f50593b8ce360d3253d254d">BND_BELOW</a>]);</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keywordflow">if</span> (*v_max > max_dimension && *v_min < max_dimension) *v_max = *v_min;</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span> }</div><div class="ttc" id="a00209_html_a4974474b3b161b68355d9a16eeaa3883a0f3b81ac0cbf413ac18c6de98cd69921"><div class="ttname"><a href="a00209.html#a4974474b3b161b68355d9a16eeaa3883a0f3b81ac0cbf413ac18c6de98cd69921">BND_COUNT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00077">blobbox.h:77</a></div></div> <div class="ttc" id="a02713_html_aa51d4de109edfcba0508ce301da67031"><div class="ttname"><a href="a02713.html#aa51d4de109edfcba0508ce301da67031">TBOX::width</a></div><div class="ttdeci">inT16 width() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00111">rect.h:111</a></div></div> <div class="ttc" id="a00548_html_a74e75242132eaabbc1c512488a135926"><div class="ttname"><a href="a00548.html#a74e75242132eaabbc1c512488a135926">MIN</a></div><div class="ttdeci">#define MIN(x, y)</div><div class="ttdef"><b>Definition:</b> <a href="a00548_source.html#l00028">ndminx.h:28</a></div></div> <div class="ttc" id="a00209_html_a4974474b3b161b68355d9a16eeaa3883a29aa5ffa693a9ac7e91c8c59e037509c"><div class="ttname"><a href="a00209.html#a4974474b3b161b68355d9a16eeaa3883a29aa5ffa693a9ac7e91c8c59e037509c">BND_ABOVE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00076">blobbox.h:76</a></div></div> <div class="ttc" id="a00209_html_a4974474b3b161b68355d9a16eeaa3883ac0391ea6a5bf43f7735142e9ae87a62f"><div class="ttname"><a href="a00209.html#a4974474b3b161b68355d9a16eeaa3883ac0391ea6a5bf43f7735142e9ae87a62f">BND_RIGHT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00075">blobbox.h:75</a></div></div> <div class="ttc" id="a02713_html_a394f08490216767215b7d6aea0c35270"><div class="ttname"><a href="a02713.html#a394f08490216767215b7d6aea0c35270">TBOX::height</a></div><div class="ttdeci">inT16 height() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00104">rect.h:104</a></div></div> <div class="ttc" id="a00548_html_aacc3ee1a7f283f8ef65cea31f4436a95"><div class="ttname"><a href="a00548.html#aacc3ee1a7f283f8ef65cea31f4436a95">MAX</a></div><div class="ttdeci">#define MAX(x, y)</div><div class="ttdef"><b>Definition:</b> <a href="a00548_source.html#l00024">ndminx.h:24</a></div></div> <div class="ttc" id="a02481_html_acd3768f9051e79bb63cd5aaa67243b6f"><div class="ttname"><a href="a02481.html#acd3768f9051e79bb63cd5aaa67243b6f">BLOBNBOX::NeighbourGaps</a></div><div class="ttdeci">void NeighbourGaps(int gaps[BND_COUNT]) const</div><div class="ttdef"><b>Definition:</b> <a href="a00206_source.html#l00176">blobbox.cpp:176</a></div></div> <div class="ttc" id="a00209_html_a4974474b3b161b68355d9a16eeaa3883a34eeb3a076f3bbcb32d47b74ee3cee86"><div class="ttname"><a href="a00209.html#a4974474b3b161b68355d9a16eeaa3883a34eeb3a076f3bbcb32d47b74ee3cee86">BND_LEFT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00073">blobbox.h:73</a></div></div> <div class="ttc" id="a00209_html_a4974474b3b161b68355d9a16eeaa3883a898fc0442f50593b8ce360d3253d254d"><div class="ttname"><a href="a00209.html#a4974474b3b161b68355d9a16eeaa3883a898fc0442f50593b8ce360d3253d254d">BND_BELOW</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00074">blobbox.h:74</a></div></div> </div><!-- fragment --> </div> </div> <a id="a018ff218c54fb4d12303543dce5cfc86"></a> <h2 class="memtitle"><span class="permalink"><a href="#a018ff218c54fb4d12303543dce5cfc86">◆ </a></span>neighbour()</h2> <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="a02481.html">BLOBNBOX</a>* BLOBNBOX::neighbour </td> <td>(</td> <td class="paramtype"><a class="el" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883">BlobNeighbourDir</a> </td> <td class="paramname"><em>n</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00355">355</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  {</div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  <span class="keywordflow">return</span> neighbours_[n];</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  }</div></div><!-- fragment --> </div> </div> <a id="acd3768f9051e79bb63cd5aaa67243b6f"></a> <h2 class="memtitle"><span class="permalink"><a href="#acd3768f9051e79bb63cd5aaa67243b6f">◆ </a></span>NeighbourGaps()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::NeighbourGaps </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>gaps</em>[BND_COUNT]</td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00206_source.html#l00176">176</a> of file <a class="el" href="a00206_source.html">blobbox.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  {</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> dir = 0; dir < <a class="code" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883a0f3b81ac0cbf413ac18c6de98cd69921">BND_COUNT</a>; ++dir) {</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  gaps[dir] = <a class="code" href="a00524.html#a3905e54374e49708219791e7d59c60fb">MAX_INT16</a>;</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <a class="code" href="a02481.html">BLOBNBOX</a>* <a class="code" href="a02481.html#a018ff218c54fb4d12303543dce5cfc86">neighbour</a> = neighbours_[dir];</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keywordflow">if</span> (<a class="code" href="a02481.html#a018ff218c54fb4d12303543dce5cfc86">neighbour</a> != NULL) {</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keyword">const</span> <a class="code" href="a02713.html">TBOX</a>& n_box = <a class="code" href="a02481.html#a018ff218c54fb4d12303543dce5cfc86">neighbour</a>-><a class="code" href="a02481.html#acc27a54c9735f05e9152ba5f1c1a8261">bounding_box</a>();</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keywordflow">if</span> (dir == <a class="code" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883a34eeb3a076f3bbcb32d47b74ee3cee86">BND_LEFT</a> || dir == <a class="code" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883ac0391ea6a5bf43f7735142e9ae87a62f">BND_RIGHT</a>) {</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  gaps[dir] = box.<a class="code" href="a02713.html#aee399b6542ff4856b2ea343bf202d2a3">x_gap</a>(n_box);</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  gaps[dir] = box.<a class="code" href="a02713.html#a8f6f816c4e4d792863563d2d4368db8d">y_gap</a>(n_box);</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  }</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  }</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  }</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span> }</div><div class="ttc" id="a02481_html_acc27a54c9735f05e9152ba5f1c1a8261"><div class="ttname"><a href="a02481.html#acc27a54c9735f05e9152ba5f1c1a8261">BLOBNBOX::bounding_box</a></div><div class="ttdeci">const TBOX & bounding_box() const</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00215">blobbox.h:215</a></div></div> <div class="ttc" id="a00209_html_a4974474b3b161b68355d9a16eeaa3883a0f3b81ac0cbf413ac18c6de98cd69921"><div class="ttname"><a href="a00209.html#a4974474b3b161b68355d9a16eeaa3883a0f3b81ac0cbf413ac18c6de98cd69921">BND_COUNT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00077">blobbox.h:77</a></div></div> <div class="ttc" id="a00209_html_a4974474b3b161b68355d9a16eeaa3883ac0391ea6a5bf43f7735142e9ae87a62f"><div class="ttname"><a href="a00209.html#a4974474b3b161b68355d9a16eeaa3883ac0391ea6a5bf43f7735142e9ae87a62f">BND_RIGHT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00075">blobbox.h:75</a></div></div> <div class="ttc" id="a02713_html_a8f6f816c4e4d792863563d2d4368db8d"><div class="ttname"><a href="a02713.html#a8f6f816c4e4d792863563d2d4368db8d">TBOX::y_gap</a></div><div class="ttdeci">int y_gap(const TBOX &box) const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00225">rect.h:225</a></div></div> <div class="ttc" id="a00524_html_a3905e54374e49708219791e7d59c60fb"><div class="ttname"><a href="a00524.html#a3905e54374e49708219791e7d59c60fb">MAX_INT16</a></div><div class="ttdeci">#define MAX_INT16</div><div class="ttdef"><b>Definition:</b> <a href="a00524_source.html#l00052">host.h:52</a></div></div> <div class="ttc" id="a02481_html_a018ff218c54fb4d12303543dce5cfc86"><div class="ttname"><a href="a02481.html#a018ff218c54fb4d12303543dce5cfc86">BLOBNBOX::neighbour</a></div><div class="ttdeci">BLOBNBOX * neighbour(BlobNeighbourDir n) const</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00355">blobbox.h:355</a></div></div> <div class="ttc" id="a02713_html_aee399b6542ff4856b2ea343bf202d2a3"><div class="ttname"><a href="a02713.html#aee399b6542ff4856b2ea343bf202d2a3">TBOX::x_gap</a></div><div class="ttdeci">int x_gap(const TBOX &box) const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00217">rect.h:217</a></div></div> <div class="ttc" id="a02481_html"><div class="ttname"><a href="a02481.html">BLOBNBOX</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00128">blobbox.h:128</a></div></div> <div class="ttc" id="a02713_html"><div class="ttname"><a href="a02713.html">TBOX</a></div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00030">rect.h:30</a></div></div> <div class="ttc" id="a00209_html_a4974474b3b161b68355d9a16eeaa3883a34eeb3a076f3bbcb32d47b74ee3cee86"><div class="ttname"><a href="a00209.html#a4974474b3b161b68355d9a16eeaa3883a34eeb3a076f3bbcb32d47b74ee3cee86">BND_LEFT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00073">blobbox.h:73</a></div></div> </div><!-- fragment --> </div> </div> <a id="a218ec3d89b5d129786d21bc8b27ec860"></a> <h2 class="memtitle"><span class="permalink"><a href="#a218ec3d89b5d129786d21bc8b27ec860">◆ </a></span>NoisyNeighbours()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int BLOBNBOX::NoisyNeighbours </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00206_source.html#l00232">232</a> of file <a class="el" href="a00206_source.html">blobbox.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  {</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <span class="keywordtype">int</span> <a class="code" href="a01121.html#acd4ea858d7133e40518e0832ff9d94b2">count</a> = 0;</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> dir = 0; dir < <a class="code" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883a0f3b81ac0cbf413ac18c6de98cd69921">BND_COUNT</a>; ++dir) {</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <a class="code" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883">BlobNeighbourDir</a> bnd = <span class="keyword">static_cast<</span><a class="code" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883">BlobNeighbourDir</a><span class="keyword">></span>(dir);</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  <a class="code" href="a02481.html">BLOBNBOX</a>* blob = <a class="code" href="a02481.html#a018ff218c54fb4d12303543dce5cfc86">neighbour</a>(bnd);</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  <span class="keywordflow">if</span> (blob != NULL && blob-><a class="code" href="a02481.html#a3dc754fce829ae3287ad782cc567ff7e">region_type</a>() == <a class="code" href="a00209.html#aebfaf711760a99b60c297d1d619df575ae09c6f7e99c3a3885c3469d52d0292d2">BRT_NOISE</a>)</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  ++<a class="code" href="a01121.html#acd4ea858d7133e40518e0832ff9d94b2">count</a>;</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  }</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <span class="keywordflow">return</span> <a class="code" href="a01121.html#acd4ea858d7133e40518e0832ff9d94b2">count</a>;</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span> }</div><div class="ttc" id="a01121_html_acd4ea858d7133e40518e0832ff9d94b2"><div class="ttname"><a href="a01121.html#acd4ea858d7133e40518e0832ff9d94b2">count</a></div><div class="ttdeci">int count(LIST var_list)</div><div class="ttdef"><b>Definition:</b> <a href="a01121_source.html#l00103">oldlist.cpp:103</a></div></div> <div class="ttc" id="a00209_html_a4974474b3b161b68355d9a16eeaa3883a0f3b81ac0cbf413ac18c6de98cd69921"><div class="ttname"><a href="a00209.html#a4974474b3b161b68355d9a16eeaa3883a0f3b81ac0cbf413ac18c6de98cd69921">BND_COUNT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00077">blobbox.h:77</a></div></div> <div class="ttc" id="a00209_html_aebfaf711760a99b60c297d1d619df575ae09c6f7e99c3a3885c3469d52d0292d2"><div class="ttname"><a href="a00209.html#aebfaf711760a99b60c297d1d619df575ae09c6f7e99c3a3885c3469d52d0292d2">BRT_NOISE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00058">blobbox.h:58</a></div></div> <div class="ttc" id="a02481_html_a018ff218c54fb4d12303543dce5cfc86"><div class="ttname"><a href="a02481.html#a018ff218c54fb4d12303543dce5cfc86">BLOBNBOX::neighbour</a></div><div class="ttdeci">BLOBNBOX * neighbour(BlobNeighbourDir n) const</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00355">blobbox.h:355</a></div></div> <div class="ttc" id="a00209_html_a4974474b3b161b68355d9a16eeaa3883"><div class="ttname"><a href="a00209.html#a4974474b3b161b68355d9a16eeaa3883">BlobNeighbourDir</a></div><div class="ttdeci">BlobNeighbourDir</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00072">blobbox.h:72</a></div></div> <div class="ttc" id="a02481_html"><div class="ttname"><a href="a02481.html">BLOBNBOX</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00128">blobbox.h:128</a></div></div> <div class="ttc" id="a02481_html_a3dc754fce829ae3287ad782cc567ff7e"><div class="ttname"><a href="a02481.html#a3dc754fce829ae3287ad782cc567ff7e">BLOBNBOX::region_type</a></div><div class="ttdeci">BlobRegionType region_type() const</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00268">blobbox.h:268</a></div></div> </div><!-- fragment --> </div> </div> <a id="a9be9de4f597e581caf28071aa5ef52fe"></a> <h2 class="memtitle"><span class="permalink"><a href="#a9be9de4f597e581caf28071aa5ef52fe">◆ </a></span>owner()</h2> <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="a04737.html">tesseract::ColPartition</a>* BLOBNBOX::owner </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00337">337</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  {</div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  <span class="keywordflow">return</span> owner_;</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  }</div></div><!-- fragment --> </div> </div> <a id="a298c71714cb9c1dfa613bddb8e48f75d"></a> <h2 class="memtitle"><span class="permalink"><a href="#a298c71714cb9c1dfa613bddb8e48f75d">◆ </a></span>plot()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::plot </td> <td>(</td> <td class="paramtype"><a class="el" href="a04929.html">ScrollView</a> * </td> <td class="paramname"><em>window</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a04929.html#a100504544a5423a94222149ee9ed0fe8">ScrollView::Color</a> </td> <td class="paramname"><em>blob_colour</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a04929.html#a100504544a5423a94222149ee9ed0fe8">ScrollView::Color</a> </td> <td class="paramname"><em>child_colour</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00206_source.html#l00480">480</a> of file <a class="el" href="a00206_source.html">blobbox.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00482"></a><span class="lineno"> 482</span>  { <span class="comment">// for holes</span></div><div class="line"><a name="l00483"></a><span class="lineno"> 483</span>  <span class="keywordflow">if</span> (cblob_ptr != NULL)</div><div class="line"><a name="l00484"></a><span class="lineno"> 484</span>  cblob_ptr-><a class="code" href="a02737.html#a229bd1845ea91366349c7dee1d52360a">plot</a>(window, blob_colour, child_colour);</div><div class="line"><a name="l00485"></a><span class="lineno"> 485</span> }</div><div class="ttc" id="a02737_html_a229bd1845ea91366349c7dee1d52360a"><div class="ttname"><a href="a02737.html#a229bd1845ea91366349c7dee1d52360a">C_BLOB::plot</a></div><div class="ttdeci">void plot(ScrollView *window, ScrollView::Color blob_colour, ScrollView::Color child_colour)</div><div class="ttdef"><b>Definition:</b> <a href="a00428_source.html#l00532">stepblob.cpp:532</a></div></div> </div><!-- fragment --> </div> </div> <a id="a4390090c077b282cb4bc814633cb8e27"></a> <h2 class="memtitle"><span class="permalink"><a href="#a4390090c077b282cb4bc814633cb8e27">◆ </a></span>PlotBlobs()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::PlotBlobs </td> <td>(</td> <td class="paramtype">BLOBNBOX_LIST * </td> <td class="paramname"><em>list</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a04929.html#a100504544a5423a94222149ee9ed0fe8">ScrollView::Color</a> </td> <td class="paramname"><em>body_colour</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a04929.html#a100504544a5423a94222149ee9ed0fe8">ScrollView::Color</a> </td> <td class="paramname"><em>child_colour</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a04929.html">ScrollView</a> * </td> <td class="paramname"><em>win</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 class="definition">Definition at line <a class="el" href="a00206_source.html#l00414">414</a> of file <a class="el" href="a00206_source.html">blobbox.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  {</div><div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  BLOBNBOX_IT it(list);</div><div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  <span class="keywordflow">for</span> (it.mark_cycle_pt(); !it.cycled_list(); it.forward()) {</div><div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  it.data()->plot(win, body_colour, child_colour);</div><div class="line"><a name="l00421"></a><span class="lineno"> 421</span>  }</div><div class="line"><a name="l00422"></a><span class="lineno"> 422</span> }</div></div><!-- fragment --> </div> </div> <a id="a64e7f32e8eb4319767dfb632db3867bf"></a> <h2 class="memtitle"><span class="permalink"><a href="#a64e7f32e8eb4319767dfb632db3867bf">◆ </a></span>PlotNoiseBlobs()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::PlotNoiseBlobs </td> <td>(</td> <td class="paramtype">BLOBNBOX_LIST * </td> <td class="paramname"><em>list</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a04929.html#a100504544a5423a94222149ee9ed0fe8">ScrollView::Color</a> </td> <td class="paramname"><em>body_colour</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a04929.html#a100504544a5423a94222149ee9ed0fe8">ScrollView::Color</a> </td> <td class="paramname"><em>child_colour</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a04929.html">ScrollView</a> * </td> <td class="paramname"><em>win</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 class="definition">Definition at line <a class="el" href="a00206_source.html#l00427">427</a> of file <a class="el" href="a00206_source.html">blobbox.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  {</div><div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  BLOBNBOX_IT it(list);</div><div class="line"><a name="l00432"></a><span class="lineno"> 432</span>  <span class="keywordflow">for</span> (it.mark_cycle_pt(); !it.cycled_list(); it.forward()) {</div><div class="line"><a name="l00433"></a><span class="lineno"> 433</span>  <a class="code" href="a02481.html">BLOBNBOX</a>* blob = it.data();</div><div class="line"><a name="l00434"></a><span class="lineno"> 434</span>  <span class="keywordflow">if</span> (blob-><a class="code" href="a02481.html#a6dd55688b560eeca69e6013dbdde20db">DeletableNoise</a>())</div><div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  blob-><a class="code" href="a02481.html#a298c71714cb9c1dfa613bddb8e48f75d">plot</a>(win, body_colour, child_colour);</div><div class="line"><a name="l00436"></a><span class="lineno"> 436</span>  }</div><div class="line"><a name="l00437"></a><span class="lineno"> 437</span> }</div><div class="ttc" id="a02481_html_a298c71714cb9c1dfa613bddb8e48f75d"><div class="ttname"><a href="a02481.html#a298c71714cb9c1dfa613bddb8e48f75d">BLOBNBOX::plot</a></div><div class="ttdeci">void plot(ScrollView *window, ScrollView::Color blob_colour, ScrollView::Color child_colour)</div><div class="ttdef"><b>Definition:</b> <a href="a00206_source.html#l00480">blobbox.cpp:480</a></div></div> <div class="ttc" id="a02481_html"><div class="ttname"><a href="a02481.html">BLOBNBOX</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00128">blobbox.h:128</a></div></div> <div class="ttc" id="a02481_html_a6dd55688b560eeca69e6013dbdde20db"><div class="ttname"><a href="a02481.html#a6dd55688b560eeca69e6013dbdde20db">BLOBNBOX::DeletableNoise</a></div><div class="ttdeci">bool DeletableNoise() const</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00188">blobbox.h:188</a></div></div> </div><!-- fragment --> </div> </div> <a id="aa750241e977f7dd90452cfbe317fa468"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa750241e977f7dd90452cfbe317fa468">◆ </a></span>RealBlob()</h2> <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="a02481.html">BLOBNBOX</a>* BLOBNBOX::RealBlob </td> <td>(</td> <td class="paramtype"><a class="el" href="a02525.html">C_OUTLINE</a> * </td> <td class="paramname"><em>outline</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00143">143</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  {</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <a class="code" href="a02737.html">C_BLOB</a>* blob = <span class="keyword">new</span> <a class="code" href="a02737.html">C_BLOB</a>(outline);</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a02481.html#a5bc9450ba27c245929b70bec357089f5">BLOBNBOX</a>(blob);</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  }</div><div class="ttc" id="a02481_html_a5bc9450ba27c245929b70bec357089f5"><div class="ttname"><a href="a02481.html#a5bc9450ba27c245929b70bec357089f5">BLOBNBOX::BLOBNBOX</a></div><div class="ttdeci">BLOBNBOX()</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00131">blobbox.h:131</a></div></div> <div class="ttc" id="a02737_html"><div class="ttname"><a href="a02737.html">C_BLOB</a></div><div class="ttdef"><b>Definition:</b> <a href="a00431_source.html#l00030">stepblob.h:30</a></div></div> </div><!-- fragment --> </div> </div> <a id="a35e6f3923186941c2cd0c12b76be914d"></a> <h2 class="memtitle"><span class="permalink"><a href="#a35e6f3923186941c2cd0c12b76be914d">◆ </a></span>really_merge()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::really_merge </td> <td>(</td> <td class="paramtype"><a class="el" href="a02481.html">BLOBNBOX</a> * </td> <td class="paramname"><em>other</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00206_source.html#l00098">98</a> of file <a class="el" href="a00206_source.html">blobbox.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  {</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordflow">if</span> (cblob_ptr != NULL && other->cblob_ptr != NULL) {</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  C_OUTLINE_IT ol_it(cblob_ptr-><a class="code" href="a02737.html#ae510f3d0e7398fbb46608082429eac89">out_list</a>());</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  ol_it.add_list_after(other->cblob_ptr-><a class="code" href="a02737.html#ae510f3d0e7398fbb46608082429eac89">out_list</a>());</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  }</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <a class="code" href="a02481.html#a32d07b97c559e7f7f7c58323491aedec">compute_bounding_box</a>();</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span> }</div><div class="ttc" id="a02737_html_ae510f3d0e7398fbb46608082429eac89"><div class="ttname"><a href="a02737.html#ae510f3d0e7398fbb46608082429eac89">C_BLOB::out_list</a></div><div class="ttdeci">C_OUTLINE_LIST * out_list()</div><div class="ttdef"><b>Definition:</b> <a href="a00431_source.html#l00064">stepblob.h:64</a></div></div> <div class="ttc" id="a02481_html_a32d07b97c559e7f7f7c58323491aedec"><div class="ttname"><a href="a02481.html#a32d07b97c559e7f7f7c58323491aedec">BLOBNBOX::compute_bounding_box</a></div><div class="ttdeci">void compute_bounding_box()</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00225">blobbox.h:225</a></div></div> </div><!-- fragment --> </div> </div> <a id="ac485c14201f33ff3b87b15779035eceb"></a> <h2 class="memtitle"><span class="permalink"><a href="#ac485c14201f33ff3b87b15779035eceb">◆ </a></span>red_box_set()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool BLOBNBOX::red_box_set </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00244">244</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  {</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <span class="keywordflow">return</span> reduced != 0;</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  }</div></div><!-- fragment --> </div> </div> <a id="af2621577ffe6fa265413437a6df78c86"></a> <h2 class="memtitle"><span class="permalink"><a href="#af2621577ffe6fa265413437a6df78c86">◆ </a></span>reduced_box()</h2> <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="a02713.html">TBOX</a>& BLOBNBOX::reduced_box </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00231">231</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  {</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <span class="keywordflow">return</span> red_box;</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  }</div></div><!-- fragment --> </div> </div> <a id="ac869963632fa38cc8eb38327fe498aee"></a> <h2 class="memtitle"><span class="permalink"><a href="#ac869963632fa38cc8eb38327fe498aee">◆ </a></span>reflect_box_in_y_axis()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::reflect_box_in_y_axis </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00206_source.html#l00057">57</a> of file <a class="el" href="a00206_source.html">blobbox.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  {</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordtype">int</span> left = -box.<a class="code" href="a02713.html#a54de49d8654e35d5221c7cdc20e2662f">right</a>();</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  box.<a class="code" href="a02713.html#a2246293d3667b28c52a52353a2d5caea">set_right</a>(-box.<a class="code" href="a02713.html#affd18574697b2b707cee416f7cdccb1f">left</a>());</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  box.<a class="code" href="a02713.html#ae6151cd794841e100d8a346a0c4a46e6">set_left</a>(left);</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> }</div><div class="ttc" id="a02713_html_ae6151cd794841e100d8a346a0c4a46e6"><div class="ttname"><a href="a02713.html#ae6151cd794841e100d8a346a0c4a46e6">TBOX::set_left</a></div><div class="ttdeci">void set_left(int x)</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00071">rect.h:71</a></div></div> <div class="ttc" id="a02713_html_affd18574697b2b707cee416f7cdccb1f"><div class="ttname"><a href="a02713.html#affd18574697b2b707cee416f7cdccb1f">TBOX::left</a></div><div class="ttdeci">inT16 left() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00068">rect.h:68</a></div></div> <div class="ttc" id="a02713_html_a2246293d3667b28c52a52353a2d5caea"><div class="ttname"><a href="a02713.html#a2246293d3667b28c52a52353a2d5caea">TBOX::set_right</a></div><div class="ttdeci">void set_right(int x)</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00078">rect.h:78</a></div></div> <div class="ttc" id="a02713_html_a54de49d8654e35d5221c7cdc20e2662f"><div class="ttname"><a href="a02713.html#a54de49d8654e35d5221c7cdc20e2662f">TBOX::right</a></div><div class="ttdeci">inT16 right() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00075">rect.h:75</a></div></div> </div><!-- fragment --> </div> </div> <a id="a3dc754fce829ae3287ad782cc567ff7e"></a> <h2 class="memtitle"><span class="permalink"><a href="#a3dc754fce829ae3287ad782cc567ff7e">◆ </a></span>region_type()</h2> <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="a00209.html#aebfaf711760a99b60c297d1d619df575">BlobRegionType</a> BLOBNBOX::region_type </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00268">268</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  {</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <span class="keywordflow">return</span> region_type_;</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  }</div></div><!-- fragment --> </div> </div> <a id="a582c976fe68be6127b2ce4e54e5e7181"></a> <h2 class="memtitle"><span class="permalink"><a href="#a582c976fe68be6127b2ce4e54e5e7181">◆ </a></span>ReInit()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::ReInit </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00466">466</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  {</div><div class="line"><a name="l00467"></a><span class="lineno"> 467</span>  joined = <span class="keyword">false</span>;</div><div class="line"><a name="l00468"></a><span class="lineno"> 468</span>  reduced = <span class="keyword">false</span>;</div><div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  repeated_set_ = 0;</div><div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  left_tab_type_ = <a class="code" href="a00209.html#a6d0b33e703e1291d0b60d4fe5a5e12ccaddba1c39549497adfc655e5e9a817dec">TT_NONE</a>;</div><div class="line"><a name="l00471"></a><span class="lineno"> 471</span>  right_tab_type_ = <a class="code" href="a00209.html#a6d0b33e703e1291d0b60d4fe5a5e12ccaddba1c39549497adfc655e5e9a817dec">TT_NONE</a>;</div><div class="line"><a name="l00472"></a><span class="lineno"> 472</span>  region_type_ = <a class="code" href="a00209.html#aebfaf711760a99b60c297d1d619df575a8a98863f18016aa4ccfd2d07dbb092a4">BRT_UNKNOWN</a>;</div><div class="line"><a name="l00473"></a><span class="lineno"> 473</span>  flow_ = <a class="code" href="a00209.html#aa72f1499398e9694bf46752e1cc895e1a745b15b1c990fa88c0712c50c5cd2202">BTFT_NONE</a>;</div><div class="line"><a name="l00474"></a><span class="lineno"> 474</span>  spt_type_ = <a class="code" href="a00209.html#a75b089d27e1df813fed544e0c131df8ca6fac1a2510eab4553549833d5d1afdc0">BSTT_SKIP</a>;</div><div class="line"><a name="l00475"></a><span class="lineno"> 475</span>  left_rule_ = 0;</div><div class="line"><a name="l00476"></a><span class="lineno"> 476</span>  right_rule_ = 0;</div><div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  left_crossing_rule_ = 0;</div><div class="line"><a name="l00478"></a><span class="lineno"> 478</span>  right_crossing_rule_ = 0;</div><div class="line"><a name="l00479"></a><span class="lineno"> 479</span>  <span class="keywordflow">if</span> (area_stroke_width_ == 0.0f && area > 0 && <a class="code" href="a02481.html#a5d497fdc454feff733889db8fe604868">cblob</a>() != NULL)</div><div class="line"><a name="l00480"></a><span class="lineno"> 480</span>  area_stroke_width_ = 2.0f * area / <a class="code" href="a02481.html#a5d497fdc454feff733889db8fe604868">cblob</a>()-><a class="code" href="a02737.html#a7bb48c42dd0ab06ebc1d1bd4936e6252">perimeter</a>();</div><div class="line"><a name="l00481"></a><span class="lineno"> 481</span>  owner_ = NULL;</div><div class="line"><a name="l00482"></a><span class="lineno"> 482</span>  base_char_top_ = box.<a class="code" href="a02713.html#ac5ecdfbd33963eac601ccb67ac63dd2a">top</a>();</div><div class="line"><a name="l00483"></a><span class="lineno"> 483</span>  base_char_bottom_ = box.<a class="code" href="a02713.html#ae20440e936439218b9dfe267b8a37b4a">bottom</a>();</div><div class="line"><a name="l00484"></a><span class="lineno"> 484</span>  baseline_y_ = box.<a class="code" href="a02713.html#ae20440e936439218b9dfe267b8a37b4a">bottom</a>();</div><div class="line"><a name="l00485"></a><span class="lineno"> 485</span>  line_crossings_ = 0;</div><div class="line"><a name="l00486"></a><span class="lineno"> 486</span>  base_char_blob_ = NULL;</div><div class="line"><a name="l00487"></a><span class="lineno"> 487</span>  horz_possible_ = <span class="keyword">false</span>;</div><div class="line"><a name="l00488"></a><span class="lineno"> 488</span>  vert_possible_ = <span class="keyword">false</span>;</div><div class="line"><a name="l00489"></a><span class="lineno"> 489</span>  leader_on_left_ = <span class="keyword">false</span>;</div><div class="line"><a name="l00490"></a><span class="lineno"> 490</span>  leader_on_right_ = <span class="keyword">false</span>;</div><div class="line"><a name="l00491"></a><span class="lineno"> 491</span>  <a class="code" href="a02481.html#acdf3cc39226f3378516956b0e33fa533">ClearNeighbours</a>();</div><div class="line"><a name="l00492"></a><span class="lineno"> 492</span>  }</div><div class="ttc" id="a02481_html_a5d497fdc454feff733889db8fe604868"><div class="ttname"><a href="a02481.html#a5d497fdc454feff733889db8fe604868">BLOBNBOX::cblob</a></div><div class="ttdeci">C_BLOB * cblob() const</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00253">blobbox.h:253</a></div></div> <div class="ttc" id="a00209_html_a6d0b33e703e1291d0b60d4fe5a5e12ccaddba1c39549497adfc655e5e9a817dec"><div class="ttname"><a href="a00209.html#a6d0b33e703e1291d0b60d4fe5a5e12ccaddba1c39549497adfc655e5e9a817dec">TT_NONE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00045">blobbox.h:45</a></div></div> <div class="ttc" id="a00209_html_aebfaf711760a99b60c297d1d619df575a8a98863f18016aa4ccfd2d07dbb092a4"><div class="ttname"><a href="a00209.html#aebfaf711760a99b60c297d1d619df575a8a98863f18016aa4ccfd2d07dbb092a4">BRT_UNKNOWN</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00063">blobbox.h:63</a></div></div> <div class="ttc" id="a02737_html_a7bb48c42dd0ab06ebc1d1bd4936e6252"><div class="ttname"><a href="a02737.html#a7bb48c42dd0ab06ebc1d1bd4936e6252">C_BLOB::perimeter</a></div><div class="ttdeci">inT32 perimeter()</div><div class="ttdef"><b>Definition:</b> <a href="a00428_source.html#l00289">stepblob.cpp:289</a></div></div> <div class="ttc" id="a00209_html_aa72f1499398e9694bf46752e1cc895e1a745b15b1c990fa88c0712c50c5cd2202"><div class="ttname"><a href="a00209.html#aa72f1499398e9694bf46752e1cc895e1a745b15b1c990fa88c0712c50c5cd2202">BTFT_NONE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00100">blobbox.h:100</a></div></div> <div class="ttc" id="a02713_html_ae20440e936439218b9dfe267b8a37b4a"><div class="ttname"><a href="a02713.html#ae20440e936439218b9dfe267b8a37b4a">TBOX::bottom</a></div><div class="ttdeci">inT16 bottom() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00061">rect.h:61</a></div></div> <div class="ttc" id="a00209_html_a75b089d27e1df813fed544e0c131df8ca6fac1a2510eab4553549833d5d1afdc0"><div class="ttname"><a href="a00209.html#a75b089d27e1df813fed544e0c131df8ca6fac1a2510eab4553549833d5d1afdc0">BSTT_SKIP</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00087">blobbox.h:87</a></div></div> <div class="ttc" id="a02713_html_ac5ecdfbd33963eac601ccb67ac63dd2a"><div class="ttname"><a href="a02713.html#ac5ecdfbd33963eac601ccb67ac63dd2a">TBOX::top</a></div><div class="ttdeci">inT16 top() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00054">rect.h:54</a></div></div> <div class="ttc" id="a02481_html_acdf3cc39226f3378516956b0e33fa533"><div class="ttname"><a href="a02481.html#acdf3cc39226f3378516956b0e33fa533">BLOBNBOX::ClearNeighbours</a></div><div class="ttdeci">void ClearNeighbours()</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00494">blobbox.h:494</a></div></div> </div><!-- fragment --> </div> </div> <a id="a6ac085f4785a04cd96645b8259057040"></a> <h2 class="memtitle"><span class="permalink"><a href="#a6ac085f4785a04cd96645b8259057040">◆ </a></span>repeated_set()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int BLOBNBOX::repeated_set </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00247">247</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  {</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <span class="keywordflow">return</span> repeated_set_;</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  }</div></div><!-- fragment --> </div> </div> <a id="a419500ffcd931bbee80cd31f5cb1dfae"></a> <h2 class="memtitle"><span class="permalink"><a href="#a419500ffcd931bbee80cd31f5cb1dfae">◆ </a></span>right_crossing_rule()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int BLOBNBOX::right_crossing_rule </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00316">316</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  {</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  <span class="keywordflow">return</span> right_crossing_rule_;</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  }</div></div><!-- fragment --> </div> </div> <a id="a63128583b0e4fd2c7133e466dd0dca5c"></a> <h2 class="memtitle"><span class="permalink"><a href="#a63128583b0e4fd2c7133e466dd0dca5c">◆ </a></span>right_rule()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int BLOBNBOX::right_rule </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00304">304</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  {</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <span class="keywordflow">return</span> right_rule_;</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  }</div></div><!-- fragment --> </div> </div> <a id="a4b1c1233448c8e9b25a18699b4505bbc"></a> <h2 class="memtitle"><span class="permalink"><a href="#a4b1c1233448c8e9b25a18699b4505bbc">◆ </a></span>right_tab_type()</h2> <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="a00209.html#a6d0b33e703e1291d0b60d4fe5a5e12cc">TabType</a> BLOBNBOX::right_tab_type </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00262">262</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  {</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  <span class="keywordflow">return</span> right_tab_type_;</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  }</div></div><!-- fragment --> </div> </div> <a id="a8f79871ca8d190fc7ceaebbdf7fad379"></a> <h2 class="memtitle"><span class="permalink"><a href="#a8f79871ca8d190fc7ceaebbdf7fad379">◆ </a></span>rotate()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::rotate </td> <td>(</td> <td class="paramtype"><a class="el" href="a02681.html">FCOORD</a> </td> <td class="paramname"><em>rotation</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00206_source.html#l00050">50</a> of file <a class="el" href="a00206_source.html">blobbox.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  {</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  cblob_ptr-><a class="code" href="a02737.html#ab539eb777a99ccc8cb5181ce843abe4b">rotate</a>(rotation);</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <a class="code" href="a02481.html#a3f37300a9cdd252ca74df4a725787587">rotate_box</a>(rotation);</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <a class="code" href="a02481.html#a32d07b97c559e7f7f7c58323491aedec">compute_bounding_box</a>();</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> }</div><div class="ttc" id="a02737_html_ab539eb777a99ccc8cb5181ce843abe4b"><div class="ttname"><a href="a02737.html#ab539eb777a99ccc8cb5181ce843abe4b">C_BLOB::rotate</a></div><div class="ttdeci">void rotate(const FCOORD &rotation)</div><div class="ttdef"><b>Definition:</b> <a href="a00428_source.html#l00387">stepblob.cpp:387</a></div></div> <div class="ttc" id="a02481_html_a3f37300a9cdd252ca74df4a725787587"><div class="ttname"><a href="a02481.html#a3f37300a9cdd252ca74df4a725787587">BLOBNBOX::rotate_box</a></div><div class="ttdeci">void rotate_box(FCOORD rotation)</div><div class="ttdef"><b>Definition:</b> <a href="a00206_source.html#l00066">blobbox.cpp:66</a></div></div> <div class="ttc" id="a02481_html_a32d07b97c559e7f7f7c58323491aedec"><div class="ttname"><a href="a02481.html#a32d07b97c559e7f7f7c58323491aedec">BLOBNBOX::compute_bounding_box</a></div><div class="ttdeci">void compute_bounding_box()</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00225">blobbox.h:225</a></div></div> </div><!-- fragment --> </div> </div> <a id="a3f37300a9cdd252ca74df4a725787587"></a> <h2 class="memtitle"><span class="permalink"><a href="#a3f37300a9cdd252ca74df4a725787587">◆ </a></span>rotate_box()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::rotate_box </td> <td>(</td> <td class="paramtype"><a class="el" href="a02681.html">FCOORD</a> </td> <td class="paramname"><em>rotation</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00206_source.html#l00066">66</a> of file <a class="el" href="a00206_source.html">blobbox.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  {</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordflow">if</span> (<a class="code" href="a02481.html#a7b618cf09fe3a4c82f896fca88a0bc59">IsDiacritic</a>()) {</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <a class="code" href="a00500.html#a93a603f4063a6b9403d81caa245a583b">ASSERT_HOST</a>(rotation.<a class="code" href="a02681.html#aecd85311c159bcd52b485a97a8dcc901">x</a>() >= <a class="code" href="a00206.html#a0d8f9fe1ab0658d385ae28ec3955286b">kCosSmallAngle</a>)</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <a class="code" href="a02673.html">ICOORD</a> top_pt((box.<a class="code" href="a02713.html#affd18574697b2b707cee416f7cdccb1f">left</a>() + box.<a class="code" href="a02713.html#a54de49d8654e35d5221c7cdc20e2662f">right</a>()) / 2, base_char_top_);</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <a class="code" href="a02673.html">ICOORD</a> bottom_pt(top_pt.x(), base_char_bottom_);</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  top_pt.<a class="code" href="a02673.html#aaedd825587ccb78583bbd6717793faea">rotate</a>(rotation);</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  base_char_top_ = top_pt.y();</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  bottom_pt.rotate(rotation);</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  base_char_bottom_ = bottom_pt.y();</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  box.<a class="code" href="a02713.html#a428e14544aeb44064bc8637d920211a0">rotate</a>(rotation);</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  box.<a class="code" href="a02713.html#a428e14544aeb44064bc8637d920211a0">rotate</a>(rotation);</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="a02481.html#af354be28840859b8a4b593aa6db467f2">set_diacritic_box</a>(box);</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  }</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> }</div><div class="ttc" id="a02713_html_a428e14544aeb44064bc8637d920211a0"><div class="ttname"><a href="a02713.html#a428e14544aeb44064bc8637d920211a0">TBOX::rotate</a></div><div class="ttdeci">void rotate(const FCOORD &vec)</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00189">rect.h:189</a></div></div> <div class="ttc" id="a02673_html"><div class="ttname"><a href="a02673.html">ICOORD</a></div><div class="ttdoc">integer coordinate </div><div class="ttdef"><b>Definition:</b> <a href="a00356_source.html#l00030">points.h:30</a></div></div> <div class="ttc" id="a02481_html_af354be28840859b8a4b593aa6db467f2"><div class="ttname"><a href="a02481.html#af354be28840859b8a4b593aa6db467f2">BLOBNBOX::set_diacritic_box</a></div><div class="ttdeci">void set_diacritic_box(const TBOX &diacritic_box)</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00383">blobbox.h:383</a></div></div> <div class="ttc" id="a00206_html_a0d8f9fe1ab0658d385ae28ec3955286b"><div class="ttname"><a href="a00206.html#a0d8f9fe1ab0658d385ae28ec3955286b">kCosSmallAngle</a></div><div class="ttdeci">const double kCosSmallAngle</div><div class="ttdef"><b>Definition:</b> <a href="a00206_source.html#l00039">blobbox.cpp:39</a></div></div> <div class="ttc" id="a02713_html_affd18574697b2b707cee416f7cdccb1f"><div class="ttname"><a href="a02713.html#affd18574697b2b707cee416f7cdccb1f">TBOX::left</a></div><div class="ttdeci">inT16 left() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00068">rect.h:68</a></div></div> <div class="ttc" id="a02673_html_aaedd825587ccb78583bbd6717793faea"><div class="ttname"><a href="a02673.html#aaedd825587ccb78583bbd6717793faea">ICOORD::rotate</a></div><div class="ttdeci">void rotate(const FCOORD &vec)</div><div class="ttdef"><b>Definition:</b> <a href="a00284_source.html#l00241">ipoints.h:241</a></div></div> <div class="ttc" id="a02681_html_aecd85311c159bcd52b485a97a8dcc901"><div class="ttname"><a href="a02681.html#aecd85311c159bcd52b485a97a8dcc901">FCOORD::x</a></div><div class="ttdeci">float x() const</div><div class="ttdef"><b>Definition:</b> <a href="a00356_source.html#l00209">points.h:209</a></div></div> <div class="ttc" id="a02481_html_a7b618cf09fe3a4c82f896fca88a0bc59"><div class="ttname"><a href="a02481.html#a7b618cf09fe3a4c82f896fca88a0bc59">BLOBNBOX::IsDiacritic</a></div><div class="ttdeci">bool IsDiacritic() const</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00365">blobbox.h:365</a></div></div> <div class="ttc" id="a02713_html_a54de49d8654e35d5221c7cdc20e2662f"><div class="ttname"><a href="a02713.html#a54de49d8654e35d5221c7cdc20e2662f">TBOX::right</a></div><div class="ttdeci">inT16 right() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00075">rect.h:75</a></div></div> <div class="ttc" id="a00500_html_a93a603f4063a6b9403d81caa245a583b"><div class="ttname"><a href="a00500.html#a93a603f4063a6b9403d81caa245a583b">ASSERT_HOST</a></div><div class="ttdeci">#define ASSERT_HOST(x)</div><div class="ttdef"><b>Definition:</b> <a href="a00500_source.html#l00084">errcode.h:84</a></div></div> </div><!-- fragment --> </div> </div> <a id="a6f9b52a46f0c77c395c0a03a99270ac8"></a> <h2 class="memtitle"><span class="permalink"><a href="#a6f9b52a46f0c77c395c0a03a99270ac8">◆ </a></span>set_base_char_blob()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::set_base_char_blob </td> <td>(</td> <td class="paramtype"><a class="el" href="a02481.html">BLOBNBOX</a> * </td> <td class="paramname"><em>blob</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00390">390</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  {</div><div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  base_char_blob_ = blob;</div><div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  }</div></div><!-- fragment --> </div> </div> <a id="a8f076c06c79a5d3637d2f2f3b03a1a85"></a> <h2 class="memtitle"><span class="permalink"><a href="#a8f076c06c79a5d3637d2f2f3b03a1a85">◆ </a></span>set_bounding_box()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::set_bounding_box </td> <td>(</td> <td class="paramtype">const <a class="el" href="a02713.html">TBOX</a> & </td> <td class="paramname"><em>new_box</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00220">220</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  {</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  box = new_box;</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  base_char_top_ = box.<a class="code" href="a02713.html#ac5ecdfbd33963eac601ccb67ac63dd2a">top</a>();</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  base_char_bottom_ = box.<a class="code" href="a02713.html#ae20440e936439218b9dfe267b8a37b4a">bottom</a>();</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  }</div><div class="ttc" id="a02713_html_ae20440e936439218b9dfe267b8a37b4a"><div class="ttname"><a href="a02713.html#ae20440e936439218b9dfe267b8a37b4a">TBOX::bottom</a></div><div class="ttdeci">inT16 bottom() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00061">rect.h:61</a></div></div> <div class="ttc" id="a02713_html_ac5ecdfbd33963eac601ccb67ac63dd2a"><div class="ttname"><a href="a02713.html#ac5ecdfbd33963eac601ccb67ac63dd2a">TBOX::top</a></div><div class="ttdeci">inT16 top() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00054">rect.h:54</a></div></div> </div><!-- fragment --> </div> </div> <a id="af354be28840859b8a4b593aa6db467f2"></a> <h2 class="memtitle"><span class="permalink"><a href="#af354be28840859b8a4b593aa6db467f2">◆ </a></span>set_diacritic_box()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::set_diacritic_box </td> <td>(</td> <td class="paramtype">const <a class="el" href="a02713.html">TBOX</a> & </td> <td class="paramname"><em>diacritic_box</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00383">383</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  {</div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  base_char_top_ = diacritic_box.<a class="code" href="a02713.html#ac5ecdfbd33963eac601ccb67ac63dd2a">top</a>();</div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  base_char_bottom_ = diacritic_box.<a class="code" href="a02713.html#ae20440e936439218b9dfe267b8a37b4a">bottom</a>();</div><div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  }</div><div class="ttc" id="a02713_html_ae20440e936439218b9dfe267b8a37b4a"><div class="ttname"><a href="a02713.html#ae20440e936439218b9dfe267b8a37b4a">TBOX::bottom</a></div><div class="ttdeci">inT16 bottom() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00061">rect.h:61</a></div></div> <div class="ttc" id="a02713_html_ac5ecdfbd33963eac601ccb67ac63dd2a"><div class="ttname"><a href="a02713.html#ac5ecdfbd33963eac601ccb67ac63dd2a">TBOX::top</a></div><div class="ttdeci">inT16 top() const</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00054">rect.h:54</a></div></div> </div><!-- fragment --> </div> </div> <a id="a75340334988feba52ce36ba596750a35"></a> <h2 class="memtitle"><span class="permalink"><a href="#a75340334988feba52ce36ba596750a35">◆ </a></span>set_flow()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::set_flow </td> <td>(</td> <td class="paramtype"><a class="el" href="a00209.html#aa72f1499398e9694bf46752e1cc895e1">BlobTextFlowType</a> </td> <td class="paramname"><em>value</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00283">283</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  {</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  flow_ = value;</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  }</div></div><!-- fragment --> </div> </div> <a id="a49a43bb4c47b434aa36ad79ea53a0485"></a> <h2 class="memtitle"><span class="permalink"><a href="#a49a43bb4c47b434aa36ad79ea53a0485">◆ </a></span>set_horz_possible()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::set_horz_possible </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>value</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00295">295</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  {</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  horz_possible_ = value;</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  }</div></div><!-- fragment --> </div> </div> <a id="ab8e3703ad9c72b61dedafb61c4b32358"></a> <h2 class="memtitle"><span class="permalink"><a href="#ab8e3703ad9c72b61dedafb61c4b32358">◆ </a></span>set_horz_stroke_width()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::set_horz_stroke_width </td> <td>(</td> <td class="paramtype">float </td> <td class="paramname"><em>width</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00325">325</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  {</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  horz_stroke_width_ = width;</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  }</div></div><!-- fragment --> </div> </div> <a id="a6e6bb579df4620ecf4a1bdc46bc21d60"></a> <h2 class="memtitle"><span class="permalink"><a href="#a6e6bb579df4620ecf4a1bdc46bc21d60">◆ </a></span>set_leader_on_left()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::set_leader_on_left </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>flag</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00346">346</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  {</div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  leader_on_left_ = flag;</div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  }</div></div><!-- fragment --> </div> </div> <a id="a0bc3500cc908c86d40c828358063797a"></a> <h2 class="memtitle"><span class="permalink"><a href="#a0bc3500cc908c86d40c828358063797a">◆ </a></span>set_leader_on_right()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::set_leader_on_right </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>flag</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00352">352</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  {</div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  leader_on_right_ = flag;</div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  }</div></div><!-- fragment --> </div> </div> <a id="af1c12b91267640dc5634f8992f96cb1a"></a> <h2 class="memtitle"><span class="permalink"><a href="#af1c12b91267640dc5634f8992f96cb1a">◆ </a></span>set_left_crossing_rule()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::set_left_crossing_rule </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>new_left</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00313">313</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  {</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  left_crossing_rule_ = new_left;</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  }</div></div><!-- fragment --> </div> </div> <a id="a37c2f715b4cb67ae8ec6a507dd029787"></a> <h2 class="memtitle"><span class="permalink"><a href="#a37c2f715b4cb67ae8ec6a507dd029787">◆ </a></span>set_left_rule()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::set_left_rule </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>new_left</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00301">301</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  {</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  left_rule_ = new_left;</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  }</div></div><!-- fragment --> </div> </div> <a id="a098a0c7864a31569db4c32e32f54504c"></a> <h2 class="memtitle"><span class="permalink"><a href="#a098a0c7864a31569db4c32e32f54504c">◆ </a></span>set_left_tab_type()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::set_left_tab_type </td> <td>(</td> <td class="paramtype"><a class="el" href="a00209.html#a6d0b33e703e1291d0b60d4fe5a5e12cc">TabType</a> </td> <td class="paramname"><em>new_type</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00259">259</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  {</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  left_tab_type_ = new_type;</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  }</div></div><!-- fragment --> </div> </div> <a id="a567e99fc9c08dfebbe144eb520c1322f"></a> <h2 class="memtitle"><span class="permalink"><a href="#a567e99fc9c08dfebbe144eb520c1322f">◆ </a></span>set_line_crossings()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::set_line_crossings </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>value</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00380">380</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  {</div><div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  line_crossings_ = value;</div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  }</div></div><!-- fragment --> </div> </div> <a id="a80beaf33ba73b0145cdc6a53ce774465"></a> <h2 class="memtitle"><span class="permalink"><a href="#a80beaf33ba73b0145cdc6a53ce774465">◆ </a></span>set_neighbour()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::set_neighbour </td> <td>(</td> <td class="paramtype"><a class="el" href="a00209.html#a4974474b3b161b68355d9a16eeaa3883">BlobNeighbourDir</a> </td> <td class="paramname"><em>n</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a02481.html">BLOBNBOX</a> * </td> <td class="paramname"><em>neighbour</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>good</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">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00361">361</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  {</div><div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  neighbours_[n] = <a class="code" href="a02481.html#a018ff218c54fb4d12303543dce5cfc86">neighbour</a>;</div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  good_stroke_neighbours_[n] = good;</div><div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  }</div><div class="ttc" id="a02481_html_a018ff218c54fb4d12303543dce5cfc86"><div class="ttname"><a href="a02481.html#a018ff218c54fb4d12303543dce5cfc86">BLOBNBOX::neighbour</a></div><div class="ttdeci">BLOBNBOX * neighbour(BlobNeighbourDir n) const</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00355">blobbox.h:355</a></div></div> </div><!-- fragment --> </div> </div> <a id="ad573c3bea7351dd2cbdaaffa2ff11c58"></a> <h2 class="memtitle"><span class="permalink"><a href="#ad573c3bea7351dd2cbdaaffa2ff11c58">◆ </a></span>set_owner()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::set_owner </td> <td>(</td> <td class="paramtype"><a class="el" href="a04737.html">tesseract::ColPartition</a> * </td> <td class="paramname"><em>new_owner</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00340">340</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  {</div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  owner_ = new_owner;</div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  }</div></div><!-- fragment --> </div> </div> <a id="a36d0adee98d4086fcdd5e37be557f28b"></a> <h2 class="memtitle"><span class="permalink"><a href="#a36d0adee98d4086fcdd5e37be557f28b">◆ </a></span>set_owns_cblob()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::set_owns_cblob </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>value</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00393">393</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00393"></a><span class="lineno"> 393</span> { owns_cblob_ = value; }</div></div><!-- fragment --> </div> </div> <a id="a4a160da41a3fa28a30d478a99fd80cce"></a> <h2 class="memtitle"><span class="permalink"><a href="#a4a160da41a3fa28a30d478a99fd80cce">◆ </a></span>set_reduced_box()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::set_reduced_box </td> <td>(</td> <td class="paramtype"><a class="el" href="a02713.html">TBOX</a> </td> <td class="paramname"><em>new_box</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00234">234</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  {</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  red_box = new_box;</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  reduced = <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a>;</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  }</div><div class="ttc" id="a00014_html_aa8cecfc5c5c054d2875c03e77b7be15d"><div class="ttname"><a href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a></div><div class="ttdeci">#define TRUE</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00045">capi.h:45</a></div></div> </div><!-- fragment --> </div> </div> <a id="a9b58644d9ad4f0d01193f47f55dd884f"></a> <h2 class="memtitle"><span class="permalink"><a href="#a9b58644d9ad4f0d01193f47f55dd884f">◆ </a></span>set_region_type()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::set_region_type </td> <td>(</td> <td class="paramtype"><a class="el" href="a00209.html#aebfaf711760a99b60c297d1d619df575">BlobRegionType</a> </td> <td class="paramname"><em>new_type</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00271">271</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  {</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  region_type_ = new_type;</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  }</div></div><!-- fragment --> </div> </div> <a id="a4c2b662bd87162e3a0de4fe96845a449"></a> <h2 class="memtitle"><span class="permalink"><a href="#a4c2b662bd87162e3a0de4fe96845a449">◆ </a></span>set_repeated_set()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::set_repeated_set </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>set_id</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00250">250</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  {</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  repeated_set_ = set_id;</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  }</div></div><!-- fragment --> </div> </div> <a id="a234b1b56e0790a98a0c549a36580ca60"></a> <h2 class="memtitle"><span class="permalink"><a href="#a234b1b56e0790a98a0c549a36580ca60">◆ </a></span>set_right_crossing_rule()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::set_right_crossing_rule </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>new_right</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00319">319</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  {</div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  right_crossing_rule_ = new_right;</div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  }</div></div><!-- fragment --> </div> </div> <a id="ae90db382b3842419f291ae29dd7cd778"></a> <h2 class="memtitle"><span class="permalink"><a href="#ae90db382b3842419f291ae29dd7cd778">◆ </a></span>set_right_rule()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::set_right_rule </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>new_right</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00307">307</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  {</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  right_rule_ = new_right;</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  }</div></div><!-- fragment --> </div> </div> <a id="a2a26da567144a5131817df4a23e9ec31"></a> <h2 class="memtitle"><span class="permalink"><a href="#a2a26da567144a5131817df4a23e9ec31">◆ </a></span>set_right_tab_type()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::set_right_tab_type </td> <td>(</td> <td class="paramtype"><a class="el" href="a00209.html#a6d0b33e703e1291d0b60d4fe5a5e12cc">TabType</a> </td> <td class="paramname"><em>new_type</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00265">265</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  {</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  right_tab_type_ = new_type;</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  }</div></div><!-- fragment --> </div> </div> <a id="a1650427df7e6b935dd737ad9eb70c36b"></a> <h2 class="memtitle"><span class="permalink"><a href="#a1650427df7e6b935dd737ad9eb70c36b">◆ </a></span>set_special_text_type()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::set_special_text_type </td> <td>(</td> <td class="paramtype"><a class="el" href="a00209.html#a75b089d27e1df813fed544e0c131df8c">BlobSpecialTextType</a> </td> <td class="paramname"><em>new_type</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00277">277</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  {</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  spt_type_ = new_type;</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  }</div></div><!-- fragment --> </div> </div> <a id="a500153b288f379ebabbeaa18a7005d04"></a> <h2 class="memtitle"><span class="permalink"><a href="#a500153b288f379ebabbeaa18a7005d04">◆ </a></span>set_vert_possible()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::set_vert_possible </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>value</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00289">289</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  {</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  vert_possible_ = value;</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  }</div></div><!-- fragment --> </div> </div> <a id="aeb808226b8dd08e875eb3cf38a61a6d5"></a> <h2 class="memtitle"><span class="permalink"><a href="#aeb808226b8dd08e875eb3cf38a61a6d5">◆ </a></span>set_vert_stroke_width()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::set_vert_stroke_width </td> <td>(</td> <td class="paramtype">float </td> <td class="paramname"><em>width</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00331">331</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  {</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  vert_stroke_width_ = width;</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  }</div></div><!-- fragment --> </div> </div> <a id="a79b752b4d1c29649d56006acb960aa13"></a> <h2 class="memtitle"><span class="permalink"><a href="#a79b752b4d1c29649d56006acb960aa13">◆ </a></span>special_text_type()</h2> <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="a00209.html#a75b089d27e1df813fed544e0c131df8c">BlobSpecialTextType</a> BLOBNBOX::special_text_type </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00274">274</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  {</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <span class="keywordflow">return</span> spt_type_;</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  }</div></div><!-- fragment --> </div> </div> <a id="a7351d74f423975d676f47e4dc05e267f"></a> <h2 class="memtitle"><span class="permalink"><a href="#a7351d74f423975d676f47e4dc05e267f">◆ </a></span>TextlineColor()</h2> <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="a04929.html#a100504544a5423a94222149ee9ed0fe8">ScrollView::Color</a> BLOBNBOX::TextlineColor </td> <td>(</td> <td class="paramtype"><a class="el" href="a00209.html#aebfaf711760a99b60c297d1d619df575">BlobRegionType</a> </td> <td class="paramname"><em>region_type</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00209.html#aa72f1499398e9694bf46752e1cc895e1">BlobTextFlowType</a> </td> <td class="paramname"><em>flow_type</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 class="definition">Definition at line <a class="el" href="a00206_source.html#l00439">439</a> of file <a class="el" href="a00206_source.html">blobbox.cpp</a>.</p> <div class="fragment"><div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  {</div><div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  <span class="keywordflow">switch</span> (<a class="code" href="a02481.html#a3dc754fce829ae3287ad782cc567ff7e">region_type</a>) {</div><div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  <span class="keywordflow">case</span> <a class="code" href="a00209.html#aebfaf711760a99b60c297d1d619df575a56cc149e97b34634dd39babda79ea17d">BRT_HLINE</a>:</div><div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  <span class="keywordflow">return</span> <a class="code" href="a04929.html#a100504544a5423a94222149ee9ed0fe8a3147083bcb68eb690858099c736e6857">ScrollView::BROWN</a>;</div><div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  <span class="keywordflow">case</span> <a class="code" href="a00209.html#aebfaf711760a99b60c297d1d619df575a5d6cbdd0674e727feda3085026646f6a">BRT_VLINE</a>:</div><div class="line"><a name="l00445"></a><span class="lineno"> 445</span>  <span class="keywordflow">return</span> <a class="code" href="a04929.html#a100504544a5423a94222149ee9ed0fe8acf8b3fe79bd99f51b05b218a8b0c5ee5">ScrollView::DARK_GREEN</a>;</div><div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  <span class="keywordflow">case</span> <a class="code" href="a00209.html#aebfaf711760a99b60c297d1d619df575a15e526e8dd226bd4d7678da6dcddb49b">BRT_RECTIMAGE</a>:</div><div class="line"><a name="l00447"></a><span class="lineno"> 447</span>  <span class="keywordflow">return</span> <a class="code" href="a04929.html#a100504544a5423a94222149ee9ed0fe8a0959f7470b08ae1a38aa7e38fba29402">ScrollView::RED</a>;</div><div class="line"><a name="l00448"></a><span class="lineno"> 448</span>  <span class="keywordflow">case</span> <a class="code" href="a00209.html#aebfaf711760a99b60c297d1d619df575a3b72528ad70da88719f0479bc8c5a190">BRT_POLYIMAGE</a>:</div><div class="line"><a name="l00449"></a><span class="lineno"> 449</span>  <span class="keywordflow">return</span> <a class="code" href="a04929.html#a100504544a5423a94222149ee9ed0fe8a0691e22f5da865103a497f9503269a61">ScrollView::ORANGE</a>;</div><div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  <span class="keywordflow">case</span> <a class="code" href="a00209.html#aebfaf711760a99b60c297d1d619df575a8a98863f18016aa4ccfd2d07dbb092a4">BRT_UNKNOWN</a>:</div><div class="line"><a name="l00451"></a><span class="lineno"> 451</span>  <span class="keywordflow">return</span> flow_type == <a class="code" href="a00209.html#aa72f1499398e9694bf46752e1cc895e1af99f0c54b98b6c7a0dd5d5f0b5dc635d">BTFT_NONTEXT</a> ? <a class="code" href="a04929.html#a100504544a5423a94222149ee9ed0fe8a6703ffaadb6c67affacbd0e7da63ef37">ScrollView::CYAN</a> : <a class="code" href="a04929.html#a100504544a5423a94222149ee9ed0fe8a0eab2b208fc9a5e2774f92cf3e768982">ScrollView::WHITE</a>;</div><div class="line"><a name="l00452"></a><span class="lineno"> 452</span>  <span class="keywordflow">case</span> <a class="code" href="a00209.html#aebfaf711760a99b60c297d1d619df575aea2da025a50db20db8213f96495dd4a6">BRT_VERT_TEXT</a>:</div><div class="line"><a name="l00453"></a><span class="lineno"> 453</span>  <span class="keywordflow">if</span> (flow_type == <a class="code" href="a00209.html#aa72f1499398e9694bf46752e1cc895e1ac6822a7999424340562c785a3fd95daa">BTFT_STRONG_CHAIN</a> || flow_type == <a class="code" href="a00209.html#aa72f1499398e9694bf46752e1cc895e1a1936f281ab87277e7ef0ba576920dc10">BTFT_TEXT_ON_IMAGE</a>)</div><div class="line"><a name="l00454"></a><span class="lineno"> 454</span>  <span class="keywordflow">return</span> <a class="code" href="a04929.html#a100504544a5423a94222149ee9ed0fe8a9d8c87be486dead41d198d6b97a22174">ScrollView::GREEN</a>;</div><div class="line"><a name="l00455"></a><span class="lineno"> 455</span>  <span class="keywordflow">if</span> (flow_type == <a class="code" href="a00209.html#aa72f1499398e9694bf46752e1cc895e1a8fa903eb3c633ef681659563769a8007">BTFT_CHAIN</a>)</div><div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  <span class="keywordflow">return</span> <a class="code" href="a04929.html#a100504544a5423a94222149ee9ed0fe8a3312de9754e4e61d9a699f23528a059a">ScrollView::LIME_GREEN</a>;</div><div class="line"><a name="l00457"></a><span class="lineno"> 457</span>  <span class="keywordflow">return</span> <a class="code" href="a04929.html#a100504544a5423a94222149ee9ed0fe8a61dec9bc0aaf1d527a731b2a6ce055c8">ScrollView::YELLOW</a>;</div><div class="line"><a name="l00458"></a><span class="lineno"> 458</span>  <span class="keywordflow">case</span> <a class="code" href="a00209.html#aebfaf711760a99b60c297d1d619df575a4f0b1431532d0e838187df32f2e822d7">BRT_TEXT</a>:</div><div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  <span class="keywordflow">if</span> (flow_type == <a class="code" href="a00209.html#aa72f1499398e9694bf46752e1cc895e1ac6822a7999424340562c785a3fd95daa">BTFT_STRONG_CHAIN</a>)</div><div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  <span class="keywordflow">return</span> <a class="code" href="a04929.html#a100504544a5423a94222149ee9ed0fe8a66e5117e4930fdd9a43bdb674d57a719">ScrollView::BLUE</a>;</div><div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  <span class="keywordflow">if</span> (flow_type == <a class="code" href="a00209.html#aa72f1499398e9694bf46752e1cc895e1a1936f281ab87277e7ef0ba576920dc10">BTFT_TEXT_ON_IMAGE</a>)</div><div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  <span class="keywordflow">return</span> <a class="code" href="a04929.html#a100504544a5423a94222149ee9ed0fe8a93aaf384b4a674f176e3dd1655c1ad95">ScrollView::LIGHT_BLUE</a>;</div><div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  <span class="keywordflow">if</span> (flow_type == <a class="code" href="a00209.html#aa72f1499398e9694bf46752e1cc895e1a8fa903eb3c633ef681659563769a8007">BTFT_CHAIN</a>)</div><div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  <span class="keywordflow">return</span> <a class="code" href="a04929.html#a100504544a5423a94222149ee9ed0fe8ab459c1b60d132f4cb53178cb078fb7e7">ScrollView::MEDIUM_BLUE</a>;</div><div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  <span class="keywordflow">if</span> (flow_type == <a class="code" href="a00209.html#aa72f1499398e9694bf46752e1cc895e1a64e3e70c4fac4d4e3facdb4638307d7f">BTFT_LEADER</a>)</div><div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  <span class="keywordflow">return</span> <a class="code" href="a04929.html#a100504544a5423a94222149ee9ed0fe8a197ffcc7c5e23c5b81a219949486ac38">ScrollView::WHEAT</a>;</div><div class="line"><a name="l00467"></a><span class="lineno"> 467</span>  <span class="keywordflow">if</span> (flow_type == <a class="code" href="a00209.html#aa72f1499398e9694bf46752e1cc895e1af99f0c54b98b6c7a0dd5d5f0b5dc635d">BTFT_NONTEXT</a>)</div><div class="line"><a name="l00468"></a><span class="lineno"> 468</span>  <span class="keywordflow">return</span> <a class="code" href="a04929.html#a100504544a5423a94222149ee9ed0fe8aee71d1b0400315f55f86c9723631a10e">ScrollView::PINK</a>;</div><div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  <span class="keywordflow">return</span> <a class="code" href="a04929.html#a100504544a5423a94222149ee9ed0fe8aebeaaeee353c6f04b4498b1fef94bbb3">ScrollView::MAGENTA</a>;</div><div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00471"></a><span class="lineno"> 471</span>  <span class="keywordflow">return</span> <a class="code" href="a04929.html#a100504544a5423a94222149ee9ed0fe8a7bba33cbbab6aaa71dce1aad46ecc3a5">ScrollView::GREY</a>;</div><div class="line"><a name="l00472"></a><span class="lineno"> 472</span>  }</div><div class="line"><a name="l00473"></a><span class="lineno"> 473</span> }</div><div class="ttc" id="a00209_html_aa72f1499398e9694bf46752e1cc895e1ac6822a7999424340562c785a3fd95daa"><div class="ttname"><a href="a00209.html#aa72f1499398e9694bf46752e1cc895e1ac6822a7999424340562c785a3fd95daa">BTFT_STRONG_CHAIN</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00104">blobbox.h:104</a></div></div> <div class="ttc" id="a04929_html_a100504544a5423a94222149ee9ed0fe8a3312de9754e4e61d9a699f23528a059a"><div class="ttname"><a href="a04929.html#a100504544a5423a94222149ee9ed0fe8a3312de9754e4e61d9a699f23528a059a">ScrollView::LIME_GREEN</a></div><div class="ttdef"><b>Definition:</b> <a href="a01610_source.html#l00132">scrollview.h:132</a></div></div> <div class="ttc" id="a04929_html_a100504544a5423a94222149ee9ed0fe8a61dec9bc0aaf1d527a731b2a6ce055c8"><div class="ttname"><a href="a04929.html#a100504544a5423a94222149ee9ed0fe8a61dec9bc0aaf1d527a731b2a6ce055c8">ScrollView::YELLOW</a></div><div class="ttdef"><b>Definition:</b> <a href="a01610_source.html#l00110">scrollview.h:110</a></div></div> <div class="ttc" id="a00209_html_aa72f1499398e9694bf46752e1cc895e1a1936f281ab87277e7ef0ba576920dc10"><div class="ttname"><a href="a00209.html#aa72f1499398e9694bf46752e1cc895e1a1936f281ab87277e7ef0ba576920dc10">BTFT_TEXT_ON_IMAGE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00105">blobbox.h:105</a></div></div> <div class="ttc" id="a04929_html_a100504544a5423a94222149ee9ed0fe8a197ffcc7c5e23c5b81a219949486ac38"><div class="ttname"><a href="a04929.html#a100504544a5423a94222149ee9ed0fe8a197ffcc7c5e23c5b81a219949486ac38">ScrollView::WHEAT</a></div><div class="ttdef"><b>Definition:</b> <a href="a01610_source.html#l00153">scrollview.h:153</a></div></div> <div class="ttc" id="a04929_html_a100504544a5423a94222149ee9ed0fe8a9d8c87be486dead41d198d6b97a22174"><div class="ttname"><a href="a04929.html#a100504544a5423a94222149ee9ed0fe8a9d8c87be486dead41d198d6b97a22174">ScrollView::GREEN</a></div><div class="ttdef"><b>Definition:</b> <a href="a01610_source.html#l00111">scrollview.h:111</a></div></div> <div class="ttc" id="a04929_html_a100504544a5423a94222149ee9ed0fe8a0691e22f5da865103a497f9503269a61"><div class="ttname"><a href="a04929.html#a100504544a5423a94222149ee9ed0fe8a0691e22f5da865103a497f9503269a61">ScrollView::ORANGE</a></div><div class="ttdef"><b>Definition:</b> <a href="a01610_source.html#l00141">scrollview.h:141</a></div></div> <div class="ttc" id="a04929_html_a100504544a5423a94222149ee9ed0fe8a93aaf384b4a674f176e3dd1655c1ad95"><div class="ttname"><a href="a04929.html#a100504544a5423a94222149ee9ed0fe8a93aaf384b4a674f176e3dd1655c1ad95">ScrollView::LIGHT_BLUE</a></div><div class="ttdef"><b>Definition:</b> <a href="a01610_source.html#l00117">scrollview.h:117</a></div></div> <div class="ttc" id="a00209_html_aebfaf711760a99b60c297d1d619df575a8a98863f18016aa4ccfd2d07dbb092a4"><div class="ttname"><a href="a00209.html#aebfaf711760a99b60c297d1d619df575a8a98863f18016aa4ccfd2d07dbb092a4">BRT_UNKNOWN</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00063">blobbox.h:63</a></div></div> <div class="ttc" id="a00209_html_aa72f1499398e9694bf46752e1cc895e1af99f0c54b98b6c7a0dd5d5f0b5dc635d"><div class="ttname"><a href="a00209.html#aa72f1499398e9694bf46752e1cc895e1af99f0c54b98b6c7a0dd5d5f0b5dc635d">BTFT_NONTEXT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00101">blobbox.h:101</a></div></div> <div class="ttc" id="a04929_html_a100504544a5423a94222149ee9ed0fe8a0eab2b208fc9a5e2774f92cf3e768982"><div class="ttname"><a href="a04929.html#a100504544a5423a94222149ee9ed0fe8a0eab2b208fc9a5e2774f92cf3e768982">ScrollView::WHITE</a></div><div class="ttdef"><b>Definition:</b> <a href="a01610_source.html#l00108">scrollview.h:108</a></div></div> <div class="ttc" id="a00209_html_aebfaf711760a99b60c297d1d619df575a4f0b1431532d0e838187df32f2e822d7"><div class="ttname"><a href="a00209.html#aebfaf711760a99b60c297d1d619df575a4f0b1431532d0e838187df32f2e822d7">BRT_TEXT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00065">blobbox.h:65</a></div></div> <div class="ttc" id="a04929_html_a100504544a5423a94222149ee9ed0fe8a0959f7470b08ae1a38aa7e38fba29402"><div class="ttname"><a href="a04929.html#a100504544a5423a94222149ee9ed0fe8a0959f7470b08ae1a38aa7e38fba29402">ScrollView::RED</a></div><div class="ttdef"><b>Definition:</b> <a href="a01610_source.html#l00109">scrollview.h:109</a></div></div> <div class="ttc" id="a00209_html_aebfaf711760a99b60c297d1d619df575a56cc149e97b34634dd39babda79ea17d"><div class="ttname"><a href="a00209.html#aebfaf711760a99b60c297d1d619df575a56cc149e97b34634dd39babda79ea17d">BRT_HLINE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00059">blobbox.h:59</a></div></div> <div class="ttc" id="a00209_html_aebfaf711760a99b60c297d1d619df575a5d6cbdd0674e727feda3085026646f6a"><div class="ttname"><a href="a00209.html#aebfaf711760a99b60c297d1d619df575a5d6cbdd0674e727feda3085026646f6a">BRT_VLINE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00060">blobbox.h:60</a></div></div> <div class="ttc" id="a00209_html_aebfaf711760a99b60c297d1d619df575a15e526e8dd226bd4d7678da6dcddb49b"><div class="ttname"><a href="a00209.html#aebfaf711760a99b60c297d1d619df575a15e526e8dd226bd4d7678da6dcddb49b">BRT_RECTIMAGE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00061">blobbox.h:61</a></div></div> <div class="ttc" id="a04929_html_a100504544a5423a94222149ee9ed0fe8a7bba33cbbab6aaa71dce1aad46ecc3a5"><div class="ttname"><a href="a04929.html#a100504544a5423a94222149ee9ed0fe8a7bba33cbbab6aaa71dce1aad46ecc3a5">ScrollView::GREY</a></div><div class="ttdef"><b>Definition:</b> <a href="a01610_source.html#l00138">scrollview.h:138</a></div></div> <div class="ttc" id="a04929_html_a100504544a5423a94222149ee9ed0fe8a6703ffaadb6c67affacbd0e7da63ef37"><div class="ttname"><a href="a04929.html#a100504544a5423a94222149ee9ed0fe8a6703ffaadb6c67affacbd0e7da63ef37">ScrollView::CYAN</a></div><div class="ttdef"><b>Definition:</b> <a href="a01610_source.html#l00112">scrollview.h:112</a></div></div> <div class="ttc" id="a00209_html_aebfaf711760a99b60c297d1d619df575aea2da025a50db20db8213f96495dd4a6"><div class="ttname"><a href="a00209.html#aebfaf711760a99b60c297d1d619df575aea2da025a50db20db8213f96495dd4a6">BRT_VERT_TEXT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00064">blobbox.h:64</a></div></div> <div class="ttc" id="a04929_html_a100504544a5423a94222149ee9ed0fe8ab459c1b60d132f4cb53178cb078fb7e7"><div class="ttname"><a href="a04929.html#a100504544a5423a94222149ee9ed0fe8ab459c1b60d132f4cb53178cb078fb7e7">ScrollView::MEDIUM_BLUE</a></div><div class="ttdef"><b>Definition:</b> <a href="a01610_source.html#l00118">scrollview.h:118</a></div></div> <div class="ttc" id="a04929_html_a100504544a5423a94222149ee9ed0fe8a3147083bcb68eb690858099c736e6857"><div class="ttname"><a href="a04929.html#a100504544a5423a94222149ee9ed0fe8a3147083bcb68eb690858099c736e6857">ScrollView::BROWN</a></div><div class="ttdef"><b>Definition:</b> <a href="a01610_source.html#l00125">scrollview.h:125</a></div></div> <div class="ttc" id="a04929_html_a100504544a5423a94222149ee9ed0fe8a66e5117e4930fdd9a43bdb674d57a719"><div class="ttname"><a href="a04929.html#a100504544a5423a94222149ee9ed0fe8a66e5117e4930fdd9a43bdb674d57a719">ScrollView::BLUE</a></div><div class="ttdef"><b>Definition:</b> <a href="a01610_source.html#l00113">scrollview.h:113</a></div></div> <div class="ttc" id="a04929_html_a100504544a5423a94222149ee9ed0fe8acf8b3fe79bd99f51b05b218a8b0c5ee5"><div class="ttname"><a href="a04929.html#a100504544a5423a94222149ee9ed0fe8acf8b3fe79bd99f51b05b218a8b0c5ee5">ScrollView::DARK_GREEN</a></div><div class="ttdef"><b>Definition:</b> <a href="a01610_source.html#l00129">scrollview.h:129</a></div></div> <div class="ttc" id="a00209_html_aa72f1499398e9694bf46752e1cc895e1a8fa903eb3c633ef681659563769a8007"><div class="ttname"><a href="a00209.html#aa72f1499398e9694bf46752e1cc895e1a8fa903eb3c633ef681659563769a8007">BTFT_CHAIN</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00103">blobbox.h:103</a></div></div> <div class="ttc" id="a02481_html_a3dc754fce829ae3287ad782cc567ff7e"><div class="ttname"><a href="a02481.html#a3dc754fce829ae3287ad782cc567ff7e">BLOBNBOX::region_type</a></div><div class="ttdeci">BlobRegionType region_type() const</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00268">blobbox.h:268</a></div></div> <div class="ttc" id="a00209_html_aebfaf711760a99b60c297d1d619df575a3b72528ad70da88719f0479bc8c5a190"><div class="ttname"><a href="a00209.html#aebfaf711760a99b60c297d1d619df575a3b72528ad70da88719f0479bc8c5a190">BRT_POLYIMAGE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00062">blobbox.h:62</a></div></div> <div class="ttc" id="a04929_html_a100504544a5423a94222149ee9ed0fe8aee71d1b0400315f55f86c9723631a10e"><div class="ttname"><a href="a04929.html#a100504544a5423a94222149ee9ed0fe8aee71d1b0400315f55f86c9723631a10e">ScrollView::PINK</a></div><div class="ttdef"><b>Definition:</b> <a href="a01610_source.html#l00143">scrollview.h:143</a></div></div> <div class="ttc" id="a04929_html_a100504544a5423a94222149ee9ed0fe8aebeaaeee353c6f04b4498b1fef94bbb3"><div class="ttname"><a href="a04929.html#a100504544a5423a94222149ee9ed0fe8aebeaaeee353c6f04b4498b1fef94bbb3">ScrollView::MAGENTA</a></div><div class="ttdef"><b>Definition:</b> <a href="a01610_source.html#l00114">scrollview.h:114</a></div></div> <div class="ttc" id="a00209_html_aa72f1499398e9694bf46752e1cc895e1a64e3e70c4fac4d4e3facdb4638307d7f"><div class="ttname"><a href="a00209.html#aa72f1499398e9694bf46752e1cc895e1a64e3e70c4fac4d4e3facdb4638307d7f">BTFT_LEADER</a></div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00106">blobbox.h:106</a></div></div> </div><!-- fragment --> </div> </div> <a id="ad8c450bb29bba6199db25a1f9ccdc244"></a> <h2 class="memtitle"><span class="permalink"><a href="#ad8c450bb29bba6199db25a1f9ccdc244">◆ </a></span>translate_box()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void BLOBNBOX::translate_box </td> <td>(</td> <td class="paramtype"><a class="el" href="a02673.html">ICOORD</a> </td> <td class="paramname"><em>v</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00159">159</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  {</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keywordflow">if</span> (<a class="code" href="a02481.html#a7b618cf09fe3a4c82f896fca88a0bc59">IsDiacritic</a>()) {</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  box.<a class="code" href="a02713.html#a5fb1ce0d624392f72f82933e63f20e71">move</a>(v);</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  base_char_top_ += v.<a class="code" href="a02673.html#a89a73d28596830e7a72164f87fa5805d">y</a>();</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  base_char_bottom_ += v.<a class="code" href="a02673.html#a89a73d28596830e7a72164f87fa5805d">y</a>();</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  box.<a class="code" href="a02713.html#a5fb1ce0d624392f72f82933e63f20e71">move</a>(v);</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <a class="code" href="a02481.html#af354be28840859b8a4b593aa6db467f2">set_diacritic_box</a>(box);</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  }</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  }</div><div class="ttc" id="a02481_html_af354be28840859b8a4b593aa6db467f2"><div class="ttname"><a href="a02481.html#af354be28840859b8a4b593aa6db467f2">BLOBNBOX::set_diacritic_box</a></div><div class="ttdeci">void set_diacritic_box(const TBOX &diacritic_box)</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00383">blobbox.h:383</a></div></div> <div class="ttc" id="a02713_html_a5fb1ce0d624392f72f82933e63f20e71"><div class="ttname"><a href="a02713.html#a5fb1ce0d624392f72f82933e63f20e71">TBOX::move</a></div><div class="ttdeci">void move(const ICOORD vec)</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00153">rect.h:153</a></div></div> <div class="ttc" id="a02481_html_a7b618cf09fe3a4c82f896fca88a0bc59"><div class="ttname"><a href="a02481.html#a7b618cf09fe3a4c82f896fca88a0bc59">BLOBNBOX::IsDiacritic</a></div><div class="ttdeci">bool IsDiacritic() const</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00365">blobbox.h:365</a></div></div> <div class="ttc" id="a02673_html_a89a73d28596830e7a72164f87fa5805d"><div class="ttname"><a href="a02673.html#a89a73d28596830e7a72164f87fa5805d">ICOORD::y</a></div><div class="ttdeci">inT16 y() const</div><div class="ttdoc">access_function </div><div class="ttdef"><b>Definition:</b> <a href="a00356_source.html#l00056">points.h:56</a></div></div> </div><!-- fragment --> </div> </div> <a id="ad144f853d776022b842073150bae0c33"></a> <h2 class="memtitle"><span class="permalink"><a href="#ad144f853d776022b842073150bae0c33">◆ </a></span>UniquelyHorizontal()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool BLOBNBOX::UniquelyHorizontal </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00398">398</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  {</div><div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  <span class="keywordflow">return</span> horz_possible_ && !vert_possible_;</div><div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  }</div></div><!-- fragment --> </div> </div> <a id="aff1777ad4d187457994a57135b5d5541"></a> <h2 class="memtitle"><span class="permalink"><a href="#aff1777ad4d187457994a57135b5d5541">◆ </a></span>UniquelyVertical()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool BLOBNBOX::UniquelyVertical </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00395">395</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00395"></a><span class="lineno"> 395</span>  {</div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span>  <span class="keywordflow">return</span> vert_possible_ && !horz_possible_;</div><div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  }</div></div><!-- fragment --> </div> </div> <a id="aed57b07f933309970d23490dfc5a5e52"></a> <h2 class="memtitle"><span class="permalink"><a href="#aed57b07f933309970d23490dfc5a5e52">◆ </a></span>UnMergeableType()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static bool BLOBNBOX::UnMergeableType </td> <td>(</td> <td class="paramtype"><a class="el" href="a00209.html#aebfaf711760a99b60c297d1d619df575">BlobRegionType</a> </td> <td class="paramname"><em>type</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00415">415</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  {</div><div class="line"><a name="l00416"></a><span class="lineno"> 416</span>  <span class="keywordflow">return</span> <a class="code" href="a02481.html#a86decfe35457329f062098901d56015f">IsLineType</a>(type) || <a class="code" href="a02481.html#a12fed2b0c8e14c0145019f8f214e4262">IsImageType</a>(type);</div><div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  }</div><div class="ttc" id="a02481_html_a86decfe35457329f062098901d56015f"><div class="ttname"><a href="a02481.html#a86decfe35457329f062098901d56015f">BLOBNBOX::IsLineType</a></div><div class="ttdeci">static bool IsLineType(BlobRegionType type)</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00411">blobbox.h:411</a></div></div> <div class="ttc" id="a02481_html_a12fed2b0c8e14c0145019f8f214e4262"><div class="ttname"><a href="a02481.html#a12fed2b0c8e14c0145019f8f214e4262">BLOBNBOX::IsImageType</a></div><div class="ttdeci">static bool IsImageType(BlobRegionType type)</div><div class="ttdef"><b>Definition:</b> <a href="a00209_source.html#l00407">blobbox.h:407</a></div></div> </div><!-- fragment --> </div> </div> <a id="a567aa38abff23f8d0fe9a87c44022a17"></a> <h2 class="memtitle"><span class="permalink"><a href="#a567aa38abff23f8d0fe9a87c44022a17">◆ </a></span>vert_possible()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool BLOBNBOX::vert_possible </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00286">286</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  {</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <span class="keywordflow">return</span> vert_possible_;</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  }</div></div><!-- fragment --> </div> </div> <a id="a29b3a792e974cc53f5d52fc95ee5463a"></a> <h2 class="memtitle"><span class="permalink"><a href="#a29b3a792e974cc53f5d52fc95ee5463a">◆ </a></span>vert_stroke_width()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">float BLOBNBOX::vert_stroke_width </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00209_source.html#l00328">328</a> of file <a class="el" href="a00209_source.html">blobbox.h</a>.</p> <div class="fragment"><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  {</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  <span class="keywordflow">return</span> vert_stroke_width_;</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  }</div></div><!-- fragment --> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li>ccstruct/<a class="el" href="a00209_source.html">blobbox.h</a></li> <li>ccstruct/<a class="el" href="a00206_source.html">blobbox.cpp</a></li> </ul> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="a02481.html">BLOBNBOX</a></li> <li class="footer">Generated on Mon Oct 29 2018 11:28:00 for tesseract by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li> </ul> </div> </body> </html>