Sophie

Sophie

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

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>gd.h File 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>gd.h File Reference</h1><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Data Structures</h2></td></tr>
<tr><td nowrap align=right valign=top>struct &nbsp;</td><td valign=bottom><a class="el" href="struct__wmf__gd__t_1_1__wmf__gd__sink.html">_wmf_gd_sink</a></td></tr>
<tr><td nowrap align=right valign=top>struct &nbsp;</td><td valign=bottom><a class="el" href="struct__wmf__gd__t.html">_wmf_gd_t</a></td></tr>
<tr><td colspan=2><br><h2>Defines</h2></td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="gd_8h.html#a0">WMF_GD_SUPPORTS_PNG</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt;  0)</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="gd_8h.html#a1">WMF_GD_SUPPORTS_JPEG</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt;  1)</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="gd_8h.html#a2">WMF_GD_OUTPUT_FILE</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 16)</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="gd_8h.html#a3">WMF_GD_OUTPUT_MEMORY</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 17)</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="gd_8h.html#a4">WMF_GD_OWN_BUFFER</a>&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 18)</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="gd_8h.html#a5">WMF_GD_GetData</a>(Z)&nbsp;&nbsp;&nbsp;((<a class="el" href="gd_8h.html#a7">wmf_gd_t</a>*)((Z)-&gt;device_data))</td></tr>
<tr><td colspan=2><br><h2>Typedefs</h2></td></tr>
<tr><td nowrap align=right valign=top>typedef enum <a class="el" href="gd_8h.html#a13">_wmf_gd_subtype</a>&nbsp;</td><td valign=bottom><a class="el" href="gd_8h.html#a6">wmf_gd_subtype</a></td></tr>
<tr><td nowrap align=right valign=top>typedef <a class="el" href="struct__wmf__gd__t.html">_wmf_gd_t</a>&nbsp;</td><td valign=bottom><a class="el" href="gd_8h.html#a7">wmf_gd_t</a></td></tr>
<tr><td colspan=2><br><h2>Enumerations</h2></td></tr>
<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="gd_8h.html#a13">_wmf_gd_subtype</a> { <br>
&nbsp;&nbsp;<a class="el" href="gd_8h.html#a13a8">wmf_gd_png</a> =  0, 
<br>
&nbsp;&nbsp;<a class="el" href="gd_8h.html#a13a9">wmf_gd_jpeg</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="gd_8h.html#a13a10">wmf_gd_image</a>
<br>
 }</td></tr>
<tr><td colspan=2><br><h2>Functions</h2></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="gd_8h.html#a11">wmf_gd_function</a> (<a class="el" href="types_8h.html#a22">wmfAPI</a> *)</td></tr>
<tr><td nowrap align=right valign=top>int *&nbsp;</td><td valign=bottom><a class="el" href="gd_8h.html#a12">wmf_gd_image_pixels</a> (void *gd_image)</td></tr>
</table>
<hr><h2>Define Documentation</h2>
<a name="a5" doxytag="gd.h::WMF_GD_GetData"></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"> #define WMF_GD_GetData</td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">Z&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;((<a class="el" href="gd_8h.html#a7">wmf_gd_t</a>*)((Z)-&gt;device_data))
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a2" doxytag="gd.h::WMF_GD_OUTPUT_FILE"></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"> #define WMF_GD_OUTPUT_FILE&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 16)
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a3" doxytag="gd.h::WMF_GD_OUTPUT_MEMORY"></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"> #define WMF_GD_OUTPUT_MEMORY&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 17)
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a4" doxytag="gd.h::WMF_GD_OWN_BUFFER"></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"> #define WMF_GD_OWN_BUFFER&nbsp;&nbsp;&nbsp;(1 &lt;&lt; 18)
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a1" doxytag="gd.h::WMF_GD_SUPPORTS_JPEG"></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"> #define WMF_GD_SUPPORTS_JPEG&nbsp;&nbsp;&nbsp;(1 &lt;&lt;  1)
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a0" doxytag="gd.h::WMF_GD_SUPPORTS_PNG"></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"> #define WMF_GD_SUPPORTS_PNG&nbsp;&nbsp;&nbsp;(1 &lt;&lt;  0)
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr><h2>Typedef Documentation</h2>
<a name="a6" doxytag="gd.h::wmf_gd_subtype"></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"> typedef enum <a class="el" href="gd_8h.html#a13">_wmf_gd_subtype</a>  wmf_gd_subtype
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a7" doxytag="gd.h::wmf_gd_t"></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"> typedef struct <a class="el" href="struct__wmf__gd__t.html">_wmf_gd_t</a> wmf_gd_t
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr><h2>Enumeration Type Documentation</h2>
<a name="a13" doxytag="gd.h::_wmf_gd_subtype"></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"> enum _wmf_gd_subtype
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em><a name="a13a8" doxytag="wmf_gd_png"></a><em>wmf_gd_png</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a13a9" doxytag="wmf_gd_jpeg"></a><em>wmf_gd_jpeg</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a13a10" doxytag="wmf_gd_image"></a><em>wmf_gd_image</em></em>&nbsp;</td><td>
</td></tr>
</table>
</dl>
    </td>
  </tr>
</table>
<hr><h2>Function Documentation</h2>
<a name="a11" doxytag="gd.h::wmf_gd_function"></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 wmf_gd_function </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="types_8h.html#a22">wmfAPI</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a12" doxytag="gd.h::wmf_gd_image_pixels"></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"> int* wmf_gd_image_pixels </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>gd_image</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
If using the wmf_gd_image option to write to a GD image, collected from the void* gd_image member of the device data struct above, the true-color pixels (stored in a contiguous array of height * width integers) of the image can be retrieved using <a class="el" href="gd_8h.html#a12">wmf_gd_image_pixels()</a>     </td>
  </tr>
</table>
<hr><address style="align: right;"><small>Generated on Tue Dec 10 19:53:50 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>