📄 struct__charsetops.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>MiniGUI V1.6.10 API Reference: _CHARSETOPS Struct Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.2 --><div class="qindex"><a class="qindex" href="index.htm">Main Page</a> | <a class="qindex" href="modules.htm">Modules</a> | <a class="qindex" href="classes.htm">Alphabetical List</a> | <a class="qindex" href="annotated.htm">Data Structures</a> | <a class="qindex" href="dirs.htm">Directories</a> | <a class="qindex" href="files.htm">File List</a> | <a class="qindex" href="functions.htm">Data Fields</a> | <a class="qindex" href="globals.htm">Globals</a> | <a class="qindex" href="pages.htm">Related Pages</a></div><h1>_CHARSETOPS Struct Reference<br><small>[<a class="el" href="group__font__fns.htm">Logical font operations</a>]</small></h1><code>#include <<a class="el" href="gdi_8h-source.htm">gdi.h</a>></code><p><h2>Data Fields</h2><ul><li>int <a class="el" href="struct__CHARSETOPS.htm#o0">nr_chars</a><li>int <a class="el" href="struct__CHARSETOPS.htm#o1">bytes_maxlen_char</a><li>const char * <a class="el" href="struct__CHARSETOPS.htm#o2">name</a><li>char <a class="el" href="struct__CHARSETOPS.htm#o3">def_char</a> [MAX_LEN_MCHAR]<li>int(* <a class="el" href="struct__CHARSETOPS.htm#o4">len_first_char</a> )(const unsigned char *mstr, int mstrlen)<li>unsigned int(* <a class="el" href="struct__CHARSETOPS.htm#o5">char_offset</a> )(const unsigned char *mchar)<li>unsigned int(* <a class="el" href="struct__CHARSETOPS.htm#o6">char_type</a> )(const unsigned char *mchar)<li>int(* <a class="el" href="struct__CHARSETOPS.htm#o7">nr_chars_in_str</a> )(const unsigned char *mstr, int mstrlen)<li>int(* <a class="el" href="struct__CHARSETOPS.htm#o8">is_this_charset</a> )(const unsigned char *charset)<li>int(* <a class="el" href="struct__CHARSETOPS.htm#o9">len_first_substr</a> )(const unsigned char *mstr, int mstrlen)<li>const unsigned char *(* <a class="el" href="struct__CHARSETOPS.htm#o10">get_next_word</a> )(const unsigned char *mstr, int strlen, <a class="el" href="struct__WORDINFO.htm">WORDINFO</a> *word_info)<li>int(* <a class="el" href="struct__CHARSETOPS.htm#o11">pos_first_char</a> )(const unsigned char *mstr, int mstrlen)<li>UChar32(* <a class="el" href="struct__CHARSETOPS.htm#o12">conv_to_uc32</a> )(const unsigned char *mchar)<li>int(* <a class="el" href="struct__CHARSETOPS.htm#o13">conv_from_uc32</a> )(UChar32 wc, unsigned char *mchar)</ul><hr><a name="_details"></a><h2>Detailed Description</h2>The character set operation structure. <p><p>Definition at line <a class="el" href="gdi_8h-source.htm#l05539">5539</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.<hr><h2>Field Documentation</h2><a class="anchor" name="o1" doxytag="_CHARSETOPS::bytes_maxlen_char"></a><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">int <a class="el" href="struct__CHARSETOPS.htm#o1">bytes_maxlen_char</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The byte number of the max length character. <p>Definition at line <a class="el" href="gdi_8h-source.htm#l05545">5545</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>. </td> </tr></table><a class="anchor" name="o5" doxytag="_CHARSETOPS::char_offset"></a><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">unsigned int(* <a class="el" href="struct__CHARSETOPS.htm#o5">char_offset</a>)(const unsigned char *mchar) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The pointer to get character offset function. </td> </tr></table><a class="anchor" name="o6" doxytag="_CHARSETOPS::char_type"></a><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">unsigned int(* <a class="el" href="struct__CHARSETOPS.htm#o6">char_type</a>)(const unsigned char *mchar) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The pointer to get character type function. </td> </tr></table><a class="anchor" name="o13" doxytag="_CHARSETOPS::conv_from_uc32"></a><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">int(* <a class="el" href="struct__CHARSETOPS.htm#o13">conv_from_uc32</a>)(UChar32 wc, unsigned char *mchar) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The pointer to convert <em>wc</em> to multily byte character function. </td> </tr></table><a class="anchor" name="o12" doxytag="_CHARSETOPS::conv_to_uc32"></a><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">UChar32(* <a class="el" href="struct__CHARSETOPS.htm#o12">conv_to_uc32</a>)(const unsigned char *mchar) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The pointer to convert <em>mchar</em> to 32 bit UNICODE function. </td> </tr></table><a class="anchor" name="o3" doxytag="_CHARSETOPS::def_char"></a><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">char <a class="el" href="struct__CHARSETOPS.htm#o3">def_char</a>[MAX_LEN_MCHAR] </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Default character. <p>Definition at line <a class="el" href="gdi_8h-source.htm#l05551">5551</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>. </td> </tr></table><a class="anchor" name="o10" doxytag="_CHARSETOPS::get_next_word"></a><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">const unsigned char*(* <a class="el" href="struct__CHARSETOPS.htm#o10">get_next_word</a>)(const unsigned char *mstr, int strlen, <a class="el" href="struct__WORDINFO.htm">WORDINFO</a> *word_info) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The pointer to get next word in the specitied length string function. </td> </tr></table><a class="anchor" name="o8" doxytag="_CHARSETOPS::is_this_charset"></a><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">int(* <a class="el" href="struct__CHARSETOPS.htm#o8">is_this_charset</a>)(const unsigned char *charset) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The pointer to judge the <em>charset</em> is belong to the character set function. </td> </tr></table><a class="anchor" name="o4" doxytag="_CHARSETOPS::len_first_char"></a><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">int(* <a class="el" href="struct__CHARSETOPS.htm#o4">len_first_char</a>)(const unsigned char *mstr, int mstrlen) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The pointer to get the length of the first character function. </td> </tr></table><a class="anchor" name="o9" doxytag="_CHARSETOPS::len_first_substr"></a><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">int(* <a class="el" href="struct__CHARSETOPS.htm#o9">len_first_substr</a>)(const unsigned char *mstr, int mstrlen) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The pointer to get the length of the first substring. </td> </tr></table><a class="anchor" name="o2" doxytag="_CHARSETOPS::name"></a><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">const char* <a class="el" href="struct__CHARSETOPS.htm#o2">name</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The name of the character set. <p>Definition at line <a class="el" href="gdi_8h-source.htm#l05548">5548</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>. </td> </tr></table><a class="anchor" name="o0" doxytag="_CHARSETOPS::nr_chars"></a><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">int <a class="el" href="struct__CHARSETOPS.htm#o0">nr_chars</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The character number of the character set. <p>Definition at line <a class="el" href="gdi_8h-source.htm#l05542">5542</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>. </td> </tr></table><a class="anchor" name="o7" doxytag="_CHARSETOPS::nr_chars_in_str"></a><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">int(* <a class="el" href="struct__CHARSETOPS.htm#o7">nr_chars_in_str</a>)(const unsigned char *mstr, int mstrlen) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The pointer to get character number in the string function. </td> </tr></table><a class="anchor" name="o11" doxytag="_CHARSETOPS::pos_first_char"></a><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">int(* <a class="el" href="struct__CHARSETOPS.htm#o11">pos_first_char</a>)(const unsigned char *mstr, int mstrlen) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The pointer to get the position of the first character in the specified length string function. </td> </tr></table><hr>The documentation for this struct was generated from the following file:<ul><li><a class="el" href="gdi_8h-source.htm">gdi.h</a></ul><hr size="1"><address style="align: right;"><small>Generated on Thu Nov 22 15:35:52 2007 for MiniGUI V1.6.10 API Reference by <a href="http://www.doxygen.org/index.html"><img src="http://www.minigui.com/api_ref/1.6.10/doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -