Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > a448496bc6699fe9a728c8c4b8431481 > files > 220

lib64wmf0.2_7-devel-0.2.8.4-16mdv2008.1.x86_64.rpm

<!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>_wmfFontData struct Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.2.18 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; <a class="qindex" href="globals.html">Globals</a> &nbsp; </center>
<hr><h1>_wmfFontData Struct Reference</h1><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Data Fields</h2></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="ipa_8h.html#a23">wmfMap</a>&nbsp;</td><td valign=bottom><a class="el" href="struct__wmfFontData.html#m0">map</a></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="ipa_8h.html#a22">wmfStringWidth</a>&nbsp;</td><td valign=bottom><a class="el" href="struct__wmfFontData.html#m1">stringwidth</a></td></tr>
<tr><td nowrap align=right valign=top>void *&nbsp;</td><td valign=bottom><a class="el" href="struct__wmfFontData.html#m2">user_data</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
API-&gt;font_data is a pointer to a wmfFontData. wmf_api_create () sets this up automatically, but wmf_lite_create () does not. If you use wmf_lite_create () then you <b>must</b> create your own wmfFontData. <b>libwmflite</b> requires you to define <code><a class="el" href="struct__wmfFontData.html#m0">map</a></code> and <code><a class="el" href="struct__wmfFontData.html#m1">stringwidth</a></code> functions but the rest of these fields are ignored (they are only used by <b>libwmf)</b>. 
<p>
<hr><h2>Field Documentation</h2>
<a name="m0" doxytag="_wmfFontData::map"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="ipa_8h.html#a23">wmfMap</a> _wmfFontData::map
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Necessary field: exactly what the function does is irrelevant.     </td>
  </tr>
</table>
<a name="m1" doxytag="_wmfFontData::stringwidth"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="ipa_8h.html#a22">wmfStringWidth</a> _wmfFontData::stringwidth
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Necessary field: returns width of specified string in points, assuming (unstretched) font size of 1pt.     </td>
  </tr>
</table>
<a name="m2" doxytag="_wmfFontData::user_data"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void* _wmfFontData::user_data
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
A handle for data, unused by libwmflite     </td>
  </tr>
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="ipa_8h.html">ipa.h</a></ul>
<hr><address style="align: right;"><small>Generated on Tue Dec 10 19:53:54 2002 for libwmf by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 
width=110 height=53></a>1.2.18 </small></address>
</body>
</html>