1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>g2: GD</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.6 -->
<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="files.html"><span>Files</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
</ul></div>
<h1>GD<br>
<small>
[<a class="el" href="group__physdev.html">g2 Physical devices</a>]</small>
</h1><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Enumerations</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="group__GD.html#gfeeff2ea4a0b345e44279ce12a642242">g2_gd_type</a> { <a class="el" href="group__GD.html#ggfeeff2ea4a0b345e44279ce12a6422421f57c30aa2232778f7a6311ad830d27d">g2_gd_jpeg</a> = 0,
<a class="el" href="group__GD.html#ggfeeff2ea4a0b345e44279ce12a64224237389d17d24315c869b266b21e8eefda">g2_gd_png</a> = 1,
<a class="el" href="group__GD.html#ggfeeff2ea4a0b345e44279ce12a642242b3cbb2e083dac279b9481ae1f6760ebb">g2_gd_gif</a> = 2
}</td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__GD.html#gff0703f99796214de86e90476a623329">g2_open_gd</a> (const char *filename, int width, int height, enum <a class="el" href="group__GD.html#gfeeff2ea4a0b345e44279ce12a642242">g2_gd_type</a> gd_type)</td></tr>
</table>
<hr><h2>Enumeration Type Documentation</h2>
<a class="anchor" name="gfeeff2ea4a0b345e44279ce12a642242"></a><!-- doxytag: member="g2_gd.h::g2_gd_type" ref="gfeeff2ea4a0b345e44279ce12a642242" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">enum <a class="el" href="group__GD.html#gfeeff2ea4a0b345e44279ce12a642242">g2_gd_type</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
g2 gd bitmap types <dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="ggfeeff2ea4a0b345e44279ce12a6422421f57c30aa2232778f7a6311ad830d27d"></a><!-- doxytag: member="g2_gd_jpeg" ref="ggfeeff2ea4a0b345e44279ce12a6422421f57c30aa2232778f7a6311ad830d27d" args="" -->g2_gd_jpeg</em> </td><td>
jpeg </td></tr>
<tr><td valign="top"><em><a class="anchor" name="ggfeeff2ea4a0b345e44279ce12a64224237389d17d24315c869b266b21e8eefda"></a><!-- doxytag: member="g2_gd_png" ref="ggfeeff2ea4a0b345e44279ce12a64224237389d17d24315c869b266b21e8eefda" args="" -->g2_gd_png</em> </td><td>
png </td></tr>
<tr><td valign="top"><em><a class="anchor" name="ggfeeff2ea4a0b345e44279ce12a642242b3cbb2e083dac279b9481ae1f6760ebb"></a><!-- doxytag: member="g2_gd_gif" ref="ggfeeff2ea4a0b345e44279ce12a642242b3cbb2e083dac279b9481ae1f6760ebb" args="" -->g2_gd_gif</em> </td><td>
gif </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="gff0703f99796214de86e90476a623329"></a><!-- doxytag: member="g2_gd.c::g2_open_gd" ref="gff0703f99796214de86e90476a623329" args="(const char *filename, int width, int height, enum g2_gd_type gd_type)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">int g2_open_gd </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">const char * </td>
<td class="mdname" nowrap> <em>filename</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>int </td>
<td class="mdname" nowrap> <em>width</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>int </td>
<td class="mdname" nowrap> <em>height</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>enum <a class="el" href="group__GD.html#gfeeff2ea4a0b345e44279ce12a642242">g2_gd_type</a> </td>
<td class="mdname" nowrap> <em>gd_type</em></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">) </td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Create a GD (bitmap image) device.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>filename</em> </td><td>output file name </td></tr>
<tr><td valign="top"></td><td valign="top"><em>width</em> </td><td>width </td></tr>
<tr><td valign="top"></td><td valign="top"><em>height</em> </td><td>height </td></tr>
<tr><td valign="top"></td><td valign="top"><em>gd_type</em> </td><td>file type, see <a class="el" href="group__GD.html#gfeeff2ea4a0b345e44279ce12a642242">g2_gd_type</a></td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>physical device id </dd></dl>
</td>
</tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Tue Oct 17 21:27:48 2006 for g2 by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
</body>
</html>
|