1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META http-equiv="Content-Style-Type" content="text/css"> 6<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 7<TITLE>FNTGetMetrics</TITLE> 8</HEAD> 9<BODY> 10<H1>FNTGetMetrics</H1> 11 12<H2>C Specification</H2> 13<DL> 14 <DD><PRE><CODE>#include <revolution/fnt.h></CODE></PRE></DD> 15 <DD><PRE><CODE>void FNTGetMetrics( const <A href="FNTHeader.html">FNTHeader</A>* font, <A href="FNTMetrics.html">FNTMetrics</A>* metrics );</CODE></PRE></DD> 16</DL> 17 18<H2>Arguments</H2> 19<TABLE border="1" cellpadding="3" cellspacing="0.1"> 20 <TBODY> 21 <TR> 22 <TD width="120" bgcolor="#ffffe8"><EM><STRONG><CODE>font</CODE></STRONG></EM></TD> 23 <TD>Pointer to the font data buffer.<BR> Initialization using <A href="FNTConstruct.html"><CODE>FNTConstruct</CODE></A> or <A href="FNTStreamingConstruct.html"><CODE>FNTStreamingConstruct</CODE></A> is required.</TD> 24 </TR> 25 <TR> 26 <TD width="120" bgcolor="#ffffe8"><EM><STRONG><CODE>metrics</CODE></STRONG></EM></TD> 27 <TD>Pointer to a structure that stores the size information for fonts.</TD> 28 </TR> 29 </TBODY> 30</TABLE> 31 32<H2>Return Values</H2> 33<P>None.</P> 34 35<H2>Description</H2> 36<P>Gets font size information.<BR> Font height, ascent, descent, line spacing, etc. are stored as font size information.</P> 37 38<H2>See Also</H2> 39<P> 40<A href="FNTGetWidth.html"><CODE>FNTGetWidth</CODE></A> 41</P> 42 43<H2>Revision History</H2> 44<P>2006/10/01 Initial version.</P> 45 46<HR> 47<P>CONFIDENTIAL</P> 48</BODY> 49</HTML>