unplugged-system/external/ImageMagick/www/api/Magick++/Image_8cpp.html

235 lines
30 KiB
HTML
Raw Permalink Normal View History

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Magick++: Image.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Magick++
&#160;<span id="projectnumber">7.0.10</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('Image_8cpp.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="Image_8cpp.html#define-members">Macros</a> </div>
<div class="headertitle">
<div class="title">Image.cpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="Include_8h_source.html">Magick++/Include.h</a>&quot;</code><br />
<code>#include &lt;cstdlib&gt;</code><br />
<code>#include &lt;string&gt;</code><br />
<code>#include &lt;string.h&gt;</code><br />
<code>#include &lt;errno.h&gt;</code><br />
<code>#include &lt;math.h&gt;</code><br />
<code>#include &quot;<a class="el" href="Image_8h_source.html">Magick++/Image.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="Functions_8h_source.html">Magick++/Functions.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="Pixels_8h_source.html">Magick++/Pixels.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="Options_8h_source.html">Magick++/Options.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="ImageRef_8h_source.html">Magick++/ImageRef.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for Image.cpp:</div>
<div class="dyncontent">
<div class="center"><img src="Image_8cpp__incl.png" border="0" usemap="#Image_8cpp" alt=""/></div>
<map name="Image_8cpp" id="Image_8cpp">
<area shape="rect" id="node2" href="Include_8h.html" title="Magick++/Include.h" alt="" coords="1126,453,1263,480"/>
<area shape="rect" id="node17" href="Image_8h.html" title="Magick++/Image.h" alt="" coords="841,155,972,181"/>
<area shape="rect" id="node30" href="Functions_8h.html" title="Magick++/Functions.h" alt="" coords="424,379,576,405"/>
<area shape="rect" id="node31" href="Pixels_8h.html" title="Magick++/Pixels.h" alt="" coords="577,80,708,107"/>
<area shape="rect" id="node32" href="Options_8h.html" title="Magick++/Options.h" alt="" coords="837,229,977,256"/>
<area shape="rect" id="node33" href="ImageRef_8h.html" title="Magick++/ImageRef.h" alt="" coords="1691,304,1843,331"/>
<area shape="rect" id="node19" href="Blob_8h.html" title="Magick++/Blob.h" alt="" coords="600,379,723,405"/>
<area shape="rect" id="node20" href="Color_8h.html" title="Magick++/Color.h" alt="" coords="747,379,872,405"/>
<area shape="rect" id="node21" href="Drawable_8h.html" title="Magick++/Drawable.h" alt="" coords="1099,304,1250,331"/>
<area shape="rect" id="node25" href="Geometry_8h.html" title="Magick++/Geometry.h" alt="" coords="947,379,1098,405"/>
<area shape="rect" id="node26" href="Exception_8h.html" title="Magick++/Exception.h" alt="" coords="145,379,298,405"/>
<area shape="rect" id="node28" href="Statistic_8h.html" title="Magick++/Statistic.h" alt="" coords="1473,304,1615,331"/>
<area shape="rect" id="node29" href="TypeMetric_8h.html" title="Magick++/TypeMetric.h" alt="" coords="1166,229,1325,256"/>
<area shape="rect" id="node34" href="Thread_8h.html" title="Magick++/Thread.h" alt="" coords="1793,379,1927,405"/>
</map>
</div>
</div>
<p><a href="Image_8cpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a24d8db5449916b4dd0283f5f30a5edc7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Image_8cpp.html#a24d8db5449916b4dd0283f5f30a5edc7">MAGICKCORE_IMPLEMENTATION</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:a24d8db5449916b4dd0283f5f30a5edc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99e08660df365803d576005502caf7e5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Image_8cpp.html#a99e08660df365803d576005502caf7e5">MAGICK_PLUSPLUS_IMPLEMENTATION</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:a99e08660df365803d576005502caf7e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f4174972ce317456cdcb9b28d857a5c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Image_8cpp.html#a1f4174972ce317456cdcb9b28d857a5c">AbsoluteValue</a>(x)&#160;&#160;&#160;((x) &lt; 0 ? -(x) : (x))</td></tr>
<tr class="separator:a1f4174972ce317456cdcb9b28d857a5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adddca64c32cd95a435965636f812fbde"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Image_8cpp.html#adddca64c32cd95a435965636f812fbde">MagickPI</a>&#160;&#160;&#160;3.14159265358979323846264338327950288419716939937510</td></tr>
<tr class="separator:adddca64c32cd95a435965636f812fbde"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b45917df9c2dd996220e6da5b4afa80"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Image_8cpp.html#a4b45917df9c2dd996220e6da5b4afa80">DegreesToRadians</a>(x)&#160;&#160;&#160;(<a class="el" href="Options_8cpp.html#adddca64c32cd95a435965636f812fbde">MagickPI</a>*(x)/180.0)</td></tr>
<tr class="separator:a4b45917df9c2dd996220e6da5b4afa80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab11894e7dd8a462ecd0e0980acdee411"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Image_8cpp.html#ab11894e7dd8a462ecd0e0980acdee411">ThrowImageException</a>&#160;&#160;&#160;<a class="el" href="Include_8h.html#a6a4b81920dd51d0f026cf21a015b194a">ThrowPPException</a>(quiet())</td></tr>
<tr class="separator:ab11894e7dd8a462ecd0e0980acdee411"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a1f4174972ce317456cdcb9b28d857a5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="Image_8cpp.html#a1f4174972ce317456cdcb9b28d857a5c">&#9670;&nbsp;</a></span>AbsoluteValue</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define AbsoluteValue</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">x</td><td>)</td>
<td>&#160;&#160;&#160;((x) &lt; 0 ? -(x) : (x))</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Image_8cpp_source.html#l00027">27</a> of file <a class="el" href="Image_8cpp_source.html">Image.cpp</a>.</p>
</div>
</div>
<a id="a4b45917df9c2dd996220e6da5b4afa80"></a>
<h2 class="memtitle"><span class="permalink"><a href="Image_8cpp.html#a4b45917df9c2dd996220e6da5b4afa80">&#9670;&nbsp;</a></span>DegreesToRadians</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define DegreesToRadians</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">x</td><td>)</td>
<td>&#160;&#160;&#160;(<a class="el" href="Options_8cpp.html#adddca64c32cd95a435965636f812fbde">MagickPI</a>*(x)/180.0)</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Image_8cpp_source.html#l00029">29</a> of file <a class="el" href="Image_8cpp_source.html">Image.cpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="Image_8cpp_source.html#l01857">Magick::Image::annotate()</a>.</p>
</div>
</div>
<a id="a99e08660df365803d576005502caf7e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="Image_8cpp.html#a99e08660df365803d576005502caf7e5">&#9670;&nbsp;</a></span>MAGICK_PLUSPLUS_IMPLEMENTATION</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MAGICK_PLUSPLUS_IMPLEMENTATION&#160;&#160;&#160;1</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Image_8cpp_source.html#l00010">10</a> of file <a class="el" href="Image_8cpp_source.html">Image.cpp</a>.</p>
</div>
</div>
<a id="a24d8db5449916b4dd0283f5f30a5edc7"></a>
<h2 class="memtitle"><span class="permalink"><a href="Image_8cpp.html#a24d8db5449916b4dd0283f5f30a5edc7">&#9670;&nbsp;</a></span>MAGICKCORE_IMPLEMENTATION</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MAGICKCORE_IMPLEMENTATION&#160;&#160;&#160;1</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Image_8cpp_source.html#l00009">9</a> of file <a class="el" href="Image_8cpp_source.html">Image.cpp</a>.</p>
</div>
</div>
<a id="adddca64c32cd95a435965636f812fbde"></a>
<h2 class="memtitle"><span class="permalink"><a href="Image_8cpp.html#adddca64c32cd95a435965636f812fbde">&#9670;&nbsp;</a></span>MagickPI</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MagickPI&#160;&#160;&#160;3.14159265358979323846264338327950288419716939937510</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Image_8cpp_source.html#l00028">28</a> of file <a class="el" href="Image_8cpp_source.html">Image.cpp</a>.</p>
</div>
</div>
<a id="ab11894e7dd8a462ecd0e0980acdee411"></a>
<h2 class="memtitle"><span class="permalink"><a href="Image_8cpp.html#ab11894e7dd8a462ecd0e0980acdee411">&#9670;&nbsp;</a></span>ThrowImageException</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define ThrowImageException&#160;&#160;&#160;<a class="el" href="Include_8h.html#a6a4b81920dd51d0f026cf21a015b194a">ThrowPPException</a>(quiet())</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Image_8cpp_source.html#l00030">30</a> of file <a class="el" href="Image_8cpp_source.html">Image.cpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="Image_8cpp_source.html#l01711">Magick::Image::adaptiveBlur()</a>, <a class="el" href="Image_8cpp_source.html#l01722">Magick::Image::adaptiveResize()</a>, <a class="el" href="Image_8cpp_source.html#l01744">Magick::Image::adaptiveSharpen()</a>, <a class="el" href="Image_8cpp_source.html#l01755">Magick::Image::adaptiveSharpenChannel()</a>, <a class="el" href="Image_8cpp_source.html#l01769">Magick::Image::adaptiveThreshold()</a>, <a class="el" href="Image_8cpp_source.html#l01783">Magick::Image::addNoise()</a>, <a class="el" href="Image_8cpp_source.html#l01794">Magick::Image::addNoiseChannel()</a>, <a class="el" href="Image_8cpp_source.html#l01808">Magick::Image::affineTransform()</a>, <a class="el" href="Image_8cpp_source.html#l00305">Magick::Image::alpha()</a>, <a class="el" href="Image_8cpp_source.html#l01837">Magick::Image::alphaChannel()</a>, <a class="el" href="Image_8cpp_source.html#l01857">Magick::Image::annotate()</a>, <a class="el" href="Image_8cpp_source.html#l01972">Magick::Image::attribute()</a>, <a class="el" href="Image_8cpp_source.html#l02003">Magick::Image::autoGamma()</a>, <a class="el" href="Image_8cpp_source.html#l02012">Magick::Image::autoGammaChannel()</a>, <a class="el" href="Image_8cpp_source.html#l02023">Magick::Image::autoLevel()</a>, <a class="el" href="Image_8cpp_source.html#l02031">Magick::Image::autoLevelChannel()</a>, <a class="el" href="Image_8cpp_source.html#l02041">Magick::Image::autoOrient()</a>, <a class="el" href="Image_8cpp_source.html#l02056">Magick::Image::autoThreshold()</a>, <a class="el" href="Image_8cpp_source.html#l02064">Magick::Image::blackThreshold()</a>, <a class="el" href="Image_8cpp_source.html#l02072">Magick::Image::blackThresholdChannel()</a>, <a class="el" href="Image_8cpp_source.html#l02083">Magick::Image::blueShift()</a>, <a class="el" href="Image_8cpp_source.html#l02094">Magick::Image::blur()</a>, <a class="el" href="Image_8cpp_source.html#l02105">Magick::Image::blurChannel()</a>, <a class="el" href="Image_8cpp_source.html#l02119">Magick::Image::border()</a>, <a class="el" href="Image_8cpp_source.html#l00444">Magick::Image::boundingBox()</a>, <a class="el" href="Image_8cpp_source.html#l02134">Magick::Image::brightnessContrast()</a>, <a class="el" href="Image_8cpp_source.html#l02143">Magick::Image::brightnessContrastChannel()</a>, <a class="el" href="Image_8cpp_source.html#l02154">Magick::Image::cannyEdge()</a>, <a class="el" href="Image_8cpp_source.html#l02168">Magick::Image::cdl()</a>, <a class="el" href="Image_8cpp_source.html#l02176">Magick::Image::channel()</a>, <a class="el" href="Image_8cpp_source.html#l00466">Magick::Image::channelDepth()</a>, <a class="el" href="Image_8cpp_source.html#l02187">Magick::Image::charcoal()</a>, <a class="el" href="Image_8cpp_source.html#l02198">Magick::Image::charcoalChannel()</a>, <a class="el" href="Image_8cpp_source.html#l02212">Magick::Image::chop()</a>, <a class="el" href="Image_8cpp_source.html#l02290">Magick::Image::clamp()</a>, <a class="el" href="Image_8cpp_source.html#l02298">Magick::Image::clampChannel()</a>, <a class="el" href="Image_8cpp_source.html#l00495">Magick::Image::classType()</a>, <a class="el" href="Image_8cpp_source.html#l02308">Magick::Image::clip()</a>, <a class="el" href="Image_8cpp_source.html#l02316">Magick::Image::clipPath()</a>, <a class="el" href="Image_8cpp_source.html#l02325">Magick::Image::clut()</a>, <a class="el" href="Image_8cpp_source.html#l02334">Magick::Image::clutChannel()</a>, <a class="el" href="Image_8cpp_source.html#l02350">Magick::Image::colorize()</a>, <a class="el" href="Image_8cpp_source.html#l00537">Magick::Image::colorMapSize()</a>, <a class="el" href="Image_8cpp_source.html#l02417">Magick::Image::colorMatrix()</a>, <a class="el" href="Image_8cpp_source.html#l00558">Magick::Image::colorSpace()</a>, <a class="el" href="Image_8cpp_source.html#l00574">Magick::Image::colorSpaceType()</a>, <a class="el" href="Image_8cpp_source.html#l00593">Magick::Image::comment()</a>, <a class="el" href="Image_8cpp_source.html#l02446">Magick::Image:
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="https://imagemagick.org/api/Magick++/dir_43e0a1f539e00dcfa1a6bc4d4fee4fc2.html">home</a></li><li class="navelem"><a class="el" href="https://imagemagick.org/api/Magick++/dir_68918867e77b0a45f29c43673f2273f8.html">cristy</a></li><li class="navelem"><a class="el" href="https://imagemagick.org/api/Magick++/dir_0664224c5e489c82e6416cddc46e1af0.html">ImageMagick-7</a></li><li class="navelem"><a class="el" href="https://imagemagick.org/api/Magick++/dir_436bc20d1ebf054c4eca7a72174ce42e.html">Magick++</a></li><li class="navelem"><a class="el" href="https://imagemagick.org/api/Magick++/dir_94b620f9ceea3d56d5ade00d9eab2203.html">lib</a></li><li class="navelem"><a class="el" href="Image_8cpp.html">Image.cpp</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
</ul>
</div>
</body>
</html>