📄 class_t_ocr_example_settings_data.html
字号:
<td><p>calculates the size for the crosshair based on settings and image size <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aImageSize</em> </td><td>image size on the screen </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>crosshair size </dd></dl><p>Definition at line <a class="el" href="_ocr_example_settings_data_8cpp-source.html#l00052">52</a> of file <a class="el" href="_ocr_example_settings_data_8cpp-source.html">OcrExampleSettingsData.cpp</a>.<p>References <a class="el" href="_ocr_example_settings_data_8h-source.html#l00069">iCrossHairHeight</a>, and <a class="el" href="_ocr_example_settings_data_8h-source.html#l00072">iCrossHairWidth</a>.<p>Referenced by <a class="el" href="_ocr_example_image_container_8cpp-source.html#l00132">COcrExampleImageContainer::Draw()</a>.<div class="fragment"><pre class="fragment"><a name="l00053"></a>00053 {<a name="l00054"></a>00054 <span class="keywordflow">return</span> TSize((<a class="code" href="class_t_ocr_example_settings_data.html#3957b0f784e351bcdcf610a2f020976d">iCrossHairWidth</a> * aImageSize.iWidth)/100,<a name="l00055"></a>00055 (<a class="code" href="class_t_ocr_example_settings_data.html#aa05fb12e26e15ada75c2daeb9ad7625">iCrossHairHeight</a> * aImageSize.iHeight)/100);<a name="l00056"></a>00056 }</pre></div><p> </td> </tr></table><hr><h2>Member Data Documentation</h2><a class="anchor" name="73d09f8e4fac53ad0c3908d34091045d"></a><!-- doxytag: member="TOcrExampleSettingsData::iHighlightColor" ref="73d09f8e4fac53ad0c3908d34091045d" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">TInt <a class="el" href="class_t_ocr_example_settings_data.html#73d09f8e4fac53ad0c3908d34091045d">TOcrExampleSettingsData::iHighlightColor</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>index of highlight color in the settings <p>Definition at line <a class="el" href="_ocr_example_settings_data_8h-source.html#l00057">57</a> of file <a class="el" href="_ocr_example_settings_data_8h-source.html">OcrExampleSettingsData.h</a>.<p>Referenced by <a class="el" href="_settings_list_8cpp-source.html#l00027">NOCRUtils::CSettingsList::CreateSettingItemL()</a>, and <a class="el" href="_ocr_example_settings_data_8cpp-source.html#l00042">GetHighlightColor()</a>. </td> </tr></table><a class="anchor" name="c6bf87b162cb779032637baea89a8ce6"></a><!-- doxytag: member="TOcrExampleSettingsData::iUseEnglish" ref="c6bf87b162cb779032637baea89a8ce6" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">TBool <a class="el" href="class_t_ocr_example_settings_data.html#c6bf87b162cb779032637baea89a8ce6">TOcrExampleSettingsData::iUseEnglish</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>flag indicating whether English is enabled in settings <p>Definition at line <a class="el" href="_ocr_example_settings_data_8h-source.html#l00060">60</a> of file <a class="el" href="_ocr_example_settings_data_8h-source.html">OcrExampleSettingsData.h</a>.<p>Referenced by <a class="el" href="_settings_list_8cpp-source.html#l00027">NOCRUtils::CSettingsList::CreateSettingItemL()</a>, and <a class="el" href="_ocr_example_settings_data_8cpp-source.html#l00034">GetLanguages()</a>. </td> </tr></table><a class="anchor" name="4ccd8bb8bbcd0513768857811476bdd3"></a><!-- doxytag: member="TOcrExampleSettingsData::iUseChinese" ref="4ccd8bb8bbcd0513768857811476bdd3" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">TBool <a class="el" href="class_t_ocr_example_settings_data.html#4ccd8bb8bbcd0513768857811476bdd3">TOcrExampleSettingsData::iUseChinese</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>flag indicating whether Chinese is enabled in settings <p>Definition at line <a class="el" href="_ocr_example_settings_data_8h-source.html#l00063">63</a> of file <a class="el" href="_ocr_example_settings_data_8h-source.html">OcrExampleSettingsData.h</a>.<p>Referenced by <a class="el" href="_settings_list_8cpp-source.html#l00027">NOCRUtils::CSettingsList::CreateSettingItemL()</a>, and <a class="el" href="_ocr_example_settings_data_8cpp-source.html#l00034">GetLanguages()</a>. </td> </tr></table><a class="anchor" name="ecffdce81ab6dac0958b74f98a7dd6e4"></a><!-- doxytag: member="TOcrExampleSettingsData::iUseJapanese" ref="ecffdce81ab6dac0958b74f98a7dd6e4" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">TBool <a class="el" href="class_t_ocr_example_settings_data.html#ecffdce81ab6dac0958b74f98a7dd6e4">TOcrExampleSettingsData::iUseJapanese</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>flag indicating whether Japanese is enabled in settings <p>Definition at line <a class="el" href="_ocr_example_settings_data_8h-source.html#l00066">66</a> of file <a class="el" href="_ocr_example_settings_data_8h-source.html">OcrExampleSettingsData.h</a>.<p>Referenced by <a class="el" href="_settings_list_8cpp-source.html#l00027">NOCRUtils::CSettingsList::CreateSettingItemL()</a>, and <a class="el" href="_ocr_example_settings_data_8cpp-source.html#l00034">GetLanguages()</a>. </td> </tr></table><a class="anchor" name="aa05fb12e26e15ada75c2daeb9ad7625"></a><!-- doxytag: member="TOcrExampleSettingsData::iCrossHairHeight" ref="aa05fb12e26e15ada75c2daeb9ad7625" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">TInt <a class="el" href="class_t_ocr_example_settings_data.html#aa05fb12e26e15ada75c2daeb9ad7625">TOcrExampleSettingsData::iCrossHairHeight</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>crosshair height as percentage compared to the actual image <p>Definition at line <a class="el" href="_ocr_example_settings_data_8h-source.html#l00069">69</a> of file <a class="el" href="_ocr_example_settings_data_8h-source.html">OcrExampleSettingsData.h</a>.<p>Referenced by <a class="el" href="_settings_list_8cpp-source.html#l00027">NOCRUtils::CSettingsList::CreateSettingItemL()</a>, and <a class="el" href="_ocr_example_settings_data_8cpp-source.html#l00052">GetCrosshairSize()</a>. </td> </tr></table><a class="anchor" name="3957b0f784e351bcdcf610a2f020976d"></a><!-- doxytag: member="TOcrExampleSettingsData::iCrossHairWidth" ref="3957b0f784e351bcdcf610a2f020976d" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">TInt <a class="el" href="class_t_ocr_example_settings_data.html#3957b0f784e351bcdcf610a2f020976d">TOcrExampleSettingsData::iCrossHairWidth</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>crosshair width as percentage compared to the actual image <p>Definition at line <a class="el" href="_ocr_example_settings_data_8h-source.html#l00072">72</a> of file <a class="el" href="_ocr_example_settings_data_8h-source.html">OcrExampleSettingsData.h</a>.<p>Referenced by <a class="el" href="_settings_list_8cpp-source.html#l00027">NOCRUtils::CSettingsList::CreateSettingItemL()</a>, and <a class="el" href="_ocr_example_settings_data_8cpp-source.html#l00052">GetCrosshairSize()</a>. </td> </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="_ocr_example_settings_data_8h-source.html">OcrExampleSettingsData.h</a><li><a class="el" href="_ocr_example_settings_data_8cpp-source.html">OcrExampleSettingsData.cpp</a></ul><hr><table x-use-null-cells style="x-cell-content-align: top; width: 100%; border-spacing: 0px; border-spacing: 0px;" cellspacing=0 width=100%> <col style="width: 50%;"> <col style="width: 50%;"> <tr style="x-cell-content-align: top;" valign=top> <td style="width: 50%; padding-right: 10px; padding-left: 10px; border-right-style: None; border-left-style: None; border-top-style: None; border-bottom-style: None;" width=50%> <p style="font-family: Arial;"><small style="font-size: smaller;">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -