<!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"/> <title>i3: Font Struct Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.2-20100208 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li class="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul> </div> </div> <div class="contents"> <h1>Font Struct Reference</h1><!-- doxytag: class="Font" --> <p>Data structure for cached font information:</p> <ul> <li>font id in X11 (load it once)</li> <li>font height (multiple calls needed to get it). </li> </ul> <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="a00036_source.html">data.h</a>></code></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00015.html#a68ce943ccb74df536a96774bb4a24d1f">TAILQ_ENTRY</a> (<a class="el" href="a00015.html">Font</a>) fonts</td></tr> <tr><td colspan="2"><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00015.html#aefd94f9cf18878cf3f7de50764d94bac">name</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The name of the font, that is what the pattern resolves to. <a href="#aefd94f9cf18878cf3f7de50764d94bac"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00015.html#a31ddf56d9c371b683e7bd0b9b64e1060">pattern</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A copy of the pattern to build a cache. <a href="#a31ddf56d9c371b683e7bd0b9b64e1060"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00015.html#a89ceb86bb4ad2694315d846e69893399">height</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The height of the font, built from font_ascent + font_descent. <a href="#a89ceb86bb4ad2694315d846e69893399"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">xcb_font_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00015.html#a34f00fc78328c10986cdebfc3940ee05">id</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The xcb-id for the font. <a href="#a34f00fc78328c10986cdebfc3940ee05"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Data structure for cached font information:</p> <ul> <li>font id in X11 (load it once)</li> <li>font height (multiple calls needed to get it). </li> </ul> <p>Definition at line <a class="el" href="a00036_source.html#l00325">325</a> of file <a class="el" href="a00036_source.html">data.h</a>.</p> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a68ce943ccb74df536a96774bb4a24d1f"></a><!-- doxytag: member="Font::TAILQ_ENTRY" ref="a68ce943ccb74df536a96774bb4a24d1f" args="(Font) fonts" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Font::TAILQ_ENTRY </td> <td>(</td> <td class="paramtype"><a class="el" href="a00015.html">Font</a> </td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Field Documentation</h2> <a class="anchor" id="a89ceb86bb4ad2694315d846e69893399"></a><!-- doxytag: member="Font::height" ref="a89ceb86bb4ad2694315d846e69893399" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="a00015.html#a89ceb86bb4ad2694315d846e69893399">Font::height</a></td> </tr> </table> </div> <div class="memdoc"> <p>The height of the font, built from font_ascent + font_descent. </p> <p>Definition at line <a class="el" href="a00036_source.html#l00331">331</a> of file <a class="el" href="a00036_source.html">data.h</a>.</p> <p>Referenced by <a class="el" href="a00059_source.html#l00060">button_press_stackwin()</a>, <a class="el" href="a00060_source.html#l00457">client_min_height()</a>, <a class="el" href="a00069_source.html#l00098">decorate_window()</a>, <a class="el" href="a00059_source.html#l00255">handle_button_press()</a>, <a class="el" href="a00067_source.html#l00292">handle_configure_request()</a>, <a class="el" href="a00075_source.html#l00151">handle_signal()</a>, <a class="el" href="a00073_source.html#l00166">initialize_output()</a>, <a class="el" href="a00073_source.html#l00246">output_change_mode()</a>, <a class="el" href="a00069_source.html#l00348">render_container()</a>, <a class="el" href="a00069_source.html#l00596">render_internal_bar()</a>, <a class="el" href="a00069_source.html#l00680">render_workspace()</a>, <a class="el" href="a00072_source.html#l00151">reparent_window()</a>, <a class="el" href="a00069_source.html#l00248">resize_client()</a>, <a class="el" href="a00066_source.html#l00041">toggle_floating_mode()</a>, and <a class="el" href="a00078_source.html#l00463">workspace_height()</a>.</p> </div> </div> <a class="anchor" id="a34f00fc78328c10986cdebfc3940ee05"></a><!-- doxytag: member="Font::id" ref="a34f00fc78328c10986cdebfc3940ee05" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">xcb_font_t <a class="el" href="a00015.html#a34f00fc78328c10986cdebfc3940ee05">Font::id</a></td> </tr> </table> </div> <div class="memdoc"> <p>The xcb-id for the font. </p> <p>Definition at line <a class="el" href="a00036_source.html#l00333">333</a> of file <a class="el" href="a00036_source.html">data.h</a>.</p> <p>Referenced by <a class="el" href="a00079_source.html#l00093">create_window()</a>, <a class="el" href="a00069_source.html#l00098">decorate_window()</a>, <a class="el" href="a00075_source.html#l00151">handle_signal()</a>, <a class="el" href="a00079_source.html#l00301">predict_text_width()</a>, and <a class="el" href="a00069_source.html#l00596">render_internal_bar()</a>.</p> </div> </div> <a class="anchor" id="aefd94f9cf18878cf3f7de50764d94bac"></a><!-- doxytag: member="Font::name" ref="aefd94f9cf18878cf3f7de50764d94bac" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">char* <a class="el" href="a00015.html#aefd94f9cf18878cf3f7de50764d94bac">Font::name</a></td> </tr> </table> </div> <div class="memdoc"> <p>The name of the font, that is what the pattern resolves to. </p> <p>Definition at line <a class="el" href="a00036_source.html#l00327">327</a> of file <a class="el" href="a00036_source.html">data.h</a>.</p> </div> </div> <a class="anchor" id="a31ddf56d9c371b683e7bd0b9b64e1060"></a><!-- doxytag: member="Font::pattern" ref="a31ddf56d9c371b683e7bd0b9b64e1060" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">char* <a class="el" href="a00015.html#a31ddf56d9c371b683e7bd0b9b64e1060">Font::pattern</a></td> </tr> </table> </div> <div class="memdoc"> <p>A copy of the pattern to build a cache. </p> <p>Definition at line <a class="el" href="a00036_source.html#l00329">329</a> of file <a class="el" href="a00036_source.html">data.h</a>.</p> <p>Referenced by <a class="el" href="a00079_source.html#l00026">TAILQ_HEAD()</a>.</p> </div> </div> <hr/>The documentation for this struct was generated from the following file:<ul> <li>include/<a class="el" href="a00036_source.html">data.h</a></li> </ul> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2-20100208 </small></address> </body> </html>