1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xmlns="http://www.w3.org/1999/xhtml"> 3<head> 4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 5<meta http-equiv="X-UA-Compatible" content="IE=9"/> 6<meta name="generator" content="Doxygen 1.8.14"/> 7<meta name="viewport" content="width=device-width, initial-scale=1"/> 8<title>Magick++: demo.cpp File Reference</title> 9<link href="tabs.css" rel="stylesheet" type="text/css"/> 10<script type="text/javascript" src="jquery.js"></script> 11<script type="text/javascript" src="dynsections.js"></script> 12<link href="navtree.css" rel="stylesheet" type="text/css"/> 13<script type="text/javascript" src="resize.js"></script> 14<script type="text/javascript" src="navtreedata.js"></script> 15<script type="text/javascript" src="navtree.js"></script> 16<script type="text/javascript"> 17/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ 18 $(document).ready(initResizable); 19/* @license-end */</script> 20<link href="doxygen.css" rel="stylesheet" type="text/css" /> 21</head> 22<body> 23<div id="top"><!-- do not remove this div, it is closed by doxygen! --> 24<div id="titlearea"> 25<table cellspacing="0" cellpadding="0"> 26 <tbody> 27 <tr style="height: 56px;"> 28 <td id="projectalign" style="padding-left: 0.5em;"> 29 <div id="projectname">Magick++ 30  <span id="projectnumber">7.0.10</span> 31 </div> 32 </td> 33 </tr> 34 </tbody> 35</table> 36</div> 37<!-- end header part --> 38<!-- Generated by Doxygen 1.8.14 --> 39</div><!-- top --> 40<div id="side-nav" class="ui-resizable side-nav-resizable"> 41 <div id="nav-tree"> 42 <div id="nav-tree-contents"> 43 <div id="nav-sync" class="sync"></div> 44 </div> 45 </div> 46 <div id="splitbar" style="-moz-user-select:none;" 47 class="ui-resizable-handle"> 48 </div> 49</div> 50<script type="text/javascript"> 51/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ 52$(document).ready(function(){initNavTree('demo_8cpp.html','');}); 53/* @license-end */ 54</script> 55<div id="doc-content"> 56<div class="header"> 57 <div class="summary"> 58<a href="demo_8cpp.html#define-members">Macros</a> | 59<a href="demo_8cpp.html#func-members">Functions</a> </div> 60 <div class="headertitle"> 61<div class="title">demo.cpp File Reference</div> </div> 62</div><!--header--> 63<div class="contents"> 64<div class="textblock"><code>#include <<a class="el" href="Magick_09_09_8h_source.html">Magick++.h</a>></code><br /> 65<code>#include <string></code><br /> 66<code>#include <iostream></code><br /> 67<code>#include <list></code><br /> 68</div><div class="textblock"><div class="dynheader"> 69Include dependency graph for demo.cpp:</div> 70<div class="dyncontent"> 71<div class="center"><img src="demo_8cpp__incl.png" border="0" usemap="#demo_8cpp" alt=""/></div> 72<map name="demo_8cpp" id="demo_8cpp"> 73<area shape="rect" id="node2" href="Magick_09_09_8h.html" title="Magick++.h" alt="" coords="1319,80,1409,107"/> 74<area shape="rect" id="node3" href="Include_8h.html" title="Magick++/Include.h" alt="" coords="1203,528,1341,555"/> 75<area shape="rect" id="node15" href="Functions_8h.html" title="Magick++/Functions.h" alt="" coords="93,453,245,480"/> 76<area shape="rect" id="node17" href="Image_8h.html" title="Magick++/Image.h" alt="" coords="979,229,1109,256"/> 77<area shape="rect" id="node30" href="Pixels_8h.html" title="Magick++/Pixels.h" alt="" coords="1156,155,1287,181"/> 78<area shape="rect" id="node31" href="ResourceLimits_8h.html" title="Magick++/ResourceLimits.h" alt="" coords="1641,229,1828,256"/> 79<area shape="rect" id="node32" href="STL_8h.html" title="Magick++/STL.h" alt="" coords="1394,304,1513,331"/> 80<area shape="rect" id="node19" href="Blob_8h.html" title="Magick++/Blob.h" alt="" coords="320,453,443,480"/> 81<area shape="rect" id="node20" href="Color_8h.html" title="Magick++/Color.h" alt="" coords="467,453,592,480"/> 82<area shape="rect" id="node21" href="Drawable_8h.html" title="Magick++/Drawable.h" alt="" coords="831,379,982,405"/> 83<area shape="rect" id="node25" href="Geometry_8h.html" title="Magick++/Geometry.h" alt="" coords="667,453,818,480"/> 84<area shape="rect" id="node26" href="Exception_8h.html" title="Magick++/Exception.h" alt="" coords="1377,379,1530,405"/> 85<area shape="rect" id="node28" href="Statistic_8h.html" title="Magick++/Statistic.h" alt="" coords="1006,379,1149,405"/> 86<area shape="rect" id="node29" href="TypeMetric_8h.html" title="Magick++/TypeMetric.h" alt="" coords="945,304,1103,331"/> 87<area shape="rect" id="node36" href="CoderInfo_8h.html" title="Magick++/CoderInfo.h" alt="" coords="1515,453,1667,480"/> 88<area shape="rect" id="node37" href="Montage_8h.html" title="Magick++/Montage.h" alt="" coords="609,379,756,405"/> 89</map> 90</div> 91</div> 92<p><a href="demo_8cpp_source.html">Go to the source code of this file.</a></p> 93<table class="memberdecls"> 94<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> 95Macros</h2></td></tr> 96<tr class="memitem:a1f2bcd1d6c6a889d4ebdb43395e21f33"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="demo_8cpp.html#a1f2bcd1d6c6a889d4ebdb43395e21f33">MakeLabel</a>(image, text)</td></tr> 97<tr class="separator:a1f2bcd1d6c6a889d4ebdb43395e21f33"><td class="memSeparator" colspan="2"> </td></tr> 98</table><table class="memberdecls"> 99<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> 100Functions</h2></td></tr> 101<tr class="memitem:a51a0c03e82a49c8df1aee64a078f33e7"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="demo_8cpp.html#a51a0c03e82a49c8df1aee64a078f33e7">main</a> (int, char **argv)</td></tr> 102<tr class="separator:a51a0c03e82a49c8df1aee64a078f33e7"><td class="memSeparator" colspan="2"> </td></tr> 103</table> 104<h2 class="groupheader">Macro Definition Documentation</h2> 105<a id="a1f2bcd1d6c6a889d4ebdb43395e21f33"></a> 106<h2 class="memtitle"><span class="permalink"><a href="demo_8cpp.html#a1f2bcd1d6c6a889d4ebdb43395e21f33">◆ </a></span>MakeLabel</h2> 107 108<div class="memitem"> 109<div class="memproto"> 110 <table class="memname"> 111 <tr> 112 <td class="memname">#define MakeLabel</td> 113 <td>(</td> 114 <td class="paramtype"> </td> 115 <td class="paramname">image, </td> 116 </tr> 117 <tr> 118 <td class="paramkey"></td> 119 <td></td> 120 <td class="paramtype"> </td> 121 <td class="paramname">text </td> 122 </tr> 123 <tr> 124 <td></td> 125 <td>)</td> 126 <td></td><td></td> 127 </tr> 128 </table> 129</div><div class="memdoc"> 130 131<p class="definition">Definition at line <a class="el" href="demo_8cpp_source.html#l00025">25</a> of file <a class="el" href="demo_8cpp_source.html">demo.cpp</a>.</p> 132 133<p class="reference">Referenced by <a class="el" href="demo_8cpp_source.html#l00028">main()</a>.</p> 134 135</div> 136</div> 137<h2 class="groupheader">Function Documentation</h2> 138<a id="a51a0c03e82a49c8df1aee64a078f33e7"></a> 139<h2 class="memtitle"><span class="permalink"><a href="demo_8cpp.html#a51a0c03e82a49c8df1aee64a078f33e7">◆ </a></span>main()</h2> 140 141<div class="memitem"> 142<div class="memproto"> 143 <table class="memname"> 144 <tr> 145 <td class="memname">int main </td> 146 <td>(</td> 147 <td class="paramtype">int </td> 148 <td class="paramname">, </td> 149 </tr> 150 <tr> 151 <td class="paramkey"></td> 152 <td></td> 153 <td class="paramtype">char ** </td> 154 <td class="paramname"><em>argv</em> </td> 155 </tr> 156 <tr> 157 <td></td> 158 <td>)</td> 159 <td></td><td></td> 160 </tr> 161 </table> 162</div><div class="memdoc"> 163 164<p class="definition">Definition at line <a class="el" href="demo_8cpp_source.html#l00028">28</a> of file <a class="el" href="demo_8cpp_source.html">demo.cpp</a>.</p> 165 166<p class="reference">References <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#l00305">Magick::Image::alpha()</a>, <a class="el" href="Image_8cpp_source.html#l01845">Magick::Image::annotate()</a>, <a class="el" href="Image_8cpp_source.html#l00374">Magick::Image::backgroundColor()</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#l00427">Magick::Image::borderColor()</a>, <a class="el" href="Image_8cpp_source.html#l02176">Magick::Image::channel()</a>, <a class="el" href="Image_8cpp_source.html#l02187">Magick::Image::charcoal()</a>, <a class="el" href="Color_8h_source.html#l00016">Magick::Color</a>, <a class="el" href="Image_8cpp_source.html#l00588">Magick::Image::columns()</a>, <a class="el" href="Image_8cpp_source.html#l02522">Magick::Image::composite()</a>, <a class="el" href="Image_8cpp_source.html#l02584">Magick::Image::contrast()</a>, <a class="el" href="Image_8cpp_source.html#l02612">Magick::Image::convolve()</a>, <a class="el" href="Image_8cpp_source.html#l02654">Magick::Image::crop()</a>, <a class="el" href="Image_8cpp_source.html#l00651">Magick::Image::density()</a>, <a class="el" href="Image_8cpp_source.html#l02754">Magick::Image::despeckle()</a>, <a class="el" href="Image_8cpp_source.html#l02785">Magick::Image::draw()</a>, <a class="el" href="Image_8cpp_source.html#l02834">Magick::Image::edge()</a>, <a class="el" href="Image_8cpp_source.html#l02845">Magick::Image::emboss()</a>, <a class="el" href="Image_8cpp_source.html#l02875">Magick::Image::equalize()</a>, <a class="el" href="Image_8cpp_source.html#l02891">Magick::Image::evaluate()</a>, <a class="el" href="Image_8cpp_source.html#l00784">Magick::Image::fillColor()</a>, <a class="el" href="Image_8cpp_source.html#l02984">Magick::Image::flip()</a>, <a class="el" href="Image_8cpp_source.html#l03107">Magick::Image::flop()</a>, <a class="el" href="Image_8cpp_source.html#l00850">Magick::Image::font()</a>, <a class="el" href="Image_8cpp_source.html#l00872">Magick::Image::fontPointsize()</a>, <a class="el" href="Image_8cpp_source.html#l03146">Magick::Image::frame()</a>, <a class="el" href="Image_8cpp_source.html#l00945">Magick::Image::gamma()</a>, <a class="el" href="Image_8cpp_source.html#l03237">Magick::Image::gaussianBlur()</a>, <a class="el" href="Image_8cpp_source.html#l03248">Magick::Image::gaussianBlurChannel()</a>, <a class="el" href="Geometry_8h_source.html#l00019">Magick::Geometry</a>, <a class="el" href="Montage_8cpp_source.html#l00080">Magick::Montage::geometry()</a>, <a class="el" href="Image_8cpp_source.html#l03356">Magick::Image::implode()</a>, <a class="el" href="Functions_8cpp_source.html#l00043">Magick::InitializeMagick()</a>, <a class="el" href="Image_8cpp_source.html#l03411">Magick::Image::level()</a>, <a class="el" href="Image_8cpp_source.html#l03420">Magick::Image::levelChannel()</a>, <a class="el" href="demo_8cpp_source.html#l00025">MakeLabel</a>, <a class="el" href="Image_8cpp_source.html#l03577">Magick::Image::medianFilter()</a>, <a class="el" href="Image_8cpp_source.html#l03600">Magick::Image::modulate()</a>, <a class="el" href="STL_8h_source.html#l02479">Magick::montageImages()</a>, <a class="el" href="Image_8cpp_source.html#l03717">Magick::Image::motionBlur()</a>, <a class="el" href="Image_8cpp_source.html#l03729">Magick::Image::negate()</a>, <a class="el" href="Image_8cpp_source.html#l03748">Magick::Image::normalize()</a>, <a class="el" href="Image_8cpp_source.html#l03756">Magick::Image::oilPaint()</a>, <a class="el" href="Image_8cpp_source.html#l03978">Magick::Image::quantize()</a>, <a class="el" href="Image_8cpp_source.html#l01258">Magick::Image::quantizeColors()</a>, <a class="el" href="Image_8cpp_source.html#l01269">Magick::Image::quantizeColorSpace()</a>, <a class="el" href="Image_8cpp_source.html#l01281">Magick::Image::quantizeDither()</a>, <a class="el" href="Image_8cpp_source.html#l03992">Magick::Image::raise()</a>, <a class="el" href="Image_8cpp_source.html#l04004">Magick::Image::randomThreshold()</a>, <a class="el" href="Image_8cpp_source.html#l04011">Magick::Image::randomThresholdChannel()</a>, <a class="el" href="Image_8cpp_source.html#l04022">Magick::Image::read()</a>, <a class="el" href="Image_8cpp_source.html#l04122">Magick::Image::reduceNoise()</a>, <a class="el" href="Image_8cpp_source.html#l04186">Magick::Image::roll()</a>, <a class="el" href="Image_8cpp_source.html#l04209">Magick::Image::rotate()</a>, <a class="el" href="Image_8cpp_source.html#l04267">Magick::Image::scale()</a>, <a class="el" href="Image_8cpp_source.html#l04289">Magick::Image::segment()</a>, <a class="el" href="Image_8cpp_source.html#l04383">Magick::Image::shade()</a>, <a class="el" href="Image_8cpp_source.html#l04409">Magick::Image::sharpen()</a>, <a class="el" href="Image_8cpp_source.html#l04434">Magick::Image::shave()</a>, <a class="el" href="Image_8cpp_source.html#l04448">Magick::Image::shear()</a>, <a class="el" href="Image_8cpp_source.html#l01366">Magick::Image::size()</a>, <a class="el" href="Image_8cpp_source.html#l04486">Magick::Image::solarize()</a>, <a class="el" href="Image_8cpp_source.html#l04539">Magick::Image::spread()</a>, <a class="el" href="Image_8cpp_source.html#l01390">Magick::Image::strokeColor()</a>, <a class="el" href="Image_8cpp_source.html#l01494">Magick::Image::strokeWidth()</a>, <a class="el" href="Image_8cpp_source.html#l04607">Magick::Image::swirl()</a>, <a class="el" href="Image_8cpp_source.html#l04634">Magick::Image::threshold()</a>, <a class="el" href="Image_8cpp_source.html#l04697">Magick::Image::transparent()</a>, <a class="el" href="Image_8cpp_source.html#l04795">Magick::Image::unsharpmask()</a>, <a class="el" href="Image_8cpp_source.html#l04836">Magick::Image::wave()</a>, <a class="el" href="STL_8h_source.html#l02818">Magick::writeImages()</a>, and <a class="el" href="Image_8cpp_source.html#l04981">Magick::Image::zoom()</a>.</p> 167 168</div> 169</div> 170</div><!-- contents --> 171</div><!-- doc-content --> 172<!-- start footer part --> 173<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> 174 <ul> 175 <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_4605d6fa90a40da184bf7dcbbb926a9b.html">demo</a></li><li class="navelem"><a class="el" href="demo_8cpp.html">demo.cpp</a></li> 176 <li class="footer">Generated by 177 <a href="http://www.doxygen.org/index.html"> 178 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li> 179 </ul> 180</div> 181</body> 182</html> 183