cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
| 3 | <title>MagickWand: composite.c File Reference</title> |
| 4 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
| 5 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
| 6 | </head><body> |
| 7 | <!-- Generated by Doxygen 1.5.4 --> |
| 8 | <div class="nav"> |
| 9 | <a class="el" href="dir_101f7ac0a894e32543a314e85b2e1524.html">wand</a></div> |
| 10 | <h1>composite.c File Reference</h1> |
| 11 | <p> |
| 12 | <code>#include "<a class="el" href="studio_8h-source.html">wand/studio.h</a>"</code><br> |
| 13 | <code>#include "<a class="el" href="MagickWand_8h-source.html">wand/MagickWand.h</a>"</code><br> |
| 14 | <code>#include "<a class="el" href="mogrify-private_8h-source.html">wand/mogrify-private.h</a>"</code><br> |
| 15 | <table border="0" cellpadding="0" cellspacing="0"> |
| 16 | <tr><td></td></tr> |
| 17 | <tr><td colspan="2"><br><h2>Data Structures</h2></td></tr> |
| 18 | <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__CompositeOptions.html">_CompositeOptions</a></td></tr> |
| 19 | |
| 20 | <tr><td colspan="2"><br><h2>Defines</h2></td></tr> |
| 21 | <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="composite_8c.html#422d5d4e2c5327fab448dd8656cc197d">NotInitialized</a> (unsigned int) (~0)</td></tr> |
| 22 | |
| 23 | <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="composite_8c.html#0a691e1c0bf177113a0d79cb491f741e">DestroyComposite</a>()</td></tr> |
| 24 | |
| 25 | <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="composite_8c.html#e4eb7bf9ff543ae09bc9958c5ad31b28">ThrowCompositeException</a>(asperity, tag, option)</td></tr> |
| 26 | |
| 27 | <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="composite_8c.html#fd8e22bc9178210e0261046fb1d2ae52">ThrowCompositeInvalidArgumentException</a>(option, argument)</td></tr> |
| 28 | |
| 29 | <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr> |
| 30 | <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef struct <a class="el" href="struct__CompositeOptions.html">_CompositeOptions</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="composite_8c.html#19dfa0a4e1b106d46cfca62cfffe8ff5">CompositeOptions</a></td></tr> |
| 31 | |
| 32 | <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
| 33 | <tr><td class="memItemLeft" nowrap align="right" valign="top">static MagickBooleanType </td><td class="memItemRight" valign="bottom"><a class="el" href="composite_8c.html#b12ea3de558c59ce2b0c648222b30c95">CompositeImageList</a> (ImageInfo *image_info, Image **image, Image *composite_image, <a class="el" href="struct__CompositeOptions.html">CompositeOptions</a> *composite_options, ExceptionInfo *exception)</td></tr> |
| 34 | |
| 35 | <tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="composite_8c.html#4cf5df961679f13246862090446f6feb">CompositeUsage</a> (void)</td></tr> |
| 36 | |
| 37 | <tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="composite_8c.html#8d22c6c5e9ab6c64b51ca908103bf57b">GetCompositeOptions</a> (<a class="el" href="struct__CompositeOptions.html">CompositeOptions</a> *composite_options)</td></tr> |
| 38 | |
| 39 | <tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="composite_8c.html#fcba1bc50b99d1747d3c6d4015a5cb1d">RelinquishCompositeOptions</a> (<a class="el" href="struct__CompositeOptions.html">CompositeOptions</a> *composite_options)</td></tr> |
| 40 | |
| 41 | <tr><td class="memItemLeft" nowrap align="right" valign="top">WandExport MagickBooleanType </td><td class="memItemRight" valign="bottom"><a class="el" href="composite_8c.html#28da3a461a0d0083f60a712b7dc2d501">CompositeImageCommand</a> (ImageInfo *image_info, int argc, char **argv, char **metadata, ExceptionInfo *exception)</td></tr> |
| 42 | |
| 43 | </table> |
| 44 | <hr><h2>Define Documentation</h2> |
| 45 | <a class="anchor" name="0a691e1c0bf177113a0d79cb491f741e"></a><!-- doxytag: member="composite.c::DestroyComposite" ref="0a691e1c0bf177113a0d79cb491f741e" args="()" --> |
| 46 | <div class="memitem"> |
| 47 | <div class="memproto"> |
| 48 | <table class="memname"> |
| 49 | <tr> |
| 50 | <td class="memname">#define DestroyComposite </td> |
| 51 | <td>(</td> |
| 52 | </td> |
| 53 | <td class="paramname"> </td> |
| 54 | <td> ) </td> |
| 55 | <td width="100%"></td> |
| 56 | </tr> |
| 57 | </table> |
| 58 | </div> |
| 59 | <div class="memdoc"> |
| 60 | |
| 61 | <p> |
| 62 | <b>Value:</b><div class="fragment"><pre class="fragment">{ \ |
| 63 | <a class="code" href="composite_8c.html#fcba1bc50b99d1747d3c6d4015a5cb1d">RelinquishCompositeOptions</a>(&composite_options); \ |
| 64 | <span class="keywordflow">for</span> ( ; k >= 0; k--) \ |
| 65 | image_stack[k]=DestroyImageList(image_stack[k]); \ |
| 66 | <span class="keywordflow">for</span> (i=0; i < (long) argc; i++) \ |
| 67 | argv[i]=DestroyString(argv[i]); \ |
| 68 | argv=(<span class="keywordtype">char</span> **) RelinquishMagickMemory(argv); \ |
| 69 | } |
| 70 | </pre></div> |
| 71 | </div> |
| 72 | </div><p> |
| 73 | <a class="anchor" name="422d5d4e2c5327fab448dd8656cc197d"></a><!-- doxytag: member="composite.c::NotInitialized" ref="422d5d4e2c5327fab448dd8656cc197d" args="" --> |
| 74 | <div class="memitem"> |
| 75 | <div class="memproto"> |
| 76 | <table class="memname"> |
| 77 | <tr> |
| 78 | <td class="memname">#define NotInitialized (unsigned int) (~0) </td> |
| 79 | </tr> |
| 80 | </table> |
| 81 | </div> |
| 82 | <div class="memdoc"> |
| 83 | |
| 84 | <p> |
| 85 | |
| 86 | </div> |
| 87 | </div><p> |
| 88 | <a class="anchor" name="e4eb7bf9ff543ae09bc9958c5ad31b28"></a><!-- doxytag: member="composite.c::ThrowCompositeException" ref="e4eb7bf9ff543ae09bc9958c5ad31b28" args="(asperity, tag, option)" --> |
| 89 | <div class="memitem"> |
| 90 | <div class="memproto"> |
| 91 | <table class="memname"> |
| 92 | <tr> |
| 93 | <td class="memname">#define ThrowCompositeException </td> |
| 94 | <td>(</td> |
| 95 | <td class="paramtype">asperity, <tr> |
| 96 | <td class="paramkey"></td> |
| 97 | <td></td> |
| 98 | <td class="paramtype">tag, <tr> |
| 99 | <td class="paramkey"></td> |
| 100 | <td></td> |
| 101 | <td class="paramtype">option </td> |
| 102 | <td class="paramname"> </td> |
| 103 | <td> ) </td> |
| 104 | <td width="100%"></td> |
| 105 | </tr> |
| 106 | </table> |
| 107 | </div> |
| 108 | <div class="memdoc"> |
| 109 | |
| 110 | <p> |
| 111 | <b>Value:</b><div class="fragment"><pre class="fragment">{ \ |
| 112 | (void) ThrowMagickException(<a class="code" href="struct__PixelWand.html#0bfbd228c0be5894e7f21f4085fe3855">exception</a>,GetMagickModule(),asperity,tag,<span class="stringliteral">"`%s'"</span>, \ |
| 113 | option == (<span class="keywordtype">char</span> *) NULL ? strerror(errno) : option); \ |
| 114 | <a class="code" href="composite_8c.html#0a691e1c0bf177113a0d79cb491f741e">DestroyComposite</a>(); \ |
| 115 | <span class="keywordflow">return</span>(MagickFalse); \ |
| 116 | } |
| 117 | </pre></div> |
| 118 | </div> |
| 119 | </div><p> |
| 120 | <a class="anchor" name="fd8e22bc9178210e0261046fb1d2ae52"></a><!-- doxytag: member="composite.c::ThrowCompositeInvalidArgumentException" ref="fd8e22bc9178210e0261046fb1d2ae52" args="(option, argument)" --> |
| 121 | <div class="memitem"> |
| 122 | <div class="memproto"> |
| 123 | <table class="memname"> |
| 124 | <tr> |
| 125 | <td class="memname">#define ThrowCompositeInvalidArgumentException </td> |
| 126 | <td>(</td> |
| 127 | <td class="paramtype">option, <tr> |
| 128 | <td class="paramkey"></td> |
| 129 | <td></td> |
| 130 | <td class="paramtype">argument </td> |
| 131 | <td class="paramname"> </td> |
| 132 | <td> ) </td> |
| 133 | <td width="100%"></td> |
| 134 | </tr> |
| 135 | </table> |
| 136 | </div> |
| 137 | <div class="memdoc"> |
| 138 | |
| 139 | <p> |
| 140 | <b>Value:</b><div class="fragment"><pre class="fragment">{ \ |
| 141 | (void) ThrowMagickException(<a class="code" href="struct__PixelWand.html#0bfbd228c0be5894e7f21f4085fe3855">exception</a>,GetMagickModule(),OptionError, \ |
| 142 | <span class="stringliteral">"InvalidArgument"</span>,<span class="stringliteral">"`%s': %s"</span>,argument,option); \ |
| 143 | <a class="code" href="composite_8c.html#0a691e1c0bf177113a0d79cb491f741e">DestroyComposite</a>(); \ |
| 144 | <span class="keywordflow">return</span>(MagickFalse); \ |
| 145 | } |
| 146 | </pre></div> |
| 147 | </div> |
| 148 | </div><p> |
| 149 | <hr><h2>Typedef Documentation</h2> |
| 150 | <a class="anchor" name="19dfa0a4e1b106d46cfca62cfffe8ff5"></a><!-- doxytag: member="composite.c::CompositeOptions" ref="19dfa0a4e1b106d46cfca62cfffe8ff5" args="" --> |
| 151 | <div class="memitem"> |
| 152 | <div class="memproto"> |
| 153 | <table class="memname"> |
| 154 | <tr> |
| 155 | <td class="memname">typedef struct <a class="el" href="struct__CompositeOptions.html">_CompositeOptions</a> <a class="el" href="struct__CompositeOptions.html">CompositeOptions</a> </td> |
| 156 | </tr> |
| 157 | </table> |
| 158 | </div> |
| 159 | <div class="memdoc"> |
| 160 | |
| 161 | <p> |
| 162 | |
| 163 | </div> |
| 164 | </div><p> |
| 165 | <hr><h2>Function Documentation</h2> |
| 166 | <a class="anchor" name="28da3a461a0d0083f60a712b7dc2d501"></a><!-- doxytag: member="composite.c::CompositeImageCommand" ref="28da3a461a0d0083f60a712b7dc2d501" args="(ImageInfo *image_info, int argc, char **argv, char **metadata, ExceptionInfo *exception)" --> |
| 167 | <div class="memitem"> |
| 168 | <div class="memproto"> |
| 169 | <table class="memname"> |
| 170 | <tr> |
| 171 | <td class="memname">WandExport MagickBooleanType CompositeImageCommand </td> |
| 172 | <td>(</td> |
| 173 | <td class="paramtype">ImageInfo * </td> |
| 174 | <td class="paramname"> <em>image_info</em>, </td> |
| 175 | </tr> |
| 176 | <tr> |
| 177 | <td class="paramkey"></td> |
| 178 | <td></td> |
| 179 | <td class="paramtype">int </td> |
| 180 | <td class="paramname"> <em>argc</em>, </td> |
| 181 | </tr> |
| 182 | <tr> |
| 183 | <td class="paramkey"></td> |
| 184 | <td></td> |
| 185 | <td class="paramtype">char ** </td> |
| 186 | <td class="paramname"> <em>argv</em>, </td> |
| 187 | </tr> |
| 188 | <tr> |
| 189 | <td class="paramkey"></td> |
| 190 | <td></td> |
| 191 | <td class="paramtype">char ** </td> |
| 192 | <td class="paramname"> <em>metadata</em>, </td> |
| 193 | </tr> |
| 194 | <tr> |
| 195 | <td class="paramkey"></td> |
| 196 | <td></td> |
| 197 | <td class="paramtype">ExceptionInfo * </td> |
| 198 | <td class="paramname"> <em>exception</em></td><td> </td> |
| 199 | </tr> |
| 200 | <tr> |
| 201 | <td></td> |
| 202 | <td>)</td> |
| 203 | <td></td><td></td><td width="100%"></td> |
| 204 | </tr> |
| 205 | </table> |
| 206 | </div> |
| 207 | <div class="memdoc"> |
| 208 | |
| 209 | <p> |
| 210 | |
| 211 | </div> |
| 212 | </div><p> |
| 213 | <a class="anchor" name="b12ea3de558c59ce2b0c648222b30c95"></a><!-- doxytag: member="composite.c::CompositeImageList" ref="b12ea3de558c59ce2b0c648222b30c95" args="(ImageInfo *image_info, Image **image, Image *composite_image, CompositeOptions *composite_options, ExceptionInfo *exception)" --> |
| 214 | <div class="memitem"> |
| 215 | <div class="memproto"> |
| 216 | <table class="memname"> |
| 217 | <tr> |
| 218 | <td class="memname">static MagickBooleanType CompositeImageList </td> |
| 219 | <td>(</td> |
| 220 | <td class="paramtype">ImageInfo * </td> |
| 221 | <td class="paramname"> <em>image_info</em>, </td> |
| 222 | </tr> |
| 223 | <tr> |
| 224 | <td class="paramkey"></td> |
| 225 | <td></td> |
| 226 | <td class="paramtype">Image ** </td> |
| 227 | <td class="paramname"> <em>image</em>, </td> |
| 228 | </tr> |
| 229 | <tr> |
| 230 | <td class="paramkey"></td> |
| 231 | <td></td> |
| 232 | <td class="paramtype">Image * </td> |
| 233 | <td class="paramname"> <em>composite_image</em>, </td> |
| 234 | </tr> |
| 235 | <tr> |
| 236 | <td class="paramkey"></td> |
| 237 | <td></td> |
| 238 | <td class="paramtype"><a class="el" href="struct__CompositeOptions.html">CompositeOptions</a> * </td> |
| 239 | <td class="paramname"> <em>composite_options</em>, </td> |
| 240 | </tr> |
| 241 | <tr> |
| 242 | <td class="paramkey"></td> |
| 243 | <td></td> |
| 244 | <td class="paramtype">ExceptionInfo * </td> |
| 245 | <td class="paramname"> <em>exception</em></td><td> </td> |
| 246 | </tr> |
| 247 | <tr> |
| 248 | <td></td> |
| 249 | <td>)</td> |
| 250 | <td></td><td></td><td width="100%"><code> [static]</code></td> |
| 251 | </tr> |
| 252 | </table> |
| 253 | </div> |
| 254 | <div class="memdoc"> |
| 255 | |
| 256 | <p> |
| 257 | |
| 258 | </div> |
| 259 | </div><p> |
| 260 | <a class="anchor" name="4cf5df961679f13246862090446f6feb"></a><!-- doxytag: member="composite.c::CompositeUsage" ref="4cf5df961679f13246862090446f6feb" args="(void)" --> |
| 261 | <div class="memitem"> |
| 262 | <div class="memproto"> |
| 263 | <table class="memname"> |
| 264 | <tr> |
| 265 | <td class="memname">static void CompositeUsage </td> |
| 266 | <td>(</td> |
| 267 | <td class="paramtype">void </td> |
| 268 | <td class="paramname"> </td> |
| 269 | <td> ) </td> |
| 270 | <td width="100%"><code> [static]</code></td> |
| 271 | </tr> |
| 272 | </table> |
| 273 | </div> |
| 274 | <div class="memdoc"> |
| 275 | |
| 276 | <p> |
| 277 | |
| 278 | </div> |
| 279 | </div><p> |
| 280 | <a class="anchor" name="8d22c6c5e9ab6c64b51ca908103bf57b"></a><!-- doxytag: member="composite.c::GetCompositeOptions" ref="8d22c6c5e9ab6c64b51ca908103bf57b" args="(CompositeOptions *composite_options)" --> |
| 281 | <div class="memitem"> |
| 282 | <div class="memproto"> |
| 283 | <table class="memname"> |
| 284 | <tr> |
| 285 | <td class="memname">static void GetCompositeOptions </td> |
| 286 | <td>(</td> |
| 287 | <td class="paramtype"><a class="el" href="struct__CompositeOptions.html">CompositeOptions</a> * </td> |
| 288 | <td class="paramname"> <em>composite_options</em> </td> |
| 289 | <td> ) </td> |
| 290 | <td width="100%"><code> [static]</code></td> |
| 291 | </tr> |
| 292 | </table> |
| 293 | </div> |
| 294 | <div class="memdoc"> |
| 295 | |
| 296 | <p> |
| 297 | |
| 298 | </div> |
| 299 | </div><p> |
| 300 | <a class="anchor" name="fcba1bc50b99d1747d3c6d4015a5cb1d"></a><!-- doxytag: member="composite.c::RelinquishCompositeOptions" ref="fcba1bc50b99d1747d3c6d4015a5cb1d" args="(CompositeOptions *composite_options)" --> |
| 301 | <div class="memitem"> |
| 302 | <div class="memproto"> |
| 303 | <table class="memname"> |
| 304 | <tr> |
| 305 | <td class="memname">static void RelinquishCompositeOptions </td> |
| 306 | <td>(</td> |
| 307 | <td class="paramtype"><a class="el" href="struct__CompositeOptions.html">CompositeOptions</a> * </td> |
| 308 | <td class="paramname"> <em>composite_options</em> </td> |
| 309 | <td> ) </td> |
| 310 | <td width="100%"><code> [static]</code></td> |
| 311 | </tr> |
| 312 | </table> |
| 313 | </div> |
| 314 | <div class="memdoc"> |
| 315 | |
| 316 | <p> |
| 317 | |
| 318 | </div> |
| 319 | </div><p> |
| 320 | <hr size="1"><address style="text-align: right;"><small>Generated on Sat Jan 26 14:50:34 2008 for MagickWand by |
| 321 | <a href="http://www.doxygen.org/index.html"> |
| 322 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address> |
| 323 | </body> |
| 324 | </html> |