Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > cb74fdf78f09e81ec184d39a69179362 > files > 56

directfb-doc-0.9.17-1mdk.ppc.rpm

<HTML>
<STYLE>
  <!--
    A{textdecoration:none}
  -->
</STYLE>
<HEAD>
  <TITLE>DirectFB Reference Manual</TITLE>
</HEAD>
<BODY bgcolor=#FFFFFF link=#0070FF vlink=#0070FF text=#404040>

<TABLE width=100% bgcolor=black border=0 cellspacing=1 cellpadding=3>
  <TR><TD width=30%>
    <A href="http://www.directfb.org"><IMG border=0 src="directfb.png"></A>
  </TD><TD align=right>
    &nbsp;&nbsp;    <A href="index.html"><FONT size=+3 color=white>DirectFB Reference Manual</FONT></A>
  </TD></TR>
  <TR><TD colspan=2 align=center bgcolor=#303030>
    <TABLE border=0 cellspacing=0 cellpadding=0>
      <TR><TD align=right width=50%>
        <BIG><A href="IDirectFBFont.html"><FONT color=#DDDDDD>IDirectFBFont</FONT></A>&nbsp;</BIG>
      </TD><TD align=left width=50%>
        <BIG><FONT color=orange>&nbsp;GetGlyphExtents</FONT></BIG>
      </TD></TR>
    </TABLE>
  </TD></TR>
</TABLE>

<P> Get the extents of a glyph specified by its Unicode index.</P><P>
  <TABLE border=0 cellspacing=0 cellpadding=4 bgcolor=#C0C0C0>
    <TR><TD colspan=3><I><FONT color=black>GetGlyphExtents (</FONT></I></TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="IDirectFBFont.html">IDirectFBFont</A>
    </TD><TD valign=top>
      <FONT color=black><B>*thiz</B></FONT>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      unsigned int
    </TD><TD valign=top>
      <FONT color=black><B>index</B></FONT>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      <A href="types.html#DFBRectangle">DFBRectangle</A>
    </TD><TD valign=top>
      <FONT color=black><B>*rect</B></FONT>
    </TD></TR>
    <TR><TD width=50>&nbsp;</TD><TD valign=top>
      int
    </TD><TD valign=top>
      <FONT color=black><B>*advance</B></FONT>
    </TD></TR>
    <TR><TD colspan=3><I><FONT color=black>);</FONT></I></TD></TR>
  </TABLE>
</P>
<P> The rectangle describes the the smallest rectangle containing all pixels that are touched when drawing the glyph. It is reported relative to the baseline. If you only need the advance, pass NULL for the rectangle. </P><P> The advance describes the horizontal offset to the next glyph (without kerning applied). It may be a negative value indicating left-to-right rendering. If you don't need this value, pass NULL for advance.</P>

<TABLE width=100% bgcolor=black border=0 cellspacing=0 cellpadding=0>
  <TR><TD valign=center>
    <FONT size=-3>&nbsp;&nbsp;(C) Copyright by convergence GmbH</FONT>
  </TD><TD align=right>
    <A href="http://www.convergence.de">
      <IMG border=0 hspace=4 src="cimlogo.png">
    </A>
  </TD></TR>
</TABLE>

</BODY>
</HTML>