📄 struct__fontops.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: _FONTOPS 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>_FONTOPS 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__FONTOPS.htm#o0">get_char_width</a> )(<a class="el" href="struct__LOGFONT.htm">LOGFONT</a> *logfont, <a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *devfont, const unsigned char *mchar, int len)<li>int(* <a class="el" href="struct__FONTOPS.htm#o1">get_ave_width</a> )(<a class="el" href="struct__LOGFONT.htm">LOGFONT</a> *logfont, <a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *devfont)<li>int(* <a class="el" href="struct__FONTOPS.htm#o2">get_max_width</a> )(<a class="el" href="struct__LOGFONT.htm">LOGFONT</a> *logfont, <a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *devfont)<li>int(* <a class="el" href="struct__FONTOPS.htm#o3">get_font_height</a> )(<a class="el" href="struct__LOGFONT.htm">LOGFONT</a> *logfont, <a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *devfont)<li>int(* <a class="el" href="struct__FONTOPS.htm#o4">get_font_size</a> )(<a class="el" href="struct__LOGFONT.htm">LOGFONT</a> *logfont, <a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *devfont, int expect)<li>int(* <a class="el" href="struct__FONTOPS.htm#o5">get_font_ascent</a> )(<a class="el" href="struct__LOGFONT.htm">LOGFONT</a> *logfont, <a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *devfont)<li>int(* <a class="el" href="struct__FONTOPS.htm#o6">get_font_descent</a> )(<a class="el" href="struct__LOGFONT.htm">LOGFONT</a> *logfont, <a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *devfont)<li>const void *(* <a class="el" href="struct__FONTOPS.htm#o7">get_char_bitmap</a> )(<a class="el" href="struct__LOGFONT.htm">LOGFONT</a> *logfont, <a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *devfont, const unsigned char *mchar, int len, unsigned short *scale)<li>const void *(* <a class="el" href="struct__FONTOPS.htm#o8">get_char_pixmap</a> )(<a class="el" href="struct__LOGFONT.htm">LOGFONT</a> *logfont, <a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *devfont, const unsigned char *mchar, int len, int *pitch, unsigned short *scale)<li>int(* <a class="el" href="struct__FONTOPS.htm#o10">get_char_bbox</a> )(<a class="el" href="struct__LOGFONT.htm">LOGFONT</a> *logfont, <a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *devfont, const unsigned char *mchar, int len, int *px, int *py, int *pwidth, int *pheight)<li>void(* <a class="el" href="struct__FONTOPS.htm#o11">get_char_advance</a> )(<a class="el" href="struct__LOGFONT.htm">LOGFONT</a> *logfont, <a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *devfont, const unsigned char *mchar, int len, int *px, int *py)<li><a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *(* <a class="el" href="struct__FONTOPS.htm#o12">new_instance</a> )(<a class="el" href="struct__LOGFONT.htm">LOGFONT</a> *logfont, <a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *devfont, <a class="el" href="group__simple__types.htm#ga0">BOOL</a> need_sbc_font)<li>void(* <a class="el" href="struct__FONTOPS.htm#o13">delete_instance</a> )(<a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *devfont)</ul><hr><a name="_details"></a><h2>Detailed Description</h2>The font operation structure. <p><p>Definition at line <a class="el" href="gdi_8h-source.htm#l05592">5592</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.<hr><h2>Field Documentation</h2><a class="anchor" name="o13" doxytag="_FONTOPS::delete_instance"></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">void(* <a class="el" href="struct__FONTOPS.htm#o13">delete_instance</a>)(<a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *devfont) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The pointer to delete instance of device font function, can be NULL. </td> </tr></table><a class="anchor" name="o1" doxytag="_FONTOPS::get_ave_width"></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__FONTOPS.htm#o1">get_ave_width</a>)(<a class="el" href="struct__LOGFONT.htm">LOGFONT</a> *logfont, <a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *devfont) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The pointer to get average width function. </td> </tr></table><a class="anchor" name="o11" doxytag="_FONTOPS::get_char_advance"></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">void(* <a class="el" href="struct__FONTOPS.htm#o11">get_char_advance</a>)(<a class="el" href="struct__LOGFONT.htm">LOGFONT</a> *logfont, <a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *devfont, const unsigned char *mchar, int len, int *px, int *py) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The pointer to get character advance function, can be NULL. </td> </tr></table><a class="anchor" name="o10" doxytag="_FONTOPS::get_char_bbox"></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__FONTOPS.htm#o10">get_char_bbox</a>)(<a class="el" href="struct__LOGFONT.htm">LOGFONT</a> *logfont, <a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *devfont, const unsigned char *mchar, int len, int *px, int *py, int *pwidth, int *pheight) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The pointer to get character bound box function, can be NULL. </td> </tr></table><a class="anchor" name="o7" doxytag="_FONTOPS::get_char_bitmap"></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 void*(* <a class="el" href="struct__FONTOPS.htm#o7">get_char_bitmap</a>)(<a class="el" href="struct__LOGFONT.htm">LOGFONT</a> *logfont, <a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *devfont, const unsigned char *mchar, int len, unsigned short *scale) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The pointer to get character bitmap function. </td> </tr></table><a class="anchor" name="o8" doxytag="_FONTOPS::get_char_pixmap"></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 void*(* <a class="el" href="struct__FONTOPS.htm#o8">get_char_pixmap</a>)(<a class="el" href="struct__LOGFONT.htm">LOGFONT</a> *logfont, <a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *devfont, const unsigned char *mchar, int len, int *pitch, unsigned short *scale) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The pointer to get character bitmap, pitch and scale function, can be NULL. </td> </tr></table><a class="anchor" name="o0" doxytag="_FONTOPS::get_char_width"></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__FONTOPS.htm#o0">get_char_width</a>)(<a class="el" href="struct__LOGFONT.htm">LOGFONT</a> *logfont, <a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *devfont, const unsigned char *mchar, int len) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The pointer to get character width function. </td> </tr></table><a class="anchor" name="o5" doxytag="_FONTOPS::get_font_ascent"></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__FONTOPS.htm#o5">get_font_ascent</a>)(<a class="el" href="struct__LOGFONT.htm">LOGFONT</a> *logfont, <a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *devfont) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The pointer to get font ascent function. </td> </tr></table><a class="anchor" name="o6" doxytag="_FONTOPS::get_font_descent"></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__FONTOPS.htm#o6">get_font_descent</a>)(<a class="el" href="struct__LOGFONT.htm">LOGFONT</a> *logfont, <a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *devfont) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The pointer to get font descent function. </td> </tr></table><a class="anchor" name="o3" doxytag="_FONTOPS::get_font_height"></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__FONTOPS.htm#o3">get_font_height</a>)(<a class="el" href="struct__LOGFONT.htm">LOGFONT</a> *logfont, <a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *devfont) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The pointer to get font height function. </td> </tr></table><a class="anchor" name="o4" doxytag="_FONTOPS::get_font_size"></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__FONTOPS.htm#o4">get_font_size</a>)(<a class="el" href="struct__LOGFONT.htm">LOGFONT</a> *logfont, <a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *devfont, int expect) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The pointer to get font size function. </td> </tr></table><a class="anchor" name="o2" doxytag="_FONTOPS::get_max_width"></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__FONTOPS.htm#o2">get_max_width</a>)(<a class="el" href="struct__LOGFONT.htm">LOGFONT</a> *logfont, <a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *devfont) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The pointer to get max width function. </td> </tr></table><a class="anchor" name="o12" doxytag="_FONTOPS::new_instance"></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"><a class="el" href="struct__DEVFONT.htm">DEVFONT</a>*(* <a class="el" href="struct__FONTOPS.htm#o12">new_instance</a>)(<a class="el" href="struct__LOGFONT.htm">LOGFONT</a> *logfont, <a class="el" href="struct__DEVFONT.htm">DEVFONT</a> *devfont, <a class="el" href="group__simple__types.htm#ga0">BOOL</a> need_sbc_font) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The pointer to instance new device font function, can be NULL. </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 + -