Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-release > by-pkgid > c3d5f6d8e7a564b8f518a16810652c82 > files > 767

imagemagick-doc-6.6.1.5-2mdv2010.1.x86_64.rpm

<!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: magick-wand-private.h Source File</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>magick-wand-private.h</h1><a href="magick-wand-private_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment">  Copyright 1999-2010 ImageMagick Studio LLC, a non-profit organization</span>
<a name="l00003"></a>00003 <span class="comment">  dedicated to making software imaging solutions freely available.</span>
<a name="l00004"></a>00004 <span class="comment">  </span>
<a name="l00005"></a>00005 <span class="comment">  You may not use this file except in compliance with the License.</span>
<a name="l00006"></a>00006 <span class="comment">  obtain a copy of the License at</span>
<a name="l00007"></a>00007 <span class="comment">  </span>
<a name="l00008"></a>00008 <span class="comment">    http://www.imagemagick.org/script/license.php</span>
<a name="l00009"></a>00009 <span class="comment">  </span>
<a name="l00010"></a>00010 <span class="comment">  Unless required by applicable law or agreed to in writing, software</span>
<a name="l00011"></a>00011 <span class="comment">  distributed under the License is distributed on an "AS IS" BASIS,</span>
<a name="l00012"></a>00012 <span class="comment">  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
<a name="l00013"></a>00013 <span class="comment">  See the License for the specific language governing permissions and</span>
<a name="l00014"></a>00014 <span class="comment">  limitations under the License.</span>
<a name="l00015"></a>00015 <span class="comment"></span>
<a name="l00016"></a>00016 <span class="comment">  ImageMagick pixel wand API.</span>
<a name="l00017"></a>00017 <span class="comment">*/</span>
<a name="l00018"></a>00018 <span class="preprocessor">#ifndef _MAGICKWAND_MAGICK_WAND_PRIVATE_H</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#define _MAGICKWAND_MAGICK_WAND_PRIVATE_H</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span>
<a name="l00021"></a>00021 <span class="preprocessor">#if defined(__cplusplus) || defined(c_plusplus)</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
<a name="l00023"></a>00023 <span class="preprocessor">#endif</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a><a class="code" href="magick-wand-private_8h.html#4b45917df9c2dd996220e6da5b4afa80">00025</a> <span class="preprocessor">#define DegreesToRadians(x)  (MagickPI*(x)/180.0)</span>
<a name="l00026"></a><a class="code" href="magick-wand-private_8h.html#dddca64c32cd95a435965636f812fbde">00026</a> <span class="preprocessor"></span><span class="preprocessor">#define MagickPI  3.14159265358979323846264338327950288419716939937510</span>
<a name="l00027"></a><a class="code" href="magick-wand-private_8h.html#ad76d38b180ea7340f7c515372dc853f">00027</a> <span class="preprocessor"></span><span class="preprocessor">#define MagickWandId  "MagickWand"</span>
<a name="l00028"></a><a class="code" href="magick-wand-private_8h.html#eee7d297e9e3733c9e3b34594c582afe">00028</a> <span class="preprocessor"></span><span class="preprocessor">#define QuantumScale  ((MagickRealType) 1.0/(MagickRealType) QuantumRange)</span>
<a name="l00029"></a><a class="code" href="magick-wand-private_8h.html#5328dab476e2451ad74be94740a8f71a">00029</a> <span class="preprocessor"></span><span class="preprocessor">#define QuantumTick(i,span) ((MagickBooleanType) ((((i) &amp; ((i)-1)) == 0) || \</span>
<a name="l00030"></a>00030 <span class="preprocessor">   (((i) &amp; 0xfff) == 0) || \</span>
<a name="l00031"></a>00031 <span class="preprocessor">   ((MagickOffsetType) (i) == ((MagickOffsetType) (span)-1))))</span>
<a name="l00032"></a><a class="code" href="magick-wand-private_8h.html#ee673359f8d2f4b696a214f8d0bc9c97">00032</a> <span class="preprocessor"></span><span class="preprocessor">#define RadiansToDegrees(x) (180.0*(x)/MagickPI)</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span>
<a name="l00034"></a><a class="code" href="struct__MagickWand.html">00034</a> <span class="keyword">struct </span><a class="code" href="struct__MagickWand.html">_MagickWand</a>
<a name="l00035"></a>00035 {
<a name="l00036"></a>00036   <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>
<a name="l00037"></a><a class="code" href="struct__MagickWand.html#7133f78da242edfae4ac20c0f6baa282">00037</a>     <a class="code" href="struct__MagickWand.html#7133f78da242edfae4ac20c0f6baa282">id</a>;
<a name="l00038"></a>00038 
<a name="l00039"></a>00039   <span class="keywordtype">char</span>
<a name="l00040"></a><a class="code" href="struct__MagickWand.html#efa2240be33aa1be8285331baef0e274">00040</a>     <a class="code" href="struct__MagickWand.html#efa2240be33aa1be8285331baef0e274">name</a>[<a class="code" href="MagickWand_8h.html#6bb6730cc0ff2be19b3a403e54b1aaf0">MaxTextExtent</a>];
<a name="l00041"></a>00041 
<a name="l00042"></a>00042   ExceptionInfo
<a name="l00043"></a><a class="code" href="struct__MagickWand.html#8acb7bb0b7a91b26ce4805606570ea35">00043</a>     *<a class="code" href="struct__MagickWand.html#8acb7bb0b7a91b26ce4805606570ea35">exception</a>;
<a name="l00044"></a>00044 
<a name="l00045"></a>00045   ImageInfo
<a name="l00046"></a><a class="code" href="struct__MagickWand.html#b7d61345e782ba5a35ae9bbabee3b746">00046</a>     *<a class="code" href="struct__MagickWand.html#b7d61345e782ba5a35ae9bbabee3b746">image_info</a>;
<a name="l00047"></a>00047 
<a name="l00048"></a>00048   QuantizeInfo
<a name="l00049"></a><a class="code" href="struct__MagickWand.html#6bc0b0558507b53da326a525a72c702c">00049</a>     *<a class="code" href="struct__MagickWand.html#6bc0b0558507b53da326a525a72c702c">quantize_info</a>;
<a name="l00050"></a>00050 
<a name="l00051"></a>00051   Image
<a name="l00052"></a><a class="code" href="struct__MagickWand.html#4bf9d22de81223b16851b9585d5da20c">00052</a>     *<a class="code" href="struct__MagickWand.html#4bf9d22de81223b16851b9585d5da20c">images</a>;
<a name="l00053"></a>00053 
<a name="l00054"></a>00054   MagickBooleanType
<a name="l00055"></a><a class="code" href="struct__MagickWand.html#8c60b29aad75aa1bea26547b7488e983">00055</a>     <a class="code" href="struct__MagickWand.html#4cd0e32cac658116d41174c301baad18">active</a>,
<a name="l00056"></a>00056     <a class="code" href="struct__MagickWand.html#8c60b29aad75aa1bea26547b7488e983">pend</a>,
<a name="l00057"></a>00057     <a class="code" href="struct__MagickWand.html#ce46ab012718a9e3ca0031379b26e2a4">debug</a>;
<a name="l00058"></a>00058 
<a name="l00059"></a>00059   <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>
<a name="l00060"></a><a class="code" href="struct__MagickWand.html#46761b10b1609fc92215d1318a850f96">00060</a>     <a class="code" href="struct__MagickWand.html#46761b10b1609fc92215d1318a850f96">signature</a>;
<a name="l00061"></a>00061 };
<a name="l00062"></a>00062 
<a name="l00063"></a>00063 <span class="preprocessor">#if defined(__cplusplus) || defined(c_plusplus)</span>
<a name="l00064"></a>00064 <span class="preprocessor"></span>}
<a name="l00065"></a>00065 <span class="preprocessor">#endif</span>
<a name="l00066"></a>00066 <span class="preprocessor"></span>
<a name="l00067"></a>00067 <span class="preprocessor">#endif</span>
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Sat Jan 26 14:50:34 2008 for MagickWand by&nbsp;
<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>