Current Path : /usr/local/share/doc/ImageMagick/www/api/MagickWand/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/doc/ImageMagick/www/api/MagickWand/display_8c.html |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>MagickWand: display.c File Reference</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.5.4 --> <div class="nav"> <a class="el" href="dir_101f7ac0a894e32543a314e85b2e1524.html">wand</a></div> <h1>display.c File Reference</h1> <p> <code>#include "<a class="el" href="studio_8h-source.html">wand/studio.h</a>"</code><br> <code>#include "<a class="el" href="MagickWand_8h-source.html">wand/MagickWand.h</a>"</code><br> <code>#include "<a class="el" href="mogrify-private_8h-source.html">wand/mogrify-private.h</a>"</code><br> <code>#include "magick/display-private.h"</code><br> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Defines</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8c.html#a1d33fe667768bc54e110991fefd8cbd">DestroyDisplay</a>()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8c.html#718a255fa5f4d8a23394cd2030eb8220">ThrowDisplayException</a>(asperity, tag, option)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8c.html#47ddea8180fdf8ee9ab9191d00ba62a9">ThrowDisplayInvalidArgumentException</a>(option, argument)</td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8c.html#7addfef11519a0dd6fe7b02017600bd6">DisplayUsage</a> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">WandExport MagickBooleanType </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8c.html#fc55188b064d4db95abbd53c688dc424">DisplayImageCommand</a> (ImageInfo *image_info, int argc, char **argv, char **wand_unused(metadata), ExceptionInfo *exception)</td></tr> </table> <hr><h2>Define Documentation</h2> <a class="anchor" name="a1d33fe667768bc54e110991fefd8cbd"></a><!-- doxytag: member="display.c::DestroyDisplay" ref="a1d33fe667768bc54e110991fefd8cbd" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define DestroyDisplay </td> <td>(</td> </td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <b>Value:</b><div class="fragment"><pre class="fragment">{ \ <span class="keywordflow">if</span> ((state & ExitState) == 0) \ DestroyXResources(); \ <span class="keywordflow">if</span> (display != (Display *) NULL) \ { \ XCloseDisplay(display); \ display=(Display *) NULL; \ } \ XDestroyResourceInfo(&resource_info); \ <span class="keywordflow">for</span> ( ; k >= 0; k--) \ image_stack[k]=DestroyImageList(image_stack[k]); \ <span class="keywordflow">if</span> (image_marker != (<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> *) NULL) \ image_marker=(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> *) RelinquishMagickMemory(image_marker); \ <span class="keywordflow">for</span> (i=0; i < (long) argc; i++) \ argv[i]=DestroyString(argv[i]); \ argv=(<span class="keywordtype">char</span> **) RelinquishMagickMemory(argv); \ } </pre></div> </div> </div><p> <a class="anchor" name="718a255fa5f4d8a23394cd2030eb8220"></a><!-- doxytag: member="display.c::ThrowDisplayException" ref="718a255fa5f4d8a23394cd2030eb8220" args="(asperity, tag, option)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define ThrowDisplayException </td> <td>(</td> <td class="paramtype">asperity, <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">tag, <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">option </td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <b>Value:</b><div class="fragment"><pre class="fragment">{ \ (void) ThrowMagickException(<a class="code" href="struct__PixelWand.html#0bfbd228c0be5894e7f21f4085fe3855">exception</a>,GetMagickModule(),asperity,tag,<span class="stringliteral">"`%s'"</span>, \ option); \ <a class="code" href="display_8c.html#a1d33fe667768bc54e110991fefd8cbd">DestroyDisplay</a>(); \ <span class="keywordflow">return</span>(MagickFalse); \ } </pre></div> </div> </div><p> <a class="anchor" name="47ddea8180fdf8ee9ab9191d00ba62a9"></a><!-- doxytag: member="display.c::ThrowDisplayInvalidArgumentException" ref="47ddea8180fdf8ee9ab9191d00ba62a9" args="(option, argument)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define ThrowDisplayInvalidArgumentException </td> <td>(</td> <td class="paramtype">option, <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">argument </td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <b>Value:</b><div class="fragment"><pre class="fragment">{ \ (void) ThrowMagickException(<a class="code" href="struct__PixelWand.html#0bfbd228c0be5894e7f21f4085fe3855">exception</a>,GetMagickModule(),OptionError, \ <span class="stringliteral">"InvalidArgument"</span>,<span class="stringliteral">"`%s': %s"</span>,argument,option); \ <a class="code" href="display_8c.html#a1d33fe667768bc54e110991fefd8cbd">DestroyDisplay</a>(); \ <span class="keywordflow">return</span>(MagickFalse); \ } </pre></div> </div> </div><p> <hr><h2>Function Documentation</h2> <a class="anchor" name="fc55188b064d4db95abbd53c688dc424"></a><!-- doxytag: member="display.c::DisplayImageCommand" ref="fc55188b064d4db95abbd53c688dc424" args="(ImageInfo *image_info, int argc, char **argv, char **wand_unused(metadata), ExceptionInfo *exception)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">WandExport MagickBooleanType DisplayImageCommand </td> <td>(</td> <td class="paramtype">ImageInfo * </td> <td class="paramname"> <em>image_info</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>argc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">char ** </td> <td class="paramname"> <em>argv</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">char ** </td> <td class="paramname"> <em>wand_unused</em>(metadata), </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">ExceptionInfo * </td> <td class="paramname"> <em>exception</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="7addfef11519a0dd6fe7b02017600bd6"></a><!-- doxytag: member="display.c::DisplayUsage" ref="7addfef11519a0dd6fe7b02017600bd6" args="(void)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static void DisplayUsage </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr size="1"><address style="text-align: right;"><small>Generated on Sat Jan 26 14:50:34 2008 for MagickWand by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address> </body> </html>