<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Crystal Space 1.2.1: csBitmapMetrics Struct Reference (Crystal Space 1.2.1 Public API Reference)</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <table border="0" cellpadding="0" cellspacing="0" width="100%" class="head"> <tr height="59"> <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td> <td class="head"><h2>Public API Reference</h2></td> </tr> <tr height="11"> <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td> </tr> </table> <div class="content"> <!-- Generated by Doxygen 1.5.3 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <h1>csBitmapMetrics Struct Reference<br> <small> [<a class="el" href="group__gfx2d.html">2D</a>]</small> </h1><!-- doxytag: class="csBitmapMetrics" -->Metrics for a glyph that are dependent from whether a simple or antialiased image is used. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="fontserv_8h-source.html">ivideo/fontserv.h</a>></code> <p> <p> <a href="structcsBitmapMetrics-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structcsBitmapMetrics.html#04f8a98cd4bb13e503dc04d2a2a74870">height</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Height of the glyph image. <a href="#04f8a98cd4bb13e503dc04d2a2a74870"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structcsBitmapMetrics.html#decd5c98d4de92f88d8b37460cb2bacb">left</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">X offset of the image to the pen position. <a href="#decd5c98d4de92f88d8b37460cb2bacb"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structcsBitmapMetrics.html#60c8d7a93ceeb76dd1b7385a681cd227">top</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Y offset of the image to the pen position. <a href="#60c8d7a93ceeb76dd1b7385a681cd227"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structcsBitmapMetrics.html#0476b883a91814827a3a74b9478e46c1">width</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Width of the glyph image. <a href="#0476b883a91814827a3a74b9478e46c1"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Metrics for a glyph that are dependent from whether a simple or antialiased image is used. <p>Definition at line <a class="el" href="fontserv_8h-source.html#l00083">83</a> of file <a class="el" href="fontserv_8h-source.html">fontserv.h</a>.</p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="04f8a98cd4bb13e503dc04d2a2a74870"></a><!-- doxytag: member="csBitmapMetrics::height" ref="04f8a98cd4bb13e503dc04d2a2a74870" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structcsBitmapMetrics.html#04f8a98cd4bb13e503dc04d2a2a74870">csBitmapMetrics::height</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Height of the glyph image. <p> <p>Definition at line <a class="el" href="fontserv_8h-source.html#l00088">88</a> of file <a class="el" href="fontserv_8h-source.html">fontserv.h</a>.</p> <p>Referenced by <a class="el" href="draw__text_8h-source.html#l00045">csG2DDrawText< Tpixel, Tpixmixer1, Tpixmixer2, Tpixmixer3 >::DrawText()</a>.</p> </div> </div><p> <a class="anchor" name="decd5c98d4de92f88d8b37460cb2bacb"></a><!-- doxytag: member="csBitmapMetrics::left" ref="decd5c98d4de92f88d8b37460cb2bacb" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structcsBitmapMetrics.html#decd5c98d4de92f88d8b37460cb2bacb">csBitmapMetrics::left</a> </td> </tr> </table> </div> <div class="memdoc"> <p> X offset of the image to the pen position. <p> <p>Definition at line <a class="el" href="fontserv_8h-source.html#l00090">90</a> of file <a class="el" href="fontserv_8h-source.html">fontserv.h</a>.</p> <p>Referenced by <a class="el" href="draw__text_8h-source.html#l00045">csG2DDrawText< Tpixel, Tpixmixer1, Tpixmixer2, Tpixmixer3 >::DrawText()</a>.</p> </div> </div><p> <a class="anchor" name="60c8d7a93ceeb76dd1b7385a681cd227"></a><!-- doxytag: member="csBitmapMetrics::top" ref="60c8d7a93ceeb76dd1b7385a681cd227" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structcsBitmapMetrics.html#60c8d7a93ceeb76dd1b7385a681cd227">csBitmapMetrics::top</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Y offset of the image to the pen position. <p> <p>Definition at line <a class="el" href="fontserv_8h-source.html#l00092">92</a> of file <a class="el" href="fontserv_8h-source.html">fontserv.h</a>.</p> <p>Referenced by <a class="el" href="draw__text_8h-source.html#l00045">csG2DDrawText< Tpixel, Tpixmixer1, Tpixmixer2, Tpixmixer3 >::DrawText()</a>.</p> </div> </div><p> <a class="anchor" name="0476b883a91814827a3a74b9478e46c1"></a><!-- doxytag: member="csBitmapMetrics::width" ref="0476b883a91814827a3a74b9478e46c1" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structcsBitmapMetrics.html#0476b883a91814827a3a74b9478e46c1">csBitmapMetrics::width</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Width of the glyph image. <p> <p>Definition at line <a class="el" href="fontserv_8h-source.html#l00086">86</a> of file <a class="el" href="fontserv_8h-source.html">fontserv.h</a>.</p> <p>Referenced by <a class="el" href="draw__text_8h-source.html#l00045">csG2DDrawText< Tpixel, Tpixmixer1, Tpixmixer2, Tpixmixer3 >::DrawText()</a>.</p> </div> </div><p> <hr>The documentation for this struct was generated from the following file:<ul> <li>ivideo/<a class="el" href="fontserv_8h-source.html">fontserv.h</a></ul> <hr size="1"><address><small>Generated for Crystal Space 1.2.1 by <a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 </small></address> </div></body> </html>