]> granicus.if.org Git - imagemagick/blob - www/api/drawing-wand.html
63b642cef599fff3b90a90c3f2eeada11072d267
[imagemagick] / www / api / drawing-wand.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\r
2     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">\r
4 <head>\r
5   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>\r
6   <meta name="verify-v1" content="g222frIIxcQTrvDR3NBRUSKP3AnMNoqxOkIniCEkV7U="/>\r
7   <title>ImageMagick: MagickWand, C API for ImageMagick: Drawing Wand Methods</title/>
8   <meta http-equiv="Content-Language" content="en-US"/>
9   <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
10   <meta http-equiv="Reply-to" content="magick-users@imagemagick.org"/>
11   <meta name="Application-name" content="ImageMagick"/>
12   <meta name="Description" content="ImageMagick® is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (about 100) including GIF, JPEG, JPEG-2000, PNG, PDF, PhotoCD, TIFF, and DPX. Use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.  ImageMagick is free software delivered as a ready-to-run binary distribution or as source code that you can freely use, copy, modify, and distribute. Its license is compatible with the GPL. It runs on all major operating systems.  The functionality of ImageMagick is typically utilized from the command line or you can use the features from programs written in your favorite programming language. Choose from these interfaces: MagickCore (C), MagickWand (C), ChMagick (Ch), Magick++ (C++), JMagick (Java), L-Magick (Lisp), PascalMagick (Pascal), PerlMagick (Perl), MagickWand for PHP (PHP), PythonMagick (Python), RMagick (Ruby), or TclMagick (Tcl/TK). With a language interface, use ImageMagick to modify or create images automagically and dynamically."/>
13   <meta name="Application-url" content="http://www.imagemagick.org"/>
14   <meta name="Generator" content="PHP"/>
15   <meta name="Keywords" content="magickwc, api, for, imagemagick:, drawing, wmethods, ImageMagick, ImageMagic, MagickCore, MagickWand, PerlMagick, Magick++, RMagick, PythonMagick, JMagick, TclMagick, Image, Magick, Magic, Wand, ImageMagickObject, Swiss, Army, Knife, Image, Processing"/>
16   <meta name="Rating" content="GENERAL"/>
17   <meta name="Robots" content="INDEX, FOLLOW"/>
18   <meta name="Generator" content="ImageMagick Studio LLC"/>
19   <meta name="Author" content="ImageMagick Studio LLC"/>
20   <meta name="Revisit-after" content="2 DAYS"/>
21   <meta name="Resource-type" content="document"/>
22   <meta name="Copyright" content="Copyright (c) 1999-2010 ImageMagick Studio LLC"/>
23   <meta name="Distribution" content="Global"/>
24   <link rel="icon" href="../../images/wand.png"  sizes="32x32"/>
25   <link rel="shortcut icon" href="../../images/wand.ico"  type="images/x-icon"/>
26   <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf"/>\r
27   <style type="text/css" media="all">\r
28     @import url("../../www/magick.css");\r
29   </style>\r
30 </head>\r
31 \r
32 <body id="www-imagemagick-org">\r
33 <div class="titlebar">\r
34 <a href="../../index.html">\r
35   <img src="../../images/script.png" alt="[ImageMagick]"\r
36   style="width: 350px; height: 60px; margin: 28px auto; float: left;" /></a>\r
37 <a href="http://www.networkredux.com">\r
38   <img src="../../images/networkredux.png" alt="[sponsor]"\r
39   style="margin: 45px auto; border: 0px; float: left;" /></a>\r
40 <a href="http://www.imagemagick.org/discourse-server/">\r
41   <img src="../../images/logo.jpg" alt=""\r
42   style="width: 114px; height: 118px; border: 0px; float: right;" /></a>\r
43 <a href="../../index.html">\r
44   <img src="../../images/sprite.jpg" alt=""\r
45   style="width: 114px; height: 118px; border: 0px; float: right;" /></a>\r
46 </div>\r
47 \r
48 <div class="westbar">\r
49 \r
50 <div class="menu">
51   <a title="About ImageMagick" href="../../index.html">About ImageMagick</a>
52 </div>
53 <div class="sep"></div>\r
54 <div class="menu">
55   <a title="Binary Releases" href="../../www/binary-releases.html">Binary Releases</a>
56 </div>
57 <div class="sub">
58     <a title="Binary Release: Unix" href="../../www/binary-releases.html#unix">Unix</a>
59 </div>
60 <div class="sub">
61     <a title="Binary Release: MacOS X" href="../../www/binary-releases.html#macosx">Mac OS X</a>
62 </div>
63 <div class="sub">
64     <a title="Binary Release: Windows" href="../../www/binary-releases.html#windows">Windows</a>
65 </div>
66 <div class="sep"></div>\r
67 <div class="menu">
68   <a title="Command-line Tools" href="../../www/command-line-tools.html">Command-line Tools</a>
69 </div>
70 <div class="sub">
71     <a title="Command-line Tools: Processing" href="../../www/command-line-processing.html">Processing</a>
72 </div>
73 <div class="sub">
74     <a title="Command-line Tools: Options" href="../../www/command-line-options.html">Options</a>
75 </div>
76 <div class="sub">
77     <a title="Command-line Tools: Usage" href="http://www.imagemagick.org/Usage/">Usage</a>
78 </div>
79 <div class="menu">
80   <a title="Program Interfaces" href="../../www/api.html">Program Interfaces</a>
81 </div>
82 <div class="sub">
83     <a title="Program Interface: MagickWand" href="../../www/magick-wand.html">MagickWand</a>
84 </div>
85 <div class="sub">
86     <a title="Program Interface: MagickCore" href="../../www/magick-core.html">MagickCore</a>
87 </div>
88 <div class="sub">
89     <a title="Program Interface: PerlMagick" href="../../www/perl-magick.html">PerlMagick</a>
90 </div>
91 <div class="sub">
92     <a title="Program Interface: Magick++" href="../../Magick++/">Magick++</a>
93 </div>
94 <div class="sep"></div>\r
95 <div  class="menu">
96    <a title="Install from Source" href="../../www/install-source.html">Install from Source</a>
97 </div>
98 <div class="sub">
99     <a title="Install from Source: Unix" href="../../www/install-source.html#unix">Unix</a>
100 </div>
101 <div class="sub">
102     <a title="Install from Source: Windows" href="../../www/install-source.html#windows">Windows</a>
103  </div>
104 <div class="menu">
105   <a title="Resources" href="../../www/resources.html">Resources</a>
106 </div>
107 <div class="menu">
108   <a title="Architecture" href="../../www/architecture.html">Architecture</a>
109 </div>
110 <div class="menu">
111   <a title="Download" href="../../www/download.html">Download</a>
112 </div>
113 <div class="sep"></div>\r
114 <div class="menu">
115   <a title="Search" href="../http://www.imagemagick.org/script/search.php">Search</a>
116 </div>
117 <div class="sep"></div>\r
118 <div class="menu">
119   <a title="Site Map"href="../../www/sitemap.html">Site Map</a>
120 </div>
121 <div  class="sub">
122     <a title="Site Map: Links"href="../../www/links.html">Links</a>
123 </div>
124 <div class="sep"></div>\r
125 <div  class="menu">
126   <a title="Sponsors" href="../../www/sponsors.html">Sponsors:</a>
127
128 <div class="sponsbox">
129 <div  class="sponsor">
130    <a title="Sponsor: Free Catalogs" href="http://www.who-sells-it.com/">Free Catalogs</a><!-- 20120801000600 -->
131 </div>
132 <div  class="sponsor">
133   <a title="Sponsor: Druckerei" href="http://print24.com/de/">Druckerei</a><!-- 201110010720 -->
134 </div>
135 <div  class="sponsor">
136   <a title="Sponsor: Image Converter" href="http://www.batchphoto.com">Image Converter</a><!-- 201103010900 Bits Coffee-->
137 </div>
138 <div  class="sponsor">
139   <a title="Sponsor: Flyer drucken" href="http://www.online-druck.biz">Flyer drucken</a><!-- 201109010900 Floeter-->
140 </div>
141 <div  class="sponsor">
142   <a title="Sponsor: Webdesign Agentur" href="http://www.ventzke-partner.de">Webdesign Agentur</a><!-- 201101010480 invendio.de-->
143 </div>
144 <div  class="sponsor">
145   <a title="Sponsor: LVM Versicherung" href="http://www.neu-reich.de">LVM Versicherung</a><!-- 201101010480 -->
146 </div>
147 <div  class="sponsor">
148   <a title="Sponsor: Diamonds are a Girls Best Friend" href="http://www.schmuck.org">Diamonds are a Girls Best Friend</a><!-- 201101010600 Peterssen-->
149 </div>
150 <div  class="sponsor">
151    <a title="Sponsor: Druckerei Online" href="http://www.allesdruck.de">Druckerei Online</a><!-- 201012011200 allesdruck.de-->
152 </div>
153 </div>
154 </div>
155 </div>\r
156 \r
157 <div class="eastbar">\r
158   <script type="text/javascript">\r
159   <!--\r
160     google_ad_client = "pub-3129977114552745";\r
161     google_ad_slot = "0574824969";\r
162     google_ad_width = 160;\r
163     google_ad_height = 600;\r
164   //-->\r
165   </script>\r
166   <script type="text/javascript"\r
167     src="http://pagead2.googlesyndication.com/pagead/show_ads.js">\r
168   </script>\r
169 </div>\r
170 \r
171 <div class="main">\r
172 \r
173 <p class="navigation-index">[<a href="#ClearDrawingWand">ClearDrawingWand</a> &bull; <a href="#CloneDrawingWand">CloneDrawingWand</a> &bull; <a href="#DestroyDrawingWand">DestroyDrawingWand</a> &bull; <a href="#DrawAffine">DrawAffine</a> &bull; <a href="#DrawAnnotation">DrawAnnotation</a> &bull; <a href="#DrawArc">DrawArc</a> &bull; <a href="#DrawBezier">DrawBezier</a> &bull; <a href="#DrawCircle">DrawCircle</a> &bull; <a href="#DrawClearException">DrawClearException</a> &bull; <a href="#DrawComposite">DrawComposite</a> &bull; <a href="#DrawColor">DrawColor</a> &bull; <a href="#DrawComment">DrawComment</a> &bull; <a href="#DrawEllipse">DrawEllipse</a> &bull; <a href="#DrawGetBorderColor">DrawGetBorderColor</a> &bull; <a href="#DrawGetClipPath">DrawGetClipPath</a> &bull; <a href="#DrawGetClipRule">DrawGetClipRule</a> &bull; <a href="#DrawGetClipUnits">DrawGetClipUnits</a> &bull; <a href="#DrawGetException">DrawGetException</a> &bull; <a href="#DrawGetExceptionType">DrawGetExceptionType</a> &bull; <a href="#DrawGetFillColor">DrawGetFillColor</a> &bull; <a href="#DrawGetFillOpacity">DrawGetFillOpacity</a> &bull; <a href="#DrawGetFillRule">DrawGetFillRule</a> &bull; <a href="#DrawGetFont">DrawGetFont</a> &bull; <a href="#DrawGetFontFamily">DrawGetFontFamily</a> &bull; <a href="#DrawGetFontSize">DrawGetFontSize</a> &bull; <a href="#DrawGetFontStretch">DrawGetFontStretch</a> &bull; <a href="#DrawGetFontStyle">DrawGetFontStyle</a> &bull; <a href="#DrawGetFontWeight">DrawGetFontWeight</a> &bull; <a href="#DrawGetGravity">DrawGetGravity</a> &bull; <a href="#DrawGetOpacity">DrawGetOpacity</a> &bull; <a href="#DrawGetStrokeAntialias">DrawGetStrokeAntialias</a> &bull; <a href="#DrawGetStrokeColor">DrawGetStrokeColor</a> &bull; <a href="#DrawGetStrokeDashArray">DrawGetStrokeDashArray</a> &bull; <a href="#DrawGetStrokeDashOffset">DrawGetStrokeDashOffset</a> &bull; <a href="#DrawGetStrokeLineCap">DrawGetStrokeLineCap</a> &bull; <a href="#DrawGetStrokeLineJoin">DrawGetStrokeLineJoin</a> &bull; <a href="#DrawGetStrokeMiterLimit">DrawGetStrokeMiterLimit</a> &bull; <a href="#DrawGetStrokeOpacity">DrawGetStrokeOpacity</a> &bull; <a href="#DrawGetStrokeWidth">DrawGetStrokeWidth</a> &bull; <a href="#DrawGetTextAlignment">DrawGetTextAlignment</a> &bull; <a href="#DrawGetTextAntialias">DrawGetTextAntialias</a> &bull; <a href="#DrawGetTextDecoration">DrawGetTextDecoration</a> &bull; <a href="#DrawGetTextEncoding">DrawGetTextEncoding</a> &bull; <a href="#DrawGetTextKerning">DrawGetTextKerning</a> &bull; <a href="#DrawGetTextInterwordSpacing">DrawGetTextInterwordSpacing</a> &bull; <a href="#DrawGetTextInterwordSpacing">DrawGetTextInterwordSpacing</a> &bull; <a href="#DrawGetVectorGraphics">DrawGetVectorGraphics</a> &bull; <a href="#DrawGetTextUnderColor">DrawGetTextUnderColor</a> &bull; <a href="#DrawLine">DrawLine</a> &bull; <a href="#DrawMatte">DrawMatte</a> &bull; <a href="#DrawPathClose">DrawPathClose</a> &bull; <a href="#DrawPathCurveToAbsolute">DrawPathCurveToAbsolute</a> &bull; <a href="#DrawPathCurveToRelative">DrawPathCurveToRelative</a> &bull; <a href="#DrawPathCurveToQuadraticBezierAbsolute">DrawPathCurveToQuadraticBezierAbsolute</a> &bull; <a href="#DrawPathCurveToQuadraticBezierRelative">DrawPathCurveToQuadraticBezierRelative</a> &bull; <a href="#DrawPathCurveToQuadraticBezierSmoothAbsolute">DrawPathCurveToQuadraticBezierSmoothAbsolute</a> &bull; <a href="#DrawPathCurveToQuadraticBezierSmoothAbsolute">DrawPathCurveToQuadraticBezierSmoothAbsolute</a> &bull; <a href="#DrawPathCurveToSmoothAbsolute">DrawPathCurveToSmoothAbsolute</a> &bull; <a href="#DrawPathCurveToSmoothRelative">DrawPathCurveToSmoothRelative</a> &bull; <a href="#DrawPathEllipticArcAbsolute">DrawPathEllipticArcAbsolute</a> &bull; <a href="#DrawPathEllipticArcRelative">DrawPathEllipticArcRelative</a> &bull; <a href="#DrawPathFinish">DrawPathFinish</a> &bull; <a href="#DrawPathLineToAbsolute">DrawPathLineToAbsolute</a> &bull; <a href="#DrawPathLineToRelative">DrawPathLineToRelative</a> &bull; <a href="#DrawPathLineToHorizontalAbsolute">DrawPathLineToHorizontalAbsolute</a> &bull; <a href="#DrawPathLineToHorizontalRelative">DrawPathLineToHorizontalRelative</a> &bull; <a href="#DrawPathLineToVerticalAbsolute">DrawPathLineToVerticalAbsolute</a> &bull; <a href="#DrawPathLineToVerticalRelative">DrawPathLineToVerticalRelative</a> &bull; <a href="#DrawPathMoveToAbsolute">DrawPathMoveToAbsolute</a> &bull; <a href="#DrawPathMoveToRelative">DrawPathMoveToRelative</a> &bull; <a href="#DrawPathStart">DrawPathStart</a> &bull; <a href="#DrawPoint">DrawPoint</a> &bull; <a href="#DrawPolygon">DrawPolygon</a> &bull; <a href="#DrawPolyline">DrawPolyline</a> &bull; <a href="#DrawPopClipPath">DrawPopClipPath</a> &bull; <a href="#DrawPopDefs">DrawPopDefs</a> &bull; <a href="#DrawPopPattern">DrawPopPattern</a> &bull; <a href="#DrawPushClipPath">DrawPushClipPath</a> &bull; <a href="#DrawPushDefs">DrawPushDefs</a> &bull; <a href="#DrawPushPattern">DrawPushPattern</a> &bull; <a href="#DrawRectangle">DrawRectangle</a> &bull; <a href="#DrawResetVectorGraphics">DrawResetVectorGraphics</a> &bull; <a href="#DrawRotate">DrawRotate</a> &bull; <a href="#DrawRoundRectangle">DrawRoundRectangle</a> &bull; <a href="#DrawScale">DrawScale</a> &bull; <a href="#DrawSetBorderColor">DrawSetBorderColor</a> &bull; <a href="#DrawSetClipPath">DrawSetClipPath</a> &bull; <a href="#DrawSetClipRule">DrawSetClipRule</a> &bull; <a href="#DrawSetClipUnits">DrawSetClipUnits</a> &bull; <a href="#DrawSetFillColor">DrawSetFillColor</a> &bull; <a href="#DrawSetFillOpacity">DrawSetFillOpacity</a> &bull; <a href="#DrawSetOpacity">DrawSetOpacity</a> &bull; <a href="#DrawSetFillPatternURL">DrawSetFillPatternURL</a> &bull; <a href="#DrawSetFillRule">DrawSetFillRule</a> &bull; <a href="#DrawSetFont">DrawSetFont</a> &bull; <a href="#DrawSetFontFamily">DrawSetFontFamily</a> &bull; <a href="#DrawSetFontSize">DrawSetFontSize</a> &bull; <a href="#DrawSetFontStretch">DrawSetFontStretch</a> &bull; <a href="#DrawSetFontStyle">DrawSetFontStyle</a> &bull; <a href="#DrawSetFontWeight">DrawSetFontWeight</a> &bull; <a href="#DrawSetGravity">DrawSetGravity</a> &bull; <a href="#DrawSetStrokeColor">DrawSetStrokeColor</a> &bull; <a href="#DrawSetStrokePatternURL">DrawSetStrokePatternURL</a> &bull; <a href="#DrawSetStrokeAntialias">DrawSetStrokeAntialias</a> &bull; <a href="#DrawSetStrokeDashArray">DrawSetStrokeDashArray</a> &bull; <a href="#DrawSetStrokeDashOffset">DrawSetStrokeDashOffset</a> &bull; <a href="#DrawSetStrokeLineCap">DrawSetStrokeLineCap</a> &bull; <a href="#DrawSetStrokeLineJoin">DrawSetStrokeLineJoin</a> &bull; <a href="#DrawSetStrokeMiterLimit">DrawSetStrokeMiterLimit</a> &bull; <a href="#DrawSetStrokeOpacity">DrawSetStrokeOpacity</a> &bull; <a href="#DrawSetStrokeWidth">DrawSetStrokeWidth</a> &bull; <a href="#DrawSetTextAlignment">DrawSetTextAlignment</a> &bull; <a href="#DrawSetTextAntialias">DrawSetTextAntialias</a> &bull; <a href="#DrawSetTextDecoration">DrawSetTextDecoration</a> &bull; <a href="#DrawSetTextEncoding">DrawSetTextEncoding</a> &bull; <a href="#DrawSetTextKerning">DrawSetTextKerning</a> &bull; <a href="#DrawSetTextInterwordSpacing">DrawSetTextInterwordSpacing</a> &bull; <a href="#DrawSetTextInterwordSpacing">DrawSetTextInterwordSpacing</a> &bull; <a href="#DrawSetTextUnderColor">DrawSetTextUnderColor</a> &bull; <a href="#DrawSetVectorGraphics">DrawSetVectorGraphics</a> &bull; <a href="#DrawSkewX">DrawSkewX</a> &bull; <a href="#DrawSkewY">DrawSkewY</a> &bull; <a href="#DrawTranslate">DrawTranslate</a> &bull; <a href="#DrawSetViewbox">DrawSetViewbox</a> &bull; <a href="#IsDrawingWand">IsDrawingWand</a> &bull; <a href="#NewDrawingWand">NewDrawingWand</a> &bull; <a href="#PeekDrawingWand">PeekDrawingWand</a> &bull; <a href="#PopDrawingWand">PopDrawingWand</a> &bull; <a href="#PushDrawingWand">PushDrawingWand</a>]</p>
174
175 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
176 _8c.html" target="source" name="ClearDrawingWand">ClearDrawingWand</a></h2>
177 <div class="doc-section">
178
179 <p>ClearDrawingWand() clear resources associated with the drawing wand.</p></ol>
180
181 <p>The format of the ClearDrawingWand method is:</p>
182
183 <pre class="code">
184   DrawingWand *ClearDrawingWand(DrawingWand *wand)
185 </pre>
186
187 <p>A description of each parameter follows:</p></ol>
188
189 <h5>wand</h5>
190 <ol><p>the drawing wand. to destroy</p></ol>
191
192  </div>
193 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
194 _8c.html" target="source" name="CloneDrawingWand">CloneDrawingWand</a></h2>
195 <div class="doc-section">
196
197 <p>CloneDrawingWand() makes an exact copy of the specified wand.</p></ol>
198
199 <p>The format of the CloneDrawingWand method is:</p>
200
201 <pre class="code">
202   DrawingWand *CloneDrawingWand(const DrawingWand *wand)
203 </pre>
204
205 <p>A description of each parameter follows:</p></ol>
206
207 <h5>wand</h5>
208 <ol><p>the magick wand.</p></ol>
209
210  </div>
211 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
212 _8c.html" target="source" name="DestroyDrawingWand">DestroyDrawingWand</a></h2>
213 <div class="doc-section">
214
215 <p>DestroyDrawingWand() frees all resources associated with the drawing wand. Once the drawing wand has been freed, it should not be used and further unless it re-allocated.</p></ol>
216
217 <p>The format of the DestroyDrawingWand method is:</p>
218
219 <pre class="code">
220   DrawingWand *DestroyDrawingWand(DrawingWand *wand)
221 </pre>
222
223 <p>A description of each parameter follows:</p></ol>
224
225 <h5>wand</h5>
226 <ol><p>the drawing wand. to destroy</p></ol>
227
228  </div>
229 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
230 _8c.html" target="source" name="DrawAffine">DrawAffine</a></h2>
231 <div class="doc-section">
232
233 <p>DrawAffine() adjusts the current affine transformation matrix with the specified affine transformation matrix. Note that the current affine transform is adjusted rather than replaced.</p></ol>
234
235 <p>The format of the DrawAffine method is:</p>
236
237 <pre class="code">
238   void DrawAffine(DrawingWand *wand,const AffineMatrix *affine)
239 </pre>
240
241 <p>A description of each parameter follows:</p></ol>
242
243 <h5>wand</h5>
244 <ol><p>Drawing wand</p></ol>
245
246 <h5>affine</h5>
247 <ol><p>Affine matrix parameters</p></ol>
248
249  </div>
250 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
251 _8c.html" target="source" name="DrawAnnotation">DrawAnnotation</a></h2>
252 <div class="doc-section">
253
254 <p>DrawAnnotation() draws text on the image.</p></ol>
255
256 <p>The format of the DrawAnnotation method is:</p>
257
258 <pre class="code">
259   void DrawAnnotation(DrawingWand *wand,const double x,
260     const double y,const unsigned char *text)
261 </pre>
262
263 <p>A description of each parameter follows:</p></ol>
264
265 <h5>wand</h5>
266 <ol><p>the drawing wand.</p></ol>
267
268 <h5>x</h5>
269 <ol><p>x ordinate to left of text</p></ol>
270
271 <h5>y</h5>
272 <ol><p>y ordinate to text baseline</p></ol>
273
274 <h5>text</h5>
275 <ol><p>text to draw</p></ol>
276
277  </div>
278 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
279 _8c.html" target="source" name="DrawArc">DrawArc</a></h2>
280 <div class="doc-section">
281
282 <p>DrawArc() draws an arc falling within a specified bounding rectangle on the image.</p></ol>
283
284 <p>The format of the DrawArc method is:</p>
285
286 <pre class="code">
287   void DrawArc(DrawingWand *wand,const double sx,const double sy,
288     const double ex,const double ey,const double sd,const double ed)
289 </pre>
290
291 <p>A description of each parameter follows:</p></ol>
292
293 <h5>wand</h5>
294 <ol><p>the drawing wand.</p></ol>
295
296 <h5>sx</h5>
297 <ol><p>starting x ordinate of bounding rectangle</p></ol>
298
299 <h5>sy</h5>
300 <ol><p>starting y ordinate of bounding rectangle</p></ol>
301
302 <h5>ex</h5>
303 <ol><p>ending x ordinate of bounding rectangle</p></ol>
304
305 <h5>ey</h5>
306 <ol><p>ending y ordinate of bounding rectangle</p></ol>
307
308 <h5>sd</h5>
309 <ol><p>starting degrees of rotation</p></ol>
310
311 <h5>ed</h5>
312 <ol><p>ending degrees of rotation</p></ol>
313
314  </div>
315 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
316 _8c.html" target="source" name="DrawBezier">DrawBezier</a></h2>
317 <div class="doc-section">
318
319 <p>DrawBezier() draws a bezier curve through a set of points on the image.</p></ol>
320
321 <p>The format of the DrawBezier method is:</p>
322
323 <pre class="code">
324   void DrawBezier(DrawingWand *wand,
325     const size_t number_coordinates,const PointInfo *coordinates)
326 </pre>
327
328 <p>A description of each parameter follows:</p></ol>
329
330 <h5>wand</h5>
331 <ol><p>the drawing wand.</p></ol>
332
333 <h5>number_coordinates</h5>
334 <ol><p>number of coordinates</p></ol>
335
336 <h5>coordinates</h5>
337 <ol><p>coordinates</p></ol>
338
339  </div>
340 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
341 _8c.html" target="source" name="DrawCircle">DrawCircle</a></h2>
342 <div class="doc-section">
343
344 <p>DrawCircle() draws a circle on the image.</p></ol>
345
346 <p>The format of the DrawCircle method is:</p>
347
348 <pre class="code">
349   void DrawCircle(DrawingWand *wand,const double ox,
350     const double oy,const double px, const double py)
351 </pre>
352
353 <p>A description of each parameter follows:</p></ol>
354
355 <h5>wand</h5>
356 <ol><p>the drawing wand.</p></ol>
357
358 <h5>ox</h5>
359 <ol><p>origin x ordinate</p></ol>
360
361 <h5>oy</h5>
362 <ol><p>origin y ordinate</p></ol>
363
364 <h5>px</h5>
365 <ol><p>perimeter x ordinate</p></ol>
366
367 <h5>py</h5>
368 <ol><p>perimeter y ordinate</p></ol>
369
370  </div>
371 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
372 _8c.html" target="source" name="DrawClearException">DrawClearException</a></h2>
373 <div class="doc-section">
374
375 <p>DrawClearException() clear any exceptions associated with the wand.</p></ol>
376
377 <p>The format of the DrawClearException method is:</p>
378
379 <pre class="code">
380   MagickBooleanType DrawClearException(DrawWand *wand)
381 </pre>
382
383 <p>A description of each parameter follows:</p></ol>
384
385 <h5>wand</h5>
386 <ol><p>the drawing wand.</p></ol>
387
388  </div>
389 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
390 _8c.html" target="source" name="DrawComposite">DrawComposite</a></h2>
391 <div class="doc-section">
392
393 <p>DrawComposite() composites an image onto the current image, using the specified composition operator, specified position, and at the specified size.</p></ol>
394
395 <p>The format of the DrawComposite method is:</p>
396
397 <pre class="code">
398   MagickBooleanType DrawComposite(DrawingWand *wand,
399     const CompositeOperator compose,const double x,
400     const double y,const double width,const double height,
401     MagickWand *magick_wand)
402 </pre>
403
404 <p>A description of each parameter follows:</p></ol>
405
406 <h5>wand</h5>
407 <ol><p>the drawing wand.</p></ol>
408
409 <h5>compose</h5>
410 <ol><p>composition operator</p></ol>
411
412 <h5>x</h5>
413 <ol><p>x ordinate of top left corner</p></ol>
414
415 <h5>y</h5>
416 <ol><p>y ordinate of top left corner</p></ol>
417
418 <h5>width</h5>
419 <ol><p>Width to resize image to prior to compositing.  Specify zero to use existing width.</p></ol>
420
421 <h5>height</h5>
422 <ol><p>Height to resize image to prior to compositing.  Specify zero to use existing height.</p></ol>
423
424 <h5>magick_wand</h5>
425 <ol><p>Image to composite is obtained from this wand.</p></ol>
426
427  </div>
428 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
429 _8c.html" target="source" name="DrawColor">DrawColor</a></h2>
430 <div class="doc-section">
431
432 <p>DrawColor() draws color on image using the current fill color, starting at specified position, and using specified paint method. The available paint methods are:</p>
433
434 <pre class="text">
435       PointMethod: Recolors the target pixel
436       ReplaceMethod: Recolor any pixel that matches the target pixel.
437       FloodfillMethod: Recolors target pixels and matching neighbors.
438       ResetMethod: Recolor all pixels.
439 </pre>
440
441 <p>The format of the DrawColor method is:</p>
442
443 <pre class="code">
444   void DrawColor(DrawingWand *wand,const double x,const double y,
445     const PaintMethod paint_method)
446 </pre>
447
448 <p>A description of each parameter follows:</p></ol>
449
450 <h5>wand</h5>
451 <ol><p>the drawing wand.</p></ol>
452
453 <h5>x</h5>
454 <ol><p>x ordinate.</p></ol>
455
456 <h5>y</h5>
457 <ol><p>y ordinate.</p></ol>
458
459 <h5>paint_method</h5>
460 <ol><p>paint method.</p></ol>
461
462  </div>
463 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
464 _8c.html" target="source" name="DrawComment">DrawComment</a></h2>
465 <div class="doc-section">
466
467 <p>DrawComment() adds a comment to a vector output stream.</p></ol>
468
469 <p>The format of the DrawComment method is:</p>
470
471 <pre class="code">
472   void DrawComment(DrawingWand *wand,const char *comment)
473 </pre>
474
475 <p>A description of each parameter follows:</p></ol>
476
477 <h5>wand</h5>
478 <ol><p>the drawing wand.</p></ol>
479
480 <h5>comment</h5>
481 <ol><p>comment text</p></ol>
482
483  </div>
484 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
485 _8c.html" target="source" name="DrawEllipse">DrawEllipse</a></h2>
486 <div class="doc-section">
487
488 <p>DrawEllipse() draws an ellipse on the image.</p></ol>
489
490 <p>The format of the DrawEllipse method is:</p>
491
492 <pre class="code">
493    void DrawEllipse(DrawingWand *wand,const double ox,const double oy,
494      const double rx,const double ry,const double start,const double end)
495 </pre>
496
497 <p>A description of each parameter follows:</p></ol>
498
499 <h5>wand</h5>
500 <ol><p>the drawing wand.</p></ol>
501
502 <h5>ox</h5>
503 <ol><p>origin x ordinate</p></ol>
504
505 <h5>oy</h5>
506 <ol><p>origin y ordinate</p></ol>
507
508 <h5>rx</h5>
509 <ol><p>radius in x</p></ol>
510
511 <h5>ry</h5>
512 <ol><p>radius in y</p></ol>
513
514 <h5>start</h5>
515 <ol><p>starting rotation in degrees</p></ol>
516
517 <h5>end</h5>
518 <ol><p>ending rotation in degrees</p></ol>
519
520  </div>
521 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
522 _8c.html" target="source" name="DrawGetBorderColor">DrawGetBorderColor</a></h2>
523 <div class="doc-section">
524
525 <p>DrawGetBorderColor() returns the border color used for drawing bordered objects.</p></ol>
526
527 <p>The format of the DrawGetBorderColor method is:</p>
528
529 <pre class="code">
530   void DrawGetBorderColor(const DrawingWand *wand,
531     PixelWand *border_color)
532 </pre>
533
534 <p>A description of each parameter follows:</p></ol>
535
536 <h5>wand</h5>
537 <ol><p>the drawing wand.</p></ol>
538
539 <h5>border_color</h5>
540 <ol><p>Return the border color.</p></ol>
541
542  </div>
543 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
544 _8c.html" target="source" name="DrawGetClipPath">DrawGetClipPath</a></h2>
545 <div class="doc-section">
546
547 <p>DrawGetClipPath() obtains the current clipping path ID. The value returned must be deallocated by the user when it is no longer needed.</p></ol>
548
549 <p>The format of the DrawGetClipPath method is:</p>
550
551 <pre class="code">
552   char *DrawGetClipPath(const DrawingWand *wand)
553 </pre>
554
555 <p>A description of each parameter follows:</p></ol>
556
557 <h5>wand</h5>
558 <ol><p>the drawing wand.</p></ol>
559
560  </div>
561 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
562 _8c.html" target="source" name="DrawGetClipRule">DrawGetClipRule</a></h2>
563 <div class="doc-section">
564
565 <p>DrawGetClipRule() returns the current polygon fill rule to be used by the clipping path.</p></ol>
566
567 <p>The format of the DrawGetClipRule method is:</p>
568
569 <pre class="code">
570        FillRule DrawGetClipRule(const DrawingWand *wand)
571 </pre>
572
573 <p>A description of each parameter follows:</p></ol>
574
575 <h5>wand</h5>
576 <ol><p>the drawing wand.</p></ol>
577
578  </div>
579 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
580 _8c.html" target="source" name="DrawGetClipUnits">DrawGetClipUnits</a></h2>
581 <div class="doc-section">
582
583 <p>DrawGetClipUnits() returns the interpretation of clip path units.</p></ol>
584
585 <p>The format of the DrawGetClipUnits method is:</p>
586
587 <pre class="code">
588   ClipPathUnits DrawGetClipUnits(const DrawingWand *wand)
589 </pre>
590
591 <p>A description of each parameter follows:</p></ol>
592
593 <h5>wand</h5>
594 <ol><p>the drawing wand.</p></ol>
595
596  </div>
597 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
598 _8c.html" target="source" name="DrawGetException">DrawGetException</a></h2>
599 <div class="doc-section">
600
601 <p>DrawGetException() returns the severity, reason, and description of any error that occurs when using other methods in this API.</p></ol>
602
603 <p>The format of the DrawGetException method is:</p>
604
605 <pre class="code">
606   char *DrawGetException(const DrawWand *wand,
607     ExceptionType *severity)
608 </pre>
609
610 <p>A description of each parameter follows:</p></ol>
611
612 <h5>wand</h5>
613 <ol><p>the drawing wand.</p></ol>
614
615 <h5>severity</h5>
616 <ol><p>the severity of the error is returned here.</p></ol>
617
618  </div>
619 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
620 _8c.html" target="source" name="DrawGetExceptionType">DrawGetExceptionType</a></h2>
621 <div class="doc-section">
622
623 <p>DrawGetExceptionType() the exception type associated with the wand.  If no exception has occurred, UndefinedExceptionType is returned.</p></ol>
624
625 <p>The format of the DrawGetExceptionType method is:</p>
626
627 <pre class="code">
628   ExceptionType DrawGetExceptionType(const DrawWand *wand)
629 </pre>
630
631 <p>A description of each parameter follows:</p></ol>
632
633 <h5>wand</h5>
634 <ol><p>the magick wand.</p></ol>
635
636  </div>
637 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
638 _8c.html" target="source" name="DrawGetFillColor">DrawGetFillColor</a></h2>
639 <div class="doc-section">
640
641 <p>DrawGetFillColor() returns the fill color used for drawing filled objects.</p></ol>
642
643 <p>The format of the DrawGetFillColor method is:</p>
644
645 <pre class="code">
646   void DrawGetFillColor(const DrawingWand *wand,
647     PixelWand *fill_color)
648 </pre>
649
650 <p>A description of each parameter follows:</p></ol>
651
652 <h5>wand</h5>
653 <ol><p>the drawing wand.</p></ol>
654
655 <h5>fill_color</h5>
656 <ol><p>Return the fill color.</p></ol>
657
658  </div>
659 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
660 _8c.html" target="source" name="DrawGetFillOpacity">DrawGetFillOpacity</a></h2>
661 <div class="doc-section">
662
663 <p>DrawGetFillOpacity() returns the opacity used when drawing using the fill color or fill texture.  Fully opaque is 1.0.</p></ol>
664
665 <p>The format of the DrawGetFillOpacity method is:</p>
666
667 <pre class="code">
668   double DrawGetFillOpacity(const DrawingWand *wand)
669 </pre>
670
671 <p>A description of each parameter follows:</p></ol>
672
673 <h5>wand</h5>
674 <ol><p>the drawing wand.</p></ol>
675
676  </div>
677 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
678 _8c.html" target="source" name="DrawGetFillRule">DrawGetFillRule</a></h2>
679 <div class="doc-section">
680
681 <p>DrawGetFillRule() returns the fill rule used while drawing polygons.</p></ol>
682
683 <p>The format of the DrawGetFillRule method is:</p>
684
685 <pre class="code">
686   FillRule DrawGetFillRule(const DrawingWand *wand)
687 </pre>
688
689 <p>A description of each parameter follows:</p></ol>
690
691 <h5>wand</h5>
692 <ol><p>the drawing wand.</p></ol>
693
694  </div>
695 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
696 _8c.html" target="source" name="DrawGetFont">DrawGetFont</a></h2>
697 <div class="doc-section">
698
699 <p>DrawGetFont() returns a null-terminaged string specifying the font used when annotating with text. The value returned must be freed by the user when no longer needed.</p></ol>
700
701 <p>The format of the DrawGetFont method is:</p>
702
703 <pre class="code">
704   char *DrawGetFont(const DrawingWand *wand)
705 </pre>
706
707 <p>A description of each parameter follows:</p></ol>
708
709 <h5>wand</h5>
710 <ol><p>the drawing wand.</p></ol>
711
712  </div>
713 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
714 _8c.html" target="source" name="DrawGetFontFamily">DrawGetFontFamily</a></h2>
715 <div class="doc-section">
716
717 <p>DrawGetFontFamily() returns the font family to use when annotating with text. The value returned must be freed by the user when it is no longer needed.</p></ol>
718
719 <p>The format of the DrawGetFontFamily method is:</p>
720
721 <pre class="code">
722   char *DrawGetFontFamily(const DrawingWand *wand)
723 </pre>
724
725 <p>A description of each parameter follows:</p></ol>
726
727 <h5>wand</h5>
728 <ol><p>the drawing wand.</p></ol>
729
730  </div>
731 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
732 _8c.html" target="source" name="DrawGetFontSize">DrawGetFontSize</a></h2>
733 <div class="doc-section">
734
735 <p>DrawGetFontSize() returns the font pointsize used when annotating with text.</p></ol>
736
737 <p>The format of the DrawGetFontSize method is:</p>
738
739 <pre class="code">
740   double DrawGetFontSize(const DrawingWand *wand)
741 </pre>
742
743 <p>A description of each parameter follows:</p></ol>
744
745 <h5>wand</h5>
746 <ol><p>the drawing wand.</p></ol>
747
748  </div>
749 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
750 _8c.html" target="source" name="DrawGetFontStretch">DrawGetFontStretch</a></h2>
751 <div class="doc-section">
752
753 <p>DrawGetFontStretch() returns the font stretch used when annotating with text.</p></ol>
754
755 <p>The format of the DrawGetFontStretch method is:</p>
756
757 <pre class="code">
758   StretchType DrawGetFontStretch(const DrawingWand *wand)
759 </pre>
760
761 <p>A description of each parameter follows:</p></ol>
762
763 <h5>wand</h5>
764 <ol><p>the drawing wand.</p></ol>
765
766  </div>
767 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
768 _8c.html" target="source" name="DrawGetFontStyle">DrawGetFontStyle</a></h2>
769 <div class="doc-section">
770
771 <p>DrawGetFontStyle() returns the font style used when annotating with text.</p></ol>
772
773 <p>The format of the DrawGetFontStyle method is:</p>
774
775 <pre class="code">
776   StyleType DrawGetFontStyle(const DrawingWand *wand)
777 </pre>
778
779 <p>A description of each parameter follows:</p></ol>
780
781 <h5>wand</h5>
782 <ol><p>the drawing wand.</p></ol>
783
784  </div>
785 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
786 _8c.html" target="source" name="DrawGetFontWeight">DrawGetFontWeight</a></h2>
787 <div class="doc-section">
788
789 <p>DrawGetFontWeight() returns the font weight used when annotating with text.</p></ol>
790
791 <p>The format of the DrawGetFontWeight method is:</p>
792
793 <pre class="code">
794   size_t DrawGetFontWeight(const DrawingWand *wand)
795 </pre>
796
797 <p>A description of each parameter follows:</p></ol>
798
799 <h5>wand</h5>
800 <ol><p>the drawing wand.</p></ol>
801
802  </div>
803 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
804 _8c.html" target="source" name="DrawGetGravity">DrawGetGravity</a></h2>
805 <div class="doc-section">
806
807 <p>DrawGetGravity() returns the text placement gravity used when annotating with text.</p></ol>
808
809 <p>The format of the DrawGetGravity method is:</p>
810
811 <pre class="code">
812   GravityType DrawGetGravity(const DrawingWand *wand)
813 </pre>
814
815 <p>A description of each parameter follows:</p></ol>
816
817 <h5>wand</h5>
818 <ol><p>the drawing wand.</p></ol>
819
820  </div>
821 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
822 _8c.html" target="source" name="DrawGetOpacity">DrawGetOpacity</a></h2>
823 <div class="doc-section">
824
825 <p>DrawGetOpacity() returns the opacity used when drawing with the fill or stroke color or texture.  Fully opaque is 1.0.</p></ol>
826
827 <p>The format of the DrawGetOpacity method is:</p>
828
829 <pre class="code">
830   double DrawGetOpacity(const DrawingWand *wand)
831 </pre>
832
833 <p>A description of each parameter follows:</p></ol>
834
835 <h5>wand</h5>
836 <ol><p>the drawing wand.</p></ol>
837
838  </div>
839 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
840 _8c.html" target="source" name="DrawGetStrokeAntialias">DrawGetStrokeAntialias</a></h2>
841 <div class="doc-section">
842
843 <p>DrawGetStrokeAntialias() returns the current stroke antialias setting. Stroked outlines are antialiased by default.  When antialiasing is disabled stroked pixels are thresholded to determine if the stroke color or underlying canvas color should be used.</p></ol>
844
845 <p>The format of the DrawGetStrokeAntialias method is:</p>
846
847 <pre class="code">
848   MagickBooleanType DrawGetStrokeAntialias(const DrawingWand *wand)
849 </pre>
850
851 <p>A description of each parameter follows:</p></ol>
852
853 <h5>wand</h5>
854 <ol><p>the drawing wand.</p></ol>
855
856  </div>
857 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
858 _8c.html" target="source" name="DrawGetStrokeColor">DrawGetStrokeColor</a></h2>
859 <div class="doc-section">
860
861 <p>DrawGetStrokeColor() returns the color used for stroking object outlines.</p></ol>
862
863 <p>The format of the DrawGetStrokeColor method is:</p>
864
865 <pre class="code">
866   void DrawGetStrokeColor(const DrawingWand *wand,
867   $  PixelWand *stroke_color)
868 </pre>
869
870 <p>A description of each parameter follows:</p></ol>
871
872 <h5>wand</h5>
873 <ol><p>the drawing wand.</p></ol>
874
875 <h5>stroke_color</h5>
876 <ol><p>Return the stroke color.</p></ol>
877
878  </div>
879 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
880 _8c.html" target="source" name="DrawGetStrokeDashArray">DrawGetStrokeDashArray</a></h2>
881 <div class="doc-section">
882
883 <p>DrawGetStrokeDashArray() returns an array representing the pattern of dashes and gaps used to stroke paths (see DrawSetStrokeDashArray). The array must be freed once it is no longer required by the user.</p></ol>
884
885 <p>The format of the DrawGetStrokeDashArray method is:</p>
886
887 <pre class="code">
888   double *DrawGetStrokeDashArray(const DrawingWand *wand,
889     size_t *number_elements)
890 </pre>
891
892 <p>A description of each parameter follows:</p></ol>
893
894 <h5>wand</h5>
895 <ol><p>the drawing wand.</p></ol>
896
897 <h5>number_elements</h5>
898 <ol><p>address to place number of elements in dash array</p></ol>
899
900  </div>
901 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
902 _8c.html" target="source" name="DrawGetStrokeDashOffset">DrawGetStrokeDashOffset</a></h2>
903 <div class="doc-section">
904
905 <p>DrawGetStrokeDashOffset() returns the offset into the dash pattern to start the dash.</p></ol>
906
907 <p>The format of the DrawGetStrokeDashOffset method is:</p>
908
909 <pre class="code">
910   double DrawGetStrokeDashOffset(const DrawingWand *wand)
911 </pre>
912
913 <p>A description of each parameter follows:</p></ol>
914
915 <h5>wand</h5>
916 <ol><p>the drawing wand.</p></ol>
917
918  </div>
919 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
920 _8c.html" target="source" name="DrawGetStrokeLineCap">DrawGetStrokeLineCap</a></h2>
921 <div class="doc-section">
922
923 <p>DrawGetStrokeLineCap() returns the shape to be used at the end of open subpaths when they are stroked. Values of LineCap are UndefinedCap, ButtCap, RoundCap, and SquareCap.</p></ol>
924
925 <p>The format of the DrawGetStrokeLineCap method is:</p>
926
927 <pre class="code">
928   LineCap DrawGetStrokeLineCap(const DrawingWand *wand)
929 </pre>
930
931 <p>A description of each parameter follows:</p></ol>
932
933 <h5>wand</h5>
934 <ol><p>the drawing wand.</p></ol>
935
936  </div>
937 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
938 _8c.html" target="source" name="DrawGetStrokeLineJoin">DrawGetStrokeLineJoin</a></h2>
939 <div class="doc-section">
940
941 <p>DrawGetStrokeLineJoin() returns the shape to be used at the corners of paths (or other vector shapes) when they are stroked. Values of LineJoin are UndefinedJoin, MiterJoin, RoundJoin, and BevelJoin.</p></ol>
942
943 <p>The format of the DrawGetStrokeLineJoin method is:</p>
944
945 <pre class="code">
946   LineJoin DrawGetStrokeLineJoin(const DrawingWand *wand)
947 </pre>
948
949 <p>A description of each parameter follows:</p></ol>
950
951 <h5>wand</h5>
952 <ol><p>the drawing wand.</p></ol>
953
954  </div>
955 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
956 _8c.html" target="source" name="DrawGetStrokeMiterLimit">DrawGetStrokeMiterLimit</a></h2>
957 <div class="doc-section">
958
959 <p>DrawGetStrokeMiterLimit() returns the miter limit. When two line segments meet at a sharp angle and miter joins have been specified for 'lineJoin', it is possible for the miter to extend far beyond the thickness of the line stroking the path. The miterLimit' imposes a limit on the ratio of the miter length to the 'lineWidth'.</p></ol>
960
961 <p>The format of the DrawGetStrokeMiterLimit method is:</p>
962
963 <pre class="code">
964   size_t DrawGetStrokeMiterLimit(const DrawingWand *wand)
965 </pre>
966
967 <p>A description of each parameter follows:</p></ol>
968
969 <h5>wand</h5>
970 <ol><p>the drawing wand.</p></ol>
971
972  </div>
973 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
974 _8c.html" target="source" name="DrawGetStrokeOpacity">DrawGetStrokeOpacity</a></h2>
975 <div class="doc-section">
976
977 <p>DrawGetStrokeOpacity() returns the opacity of stroked object outlines.</p></ol>
978
979 <p>The format of the DrawGetStrokeOpacity method is:</p>
980
981 <pre class="code">
982   double DrawGetStrokeOpacity(const DrawingWand *wand)
983 </pre>
984
985 <p>A description of each parameter follows:</p></ol>
986
987 <h5>wand</h5>
988 <ol><p>the drawing wand.</p></ol>
989
990  </div>
991 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
992 _8c.html" target="source" name="DrawGetStrokeWidth">DrawGetStrokeWidth</a></h2>
993 <div class="doc-section">
994
995 <p>DrawGetStrokeWidth() returns the width of the stroke used to draw object outlines.</p></ol>
996
997 <p>The format of the DrawGetStrokeWidth method is:</p>
998
999 <pre class="code">
1000   double DrawGetStrokeWidth(const DrawingWand *wand)
1001 </pre>
1002
1003 <p>A description of each parameter follows:</p></ol>
1004
1005 <h5>wand</h5>
1006 <ol><p>the drawing wand.</p></ol>
1007
1008  </div>
1009 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1010 _8c.html" target="source" name="DrawGetTextAlignment">DrawGetTextAlignment</a></h2>
1011 <div class="doc-section">
1012
1013 <p>DrawGetTextAlignment() returns the alignment applied when annotating with text.</p></ol>
1014
1015 <p>The format of the DrawGetTextAlignment method is:</p>
1016
1017 <pre class="code">
1018   AlignType DrawGetTextAlignment(DrawingWand *wand)
1019 </pre>
1020
1021 <p>A description of each parameter follows:</p></ol>
1022
1023 <h5>wand</h5>
1024 <ol><p>the drawing wand.</p></ol>
1025
1026  </div>
1027 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1028 _8c.html" target="source" name="DrawGetTextAntialias">DrawGetTextAntialias</a></h2>
1029 <div class="doc-section">
1030
1031 <p>DrawGetTextAntialias() returns the current text antialias setting, which determines whether text is antialiased.  Text is antialiased by default.</p></ol>
1032
1033 <p>The format of the DrawGetTextAntialias method is:</p>
1034
1035 <pre class="code">
1036   MagickBooleanType DrawGetTextAntialias(const DrawingWand *wand)
1037 </pre>
1038
1039 <p>A description of each parameter follows:</p></ol>
1040
1041 <h5>wand</h5>
1042 <ol><p>the drawing wand.</p></ol>
1043
1044  </div>
1045 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1046 _8c.html" target="source" name="DrawGetTextDecoration">DrawGetTextDecoration</a></h2>
1047 <div class="doc-section">
1048
1049 <p>DrawGetTextDecoration() returns the decoration applied when annotating with text.</p></ol>
1050
1051 <p>The format of the DrawGetTextDecoration method is:</p>
1052
1053 <pre class="code">
1054   DecorationType DrawGetTextDecoration(DrawingWand *wand)
1055 </pre>
1056
1057 <p>A description of each parameter follows:</p></ol>
1058
1059 <h5>wand</h5>
1060 <ol><p>the drawing wand.</p></ol>
1061
1062  </div>
1063 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1064 _8c.html" target="source" name="DrawGetTextEncoding">DrawGetTextEncoding</a></h2>
1065 <div class="doc-section">
1066
1067 <p>DrawGetTextEncoding() returns a null-terminated string which specifies the code set used for text annotations. The string must be freed by the user once it is no longer required.</p></ol>
1068
1069 <p>The format of the DrawGetTextEncoding method is:</p>
1070
1071 <pre class="code">
1072   char *DrawGetTextEncoding(const DrawingWand *wand)
1073 </pre>
1074
1075 <p>A description of each parameter follows:</p></ol>
1076
1077 <h5>wand</h5>
1078 <ol><p>the drawing wand.</p></ol>
1079
1080  </div>
1081 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1082 _8c.html" target="source" name="DrawGetTextKerning">DrawGetTextKerning</a></h2>
1083 <div class="doc-section">
1084
1085 <p>DrawGetTextKerning() gets the spacing between characters in text.</p></ol>
1086
1087 <p>The format of the DrawSetFontKerning method is:</p>
1088
1089 <pre class="code">
1090   double DrawGetTextKerning(DrawingWand *wand)
1091 </pre>
1092
1093 <p>A description of each parameter follows:</p></ol>
1094
1095 <h5>wand</h5>
1096 <ol><p>the drawing wand.</p></ol>
1097
1098  </div>
1099 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1100 _8c.html" target="source" name="DrawGetTextInterwordSpacing">DrawGetTextInterwordSpacing</a></h2>
1101 <div class="doc-section">
1102
1103 <p>DrawGetTextInterwordSpacing() gets the spacing between lines in text.</p></ol>
1104
1105 <p>The format of the DrawSetFontKerning method is:</p>
1106
1107 <pre class="code">
1108   double DrawGetTextInterwordSpacing(DrawingWand *wand)
1109 </pre>
1110
1111 <p>A description of each parameter follows:</p></ol>
1112
1113 <h5>wand</h5>
1114 <ol><p>the drawing wand.</p></ol>
1115
1116  </div>
1117 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1118 _8c.html" target="source" name="DrawGetTextInterwordSpacing">DrawGetTextInterwordSpacing</a></h2>
1119 <div class="doc-section">
1120
1121 <p>DrawGetTextInterwordSpacing() gets the spacing between words in text.</p></ol>
1122
1123 <p>The format of the DrawSetFontKerning method is:</p>
1124
1125 <pre class="code">
1126   double DrawGetTextInterwordSpacing(DrawingWand *wand)
1127 </pre>
1128
1129 <p>A description of each parameter follows:</p></ol>
1130
1131 <h5>wand</h5>
1132 <ol><p>the drawing wand.</p></ol>
1133
1134  </div>
1135 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1136 _8c.html" target="source" name="DrawGetVectorGraphics">DrawGetVectorGraphics</a></h2>
1137 <div class="doc-section">
1138
1139 <p>DrawGetVectorGraphics() returns a null-terminated string which specifies the vector graphics generated by any graphics calls made since the wand was instantiated.  The string must be freed by the user once it is no longer required.</p></ol>
1140
1141 <p>The format of the DrawGetVectorGraphics method is:</p>
1142
1143 <pre class="code">
1144   char *DrawGetVectorGraphics(const DrawingWand *wand)
1145 </pre>
1146
1147 <p>A description of each parameter follows:</p></ol>
1148
1149 <h5>wand</h5>
1150 <ol><p>the drawing wand.</p></ol>
1151
1152  </div>
1153 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1154 _8c.html" target="source" name="DrawGetTextUnderColor">DrawGetTextUnderColor</a></h2>
1155 <div class="doc-section">
1156
1157 <p>DrawGetTextUnderColor() returns the color of a background rectangle to place under text annotations.</p></ol>
1158
1159 <p>The format of the DrawGetTextUnderColor method is:</p>
1160
1161 <pre class="code">
1162   void DrawGetTextUnderColor(const DrawingWand *wand,
1163     PixelWand *under_color)
1164 </pre>
1165
1166 <p>A description of each parameter follows:</p></ol>
1167
1168 <h5>wand</h5>
1169 <ol><p>the drawing wand.</p></ol>
1170
1171 <h5>under_color</h5>
1172 <ol><p>Return the under color.</p></ol>
1173
1174  </div>
1175 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1176 _8c.html" target="source" name="DrawLine">DrawLine</a></h2>
1177 <div class="doc-section">
1178
1179 <p>DrawLine() draws a line on the image using the current stroke color, stroke opacity, and stroke width.</p></ol>
1180
1181 <p>The format of the DrawLine method is:</p>
1182
1183 <pre class="code">
1184   void DrawLine(DrawingWand *wand,const double sx,const double sy,
1185     const double ex,const double ey)
1186 </pre>
1187
1188 <p>A description of each parameter follows:</p></ol>
1189
1190 <h5>wand</h5>
1191 <ol><p>the drawing wand.</p></ol>
1192
1193 <h5>sx</h5>
1194 <ol><p>starting x ordinate</p></ol>
1195
1196 <h5>sy</h5>
1197 <ol><p>starting y ordinate</p></ol>
1198
1199 <h5>ex</h5>
1200 <ol><p>ending x ordinate</p></ol>
1201
1202 <h5>ey</h5>
1203 <ol><p>ending y ordinate</p></ol>
1204
1205  </div>
1206 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1207 _8c.html" target="source" name="DrawMatte">DrawMatte</a></h2>
1208 <div class="doc-section">
1209
1210 <p>DrawMatte() paints on the image's opacity channel in order to set effected pixels to transparent. to influence the opacity of pixels. The available paint methods are:</p>
1211
1212 <pre class="text">
1213       PointMethod: Select the target pixel
1214       ReplaceMethod: Select any pixel that matches the target pixel.
1215       FloodfillMethod: Select the target pixel and matching neighbors.
1216       FillToBorderMethod: Select the target pixel and neighbors not matching
1217   border color.
1218       ResetMethod: Select all pixels.
1219 </pre>
1220
1221 <p>The format of the DrawMatte method is:</p>
1222
1223 <pre class="code">
1224   void DrawMatte(DrawingWand *wand,const double x,const double y,
1225     const PaintMethod paint_method)
1226 </pre>
1227
1228 <p>A description of each parameter follows:</p></ol>
1229
1230 <h5>wand</h5>
1231 <ol><p>the drawing wand.</p></ol>
1232
1233 <h5>x</h5>
1234 <ol><p>x ordinate</p></ol>
1235
1236 <h5>y</h5>
1237 <ol><p>y ordinate</p></ol>
1238
1239 <h5>paint_method</h5>
1240 <ol><p>paint method.</p></ol>
1241
1242  </div>
1243 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1244 _8c.html" target="source" name="DrawPathClose">DrawPathClose</a></h2>
1245 <div class="doc-section">
1246
1247 <p>DrawPathClose() adds a path element to the current path which closes the current subpath by drawing a straight line from the current point to the current subpath's most recent starting point (usually, the most recent moveto point).</p></ol>
1248
1249 <p>The format of the DrawPathClose method is:</p>
1250
1251 <pre class="code">
1252   void DrawPathClose(DrawingWand *wand)
1253 </pre>
1254
1255 <p>A description of each parameter follows:</p></ol>
1256
1257 <h5>wand</h5>
1258 <ol><p>the drawing wand.</p></ol>
1259
1260  </div>
1261 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1262 _8c.html" target="source" name="DrawPathCurveToAbsolute">DrawPathCurveToAbsolute</a></h2>
1263 <div class="doc-section">
1264
1265 <p>DrawPathCurveToAbsolute() draws a cubic Bezier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve using absolute coordinates. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></ol>
1266
1267 <p>The format of the DrawPathCurveToAbsolute method is:</p>
1268
1269 <pre class="code">
1270   void DrawPathCurveToAbsolute(DrawingWand *wand,const double x1,
1271     const double y1,const double x2,const double y2,const double x,
1272     const double y)
1273 </pre>
1274
1275 <p>A description of each parameter follows:</p></ol>
1276
1277 <h5>wand</h5>
1278 <ol><p>the drawing wand.</p></ol>
1279
1280 <h5>x1</h5>
1281 <ol><p>x ordinate of control point for curve beginning</p></ol>
1282
1283 <h5>y1</h5>
1284 <ol><p>y ordinate of control point for curve beginning</p></ol>
1285
1286 <h5>x2</h5>
1287 <ol><p>x ordinate of control point for curve ending</p></ol>
1288
1289 <h5>y2</h5>
1290 <ol><p>y ordinate of control point for curve ending</p></ol>
1291
1292 <h5>x</h5>
1293 <ol><p>x ordinate of the end of the curve</p></ol>
1294
1295 <h5>y</h5>
1296 <ol><p>y ordinate of the end of the curve</p></ol>
1297
1298  </div>
1299 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1300 _8c.html" target="source" name="DrawPathCurveToRelative">DrawPathCurveToRelative</a></h2>
1301 <div class="doc-section">
1302
1303 <p>DrawPathCurveToRelative() draws a cubic Bezier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve using relative coordinates. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></ol>
1304
1305 <p>The format of the DrawPathCurveToRelative method is:</p>
1306
1307 <pre class="code">
1308   void DrawPathCurveToRelative(DrawingWand *wand,const double x1,
1309     const double y1,const double x2,const double y2,const double x,
1310     const double y)
1311 </pre>
1312
1313 <p>A description of each parameter follows:</p></ol>
1314
1315 <h5>wand</h5>
1316 <ol><p>the drawing wand.</p></ol>
1317
1318 <h5>x1</h5>
1319 <ol><p>x ordinate of control point for curve beginning</p></ol>
1320
1321 <h5>y1</h5>
1322 <ol><p>y ordinate of control point for curve beginning</p></ol>
1323
1324 <h5>x2</h5>
1325 <ol><p>x ordinate of control point for curve ending</p></ol>
1326
1327 <h5>y2</h5>
1328 <ol><p>y ordinate of control point for curve ending</p></ol>
1329
1330 <h5>x</h5>
1331 <ol><p>x ordinate of the end of the curve</p></ol>
1332
1333 <h5>y</h5>
1334 <ol><p>y ordinate of the end of the curve</p></ol>
1335
1336  </div>
1337 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1338 _8c.html" target="source" name="DrawPathCurveToQuadraticBezierAbsolute">DrawPathCurveToQuadraticBezierAbsolute</a></h2>
1339 <div class="doc-section">
1340
1341 <p>DrawPathCurveToQuadraticBezierAbsolute() draws a quadratic Bezier curve from the current point to (x,y) using (x1,y1) as the control point using absolute coordinates. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></ol>
1342
1343 <p>The format of the DrawPathCurveToQuadraticBezierAbsolute method is:</p>
1344
1345 <pre class="code">
1346   void DrawPathCurveToQuadraticBezierAbsolute(DrawingWand *wand,
1347     const double x1,const double y1,onst double x,const double y)
1348 </pre>
1349
1350 <p>A description of each parameter follows:</p></ol>
1351
1352 <h5>wand</h5>
1353 <ol><p>the drawing wand.</p></ol>
1354
1355 <h5>x1</h5>
1356 <ol><p>x ordinate of the control point</p></ol>
1357
1358 <h5>y1</h5>
1359 <ol><p>y ordinate of the control point</p></ol>
1360
1361 <h5>x</h5>
1362 <ol><p>x ordinate of final point</p></ol>
1363
1364 <h5>y</h5>
1365 <ol><p>y ordinate of final point</p></ol>
1366
1367  </div>
1368 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1369 _8c.html" target="source" name="DrawPathCurveToQuadraticBezierRelative">DrawPathCurveToQuadraticBezierRelative</a></h2>
1370 <div class="doc-section">
1371
1372 <p>DrawPathCurveToQuadraticBezierRelative() draws a quadratic Bezier curve from the current point to (x,y) using (x1,y1) as the control point using relative coordinates. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></ol>
1373
1374 <p>The format of the DrawPathCurveToQuadraticBezierRelative method is:</p>
1375
1376 <pre class="code">
1377   void DrawPathCurveToQuadraticBezierRelative(DrawingWand *wand,
1378     const double x1,const double y1,const double x,const double y)
1379 </pre>
1380
1381 <p>A description of each parameter follows:</p></ol>
1382
1383 <h5>wand</h5>
1384 <ol><p>the drawing wand.</p></ol>
1385
1386 <h5>x1</h5>
1387 <ol><p>x ordinate of the control point</p></ol>
1388
1389 <h5>y1</h5>
1390 <ol><p>y ordinate of the control point</p></ol>
1391
1392 <h5>x</h5>
1393 <ol><p>x ordinate of final point</p></ol>
1394
1395 <h5>y</h5>
1396 <ol><p>y ordinate of final point</p></ol>
1397
1398  </div>
1399 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1400 _8c.html" target="source" name="DrawPathCurveToQuadraticBezierSmoothAbsolute">DrawPathCurveToQuadraticBezierSmoothAbsolute</a></h2>
1401 <div class="doc-section">
1402
1403 <p>DrawPathCurveToQuadraticBezierSmoothAbsolute() draws a quadratic Bezier curve (using absolute coordinates) from the current point to (x,y). The control point is assumed to be the reflection of the control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not a DrawPathCurveToQuadraticBezierAbsolute, DrawPathCurveToQuadraticBezierRelative, DrawPathCurveToQuadraticBezierSmoothAbsolute or DrawPathCurveToQuadraticBezierSmoothRelative, assume the control point is coincident with the current point.). At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></ol>
1404
1405 <p>The format of the DrawPathCurveToQuadraticBezierSmoothAbsolute method is:</p>
1406
1407 <pre class="code">
1408   void DrawPathCurveToQuadraticBezierSmoothAbsolute(
1409     DrawingWand *wand,const double x,const double y)
1410 </pre>
1411
1412 <p>A description of each parameter follows:</p></ol>
1413
1414 <h5>wand</h5>
1415 <ol><p>the drawing wand.</p></ol>
1416
1417 <h5>x</h5>
1418 <ol><p>x ordinate of final point</p></ol>
1419
1420 <h5>y</h5>
1421 <ol><p>y ordinate of final point</p></ol>
1422
1423  </div>
1424 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1425 _8c.html" target="source" name="DrawPathCurveToQuadraticBezierSmoothAbsolute">DrawPathCurveToQuadraticBezierSmoothAbsolute</a></h2>
1426 <div class="doc-section">
1427
1428 <p>DrawPathCurveToQuadraticBezierSmoothAbsolute() draws a quadratic Bezier curve (using relative coordinates) from the current point to (x,y). The control point is assumed to be the reflection of the control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not a DrawPathCurveToQuadraticBezierAbsolute, DrawPathCurveToQuadraticBezierRelative, DrawPathCurveToQuadraticBezierSmoothAbsolute or DrawPathCurveToQuadraticBezierSmoothRelative, assume the control point is coincident with the current point.). At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></ol>
1429
1430 <p>The format of the DrawPathCurveToQuadraticBezierSmoothRelative method is:</p>
1431
1432 <pre class="code">
1433   void DrawPathCurveToQuadraticBezierSmoothRelative(DrawingWand *wand,
1434     const double x,const double y)
1435 </pre>
1436
1437 <p>A description of each parameter follows:</p></ol>
1438
1439 <h5>wand</h5>
1440 <ol><p>the drawing wand.</p></ol>
1441
1442 <h5>x</h5>
1443 <ol><p>x ordinate of final point</p></ol>
1444
1445 <h5>y</h5>
1446 <ol><p>y ordinate of final point</p></ol>
1447
1448  </div>
1449 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1450 _8c.html" target="source" name="DrawPathCurveToSmoothAbsolute">DrawPathCurveToSmoothAbsolute</a></h2>
1451 <div class="doc-section">
1452
1453 <p>DrawPathCurveToSmoothAbsolute() draws a cubic Bezier curve from the current point to (x,y) using absolute coordinates. The first control point is assumed to be the reflection of the second control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not an DrawPathCurveToAbsolute, DrawPathCurveToRelative, DrawPathCurveToSmoothAbsolute or DrawPathCurveToSmoothRelative, assume the first control point is coincident with the current point.) (x2,y2) is the second control point (i.e., the control point at the end of the curve). At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></ol>
1454
1455 <p>The format of the DrawPathCurveToSmoothAbsolute method is:</p>
1456
1457 <pre class="code">
1458   void DrawPathCurveToSmoothAbsolute(DrawingWand *wand,
1459     const double x2const double y2,const double x,const double y)
1460 </pre>
1461
1462 <p>A description of each parameter follows:</p></ol>
1463
1464 <h5>wand</h5>
1465 <ol><p>the drawing wand.</p></ol>
1466
1467 <h5>x2</h5>
1468 <ol><p>x ordinate of second control point</p></ol>
1469
1470 <h5>y2</h5>
1471 <ol><p>y ordinate of second control point</p></ol>
1472
1473 <h5>x</h5>
1474 <ol><p>x ordinate of termination point</p></ol>
1475
1476 <h5>y</h5>
1477 <ol><p>y ordinate of termination point</p></ol>
1478
1479  </div>
1480 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1481 _8c.html" target="source" name="DrawPathCurveToSmoothRelative">DrawPathCurveToSmoothRelative</a></h2>
1482 <div class="doc-section">
1483
1484 <p>DrawPathCurveToSmoothRelative() draws a cubic Bezier curve from the current point to (x,y) using relative coordinates. The first control point is assumed to be the reflection of the second control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not an DrawPathCurveToAbsolute, DrawPathCurveToRelative, DrawPathCurveToSmoothAbsolute or DrawPathCurveToSmoothRelative, assume the first control point is coincident with the current point.) (x2,y2) is the second control point (i.e., the control point at the end of the curve). At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></ol>
1485
1486 <p>The format of the DrawPathCurveToSmoothRelative method is:</p>
1487
1488 <pre class="code">
1489   void DrawPathCurveToSmoothRelative(DrawingWand *wand,
1490     const double x2,const double y2,const double x,const double y)
1491 </pre>
1492
1493 <p>A description of each parameter follows:</p></ol>
1494
1495 <h5>wand</h5>
1496 <ol><p>the drawing wand.</p></ol>
1497
1498 <h5>x2</h5>
1499 <ol><p>x ordinate of second control point</p></ol>
1500
1501 <h5>y2</h5>
1502 <ol><p>y ordinate of second control point</p></ol>
1503
1504 <h5>x</h5>
1505 <ol><p>x ordinate of termination point</p></ol>
1506
1507 <h5>y</h5>
1508 <ol><p>y ordinate of termination point</p></ol>
1509
1510  </div>
1511 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1512 _8c.html" target="source" name="DrawPathEllipticArcAbsolute">DrawPathEllipticArcAbsolute</a></h2>
1513 <div class="doc-section">
1514
1515 <p>DrawPathEllipticArcAbsolute() draws an elliptical arc from the current point to (x, y) using absolute coordinates. The size and orientation of the ellipse are defined by two radii (rx, ry) and an xAxisRotation, which indicates how the ellipse as a whole is rotated relative to the current coordinate system. The center (cx, cy) of the ellipse is calculated automagically to satisfy the constraints imposed by the other parameters. largeArcFlag and sweepFlag contribute to the automatic calculations and help determine how the arc is drawn. If largeArcFlag is true then draw the larger of the available arcs. If sweepFlag is true, then draw the arc matching a clock-wise rotation.</p></ol>
1516
1517 <p>The format of the DrawPathEllipticArcAbsolute method is:</p>
1518
1519 <pre class="code">
1520   void DrawPathEllipticArcAbsolute(DrawingWand *wand,
1521     const double rx,const double ry,const double x_axis_rotation,
1522     const MagickBooleanType large_arc_flag,
1523     const MagickBooleanType sweep_flag,const double x,const double y)
1524 </pre>
1525
1526 <p>A description of each parameter follows:</p></ol>
1527
1528 <h5>wand</h5>
1529 <ol><p>the drawing wand.</p></ol>
1530
1531 <h5>rx</h5>
1532 <ol><p>x radius</p></ol>
1533
1534 <h5>ry</h5>
1535 <ol><p>y radius</p></ol>
1536
1537 <h5>x_axis_rotation</h5>
1538 <ol><p>indicates how the ellipse as a whole is rotated relative to the current coordinate system</p></ol>
1539
1540 <h5>large_arc_flag</h5>
1541 <ol><p>If non-zero (true) then draw the larger of the available arcs</p></ol>
1542
1543 <h5>sweep_flag</h5>
1544 <ol><p>If non-zero (true) then draw the arc matching a clock-wise rotation</p></ol>
1545
1546
1547  </div>
1548 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1549 _8c.html" target="source" name="DrawPathEllipticArcRelative">DrawPathEllipticArcRelative</a></h2>
1550 <div class="doc-section">
1551
1552 <p>DrawPathEllipticArcRelative() draws an elliptical arc from the current point to (x, y) using relative coordinates. The size and orientation of the ellipse are defined by two radii (rx, ry) and an xAxisRotation, which indicates how the ellipse as a whole is rotated relative to the current coordinate system. The center (cx, cy) of the ellipse is calculated automagically to satisfy the constraints imposed by the other parameters. largeArcFlag and sweepFlag contribute to the automatic calculations and help determine how the arc is drawn. If largeArcFlag is true then draw the larger of the available arcs. If sweepFlag is true, then draw the arc matching a clock-wise rotation.</p></ol>
1553
1554 <p>The format of the DrawPathEllipticArcRelative method is:</p>
1555
1556 <pre class="code">
1557   void DrawPathEllipticArcRelative(DrawingWand *wand,
1558     const double rx,const double ry,const double x_axis_rotation,
1559     const MagickBooleanType large_arc_flag,
1560     const MagickBooleanType sweep_flag,const double x,const double y)
1561 </pre>
1562
1563 <p>A description of each parameter follows:</p></ol>
1564
1565 <h5>wand</h5>
1566 <ol><p>the drawing wand.</p></ol>
1567
1568 <h5>rx</h5>
1569 <ol><p>x radius</p></ol>
1570
1571 <h5>ry</h5>
1572 <ol><p>y radius</p></ol>
1573
1574 <h5>x_axis_rotation</h5>
1575 <ol><p>indicates how the ellipse as a whole is rotated relative to the current coordinate system</p></ol>
1576
1577 <h5>large_arc_flag</h5>
1578 <ol><p>If non-zero (true) then draw the larger of the available arcs</p></ol>
1579
1580 <h5>sweep_flag</h5>
1581 <ol><p>If non-zero (true) then draw the arc matching a clock-wise rotation</p></ol>
1582
1583  </div>
1584 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1585 _8c.html" target="source" name="DrawPathFinish">DrawPathFinish</a></h2>
1586 <div class="doc-section">
1587
1588 <p>DrawPathFinish() terminates the current path.</p></ol>
1589
1590 <p>The format of the DrawPathFinish method is:</p>
1591
1592 <pre class="code">
1593   void DrawPathFinish(DrawingWand *wand)
1594 </pre>
1595
1596 <p>A description of each parameter follows:</p></ol>
1597
1598 <h5>wand</h5>
1599 <ol><p>the drawing wand.</p></ol>
1600
1601  </div>
1602 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1603 _8c.html" target="source" name="DrawPathLineToAbsolute">DrawPathLineToAbsolute</a></h2>
1604 <div class="doc-section">
1605
1606 <p>DrawPathLineToAbsolute() draws a line path from the current point to the given coordinate using absolute coordinates. The coordinate then becomes the new current point.</p></ol>
1607
1608 <p>The format of the DrawPathLineToAbsolute method is:</p>
1609
1610 <pre class="code">
1611   void DrawPathLineToAbsolute(DrawingWand *wand,const double x,
1612     const double y)
1613 </pre>
1614
1615 <p>A description of each parameter follows:</p></ol>
1616
1617 <h5>wand</h5>
1618 <ol><p>the drawing wand.</p></ol>
1619
1620 <h5>x</h5>
1621 <ol><p>target x ordinate</p></ol>
1622
1623 <h5>y</h5>
1624 <ol><p>target y ordinate</p></ol>
1625
1626  </div>
1627 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1628 _8c.html" target="source" name="DrawPathLineToRelative">DrawPathLineToRelative</a></h2>
1629 <div class="doc-section">
1630
1631 <p>DrawPathLineToRelative() draws a line path from the current point to the given coordinate using relative coordinates. The coordinate then becomes the new current point.</p></ol>
1632
1633 <p>The format of the DrawPathLineToRelative method is:</p>
1634
1635 <pre class="code">
1636   void DrawPathLineToRelative(DrawingWand *wand,const double x,
1637     const double y)
1638 </pre>
1639
1640 <p>A description of each parameter follows:</p></ol>
1641
1642 <h5>wand</h5>
1643 <ol><p>the drawing wand.</p></ol>
1644
1645 <h5>x</h5>
1646 <ol><p>target x ordinate</p></ol>
1647
1648 <h5>y</h5>
1649 <ol><p>target y ordinate</p></ol>
1650
1651  </div>
1652 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1653 _8c.html" target="source" name="DrawPathLineToHorizontalAbsolute">DrawPathLineToHorizontalAbsolute</a></h2>
1654 <div class="doc-section">
1655
1656 <p>DrawPathLineToHorizontalAbsolute() draws a horizontal line path from the current point to the target point using absolute coordinates.  The target point then becomes the new current point.</p></ol>
1657
1658 <p>The format of the DrawPathLineToHorizontalAbsolute method is:</p>
1659
1660 <pre class="code">
1661   void DrawPathLineToHorizontalAbsolute(DrawingWand *wand,
1662     const PathMode mode,const double x)
1663 </pre>
1664
1665 <p>A description of each parameter follows:</p></ol>
1666
1667 <h5>wand</h5>
1668 <ol><p>the drawing wand.</p></ol>
1669
1670 <h5>x</h5>
1671 <ol><p>target x ordinate</p></ol>
1672
1673  </div>
1674 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1675 _8c.html" target="source" name="DrawPathLineToHorizontalRelative">DrawPathLineToHorizontalRelative</a></h2>
1676 <div class="doc-section">
1677
1678 <p>DrawPathLineToHorizontalRelative() draws a horizontal line path from the current point to the target point using relative coordinates.  The target point then becomes the new current point.</p></ol>
1679
1680 <p>The format of the DrawPathLineToHorizontalRelative method is:</p>
1681
1682 <pre class="code">
1683   void DrawPathLineToHorizontalRelative(DrawingWand *wand,
1684     const double x)
1685 </pre>
1686
1687 <p>A description of each parameter follows:</p></ol>
1688
1689 <h5>wand</h5>
1690 <ol><p>the drawing wand.</p></ol>
1691
1692 <h5>x</h5>
1693 <ol><p>target x ordinate</p></ol>
1694
1695  </div>
1696 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1697 _8c.html" target="source" name="DrawPathLineToVerticalAbsolute">DrawPathLineToVerticalAbsolute</a></h2>
1698 <div class="doc-section">
1699
1700 <p>DrawPathLineToVerticalAbsolute() draws a vertical line path from the current point to the target point using absolute coordinates.  The target point then becomes the new current point.</p></ol>
1701
1702 <p>The format of the DrawPathLineToVerticalAbsolute method is:</p>
1703
1704 <pre class="code">
1705   void DrawPathLineToVerticalAbsolute(DrawingWand *wand,
1706     const double y)
1707 </pre>
1708
1709 <p>A description of each parameter follows:</p></ol>
1710
1711 <h5>wand</h5>
1712 <ol><p>the drawing wand.</p></ol>
1713
1714 <h5>y</h5>
1715 <ol><p>target y ordinate</p></ol>
1716
1717  </div>
1718 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1719 _8c.html" target="source" name="DrawPathLineToVerticalRelative">DrawPathLineToVerticalRelative</a></h2>
1720 <div class="doc-section">
1721
1722 <p>DrawPathLineToVerticalRelative() draws a vertical line path from the current point to the target point using relative coordinates.  The target point then becomes the new current point.</p></ol>
1723
1724 <p>The format of the DrawPathLineToVerticalRelative method is:</p>
1725
1726 <pre class="code">
1727   void DrawPathLineToVerticalRelative(DrawingWand *wand,
1728     const double y)
1729 </pre>
1730
1731 <p>A description of each parameter follows:</p></ol>
1732
1733 <h5>wand</h5>
1734 <ol><p>the drawing wand.</p></ol>
1735
1736 <h5>y</h5>
1737 <ol><p>target y ordinate</p></ol>
1738
1739  </div>
1740 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1741 _8c.html" target="source" name="DrawPathMoveToAbsolute">DrawPathMoveToAbsolute</a></h2>
1742 <div class="doc-section">
1743
1744 <p>DrawPathMoveToAbsolute() starts a new sub-path at the given coordinate using absolute coordinates. The current point then becomes the specified coordinate.</p></ol>
1745
1746 <p>The format of the DrawPathMoveToAbsolute method is:</p>
1747
1748 <pre class="code">
1749   void DrawPathMoveToAbsolute(DrawingWand *wand,const double x,
1750     const double y)
1751 </pre>
1752
1753 <p>A description of each parameter follows:</p></ol>
1754
1755 <h5>wand</h5>
1756 <ol><p>the drawing wand.</p></ol>
1757
1758 <h5>x</h5>
1759 <ol><p>target x ordinate</p></ol>
1760
1761 <h5>y</h5>
1762 <ol><p>target y ordinate</p></ol>
1763
1764  </div>
1765 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1766 _8c.html" target="source" name="DrawPathMoveToRelative">DrawPathMoveToRelative</a></h2>
1767 <div class="doc-section">
1768
1769 <p>DrawPathMoveToRelative() starts a new sub-path at the given coordinate using relative coordinates. The current point then becomes the specified coordinate.</p></ol>
1770
1771 <p>The format of the DrawPathMoveToRelative method is:</p>
1772
1773 <pre class="code">
1774   void DrawPathMoveToRelative(DrawingWand *wand,const double x,
1775     const double y)
1776 </pre>
1777
1778 <p>A description of each parameter follows:</p></ol>
1779
1780 <h5>wand</h5>
1781 <ol><p>the drawing wand.</p></ol>
1782
1783 <h5>x</h5>
1784 <ol><p>target x ordinate</p></ol>
1785
1786 <h5>y</h5>
1787 <ol><p>target y ordinate</p></ol>
1788
1789  </div>
1790 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1791 _8c.html" target="source" name="DrawPathStart">DrawPathStart</a></h2>
1792 <div class="doc-section">
1793
1794 <p>DrawPathStart() declares the start of a path drawing list which is terminated by a matching DrawPathFinish() command. All other DrawPath commands must be enclosed between a DrawPathStart() and a DrawPathFinish() command. This is because path drawing commands are subordinate commands and they do not function by themselves.</p></ol>
1795
1796 <p>The format of the DrawPathStart method is:</p>
1797
1798 <pre class="code">
1799   void DrawPathStart(DrawingWand *wand)
1800 </pre>
1801
1802 <p>A description of each parameter follows:</p></ol>
1803
1804 <h5>wand</h5>
1805 <ol><p>the drawing wand.</p></ol>
1806
1807  </div>
1808 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1809 _8c.html" target="source" name="DrawPoint">DrawPoint</a></h2>
1810 <div class="doc-section">
1811
1812 <p>DrawPoint() draws a point using the current fill color.</p></ol>
1813
1814 <p>The format of the DrawPoint method is:</p>
1815
1816 <pre class="code">
1817   void DrawPoint(DrawingWand *wand,const double x,const double y)
1818 </pre>
1819
1820 <p>A description of each parameter follows:</p></ol>
1821
1822 <h5>wand</h5>
1823 <ol><p>the drawing wand.</p></ol>
1824
1825 <h5>x</h5>
1826 <ol><p>target x coordinate</p></ol>
1827
1828 <h5>y</h5>
1829 <ol><p>target y coordinate</p></ol>
1830
1831  </div>
1832 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1833 _8c.html" target="source" name="DrawPolygon">DrawPolygon</a></h2>
1834 <div class="doc-section">
1835
1836 <p>DrawPolygon() draws a polygon using the current stroke, stroke width, and fill color or texture, using the specified array of coordinates.</p></ol>
1837
1838 <p>The format of the DrawPolygon method is:</p>
1839
1840 <pre class="code">
1841   void DrawPolygon(DrawingWand *wand,
1842     const size_t number_coordinates,const PointInfo *coordinates)
1843 </pre>
1844
1845 <p>A description of each parameter follows:</p></ol>
1846
1847 <h5>wand</h5>
1848 <ol><p>the drawing wand.</p></ol>
1849
1850 <h5>number_coordinates</h5>
1851 <ol><p>number of coordinates</p></ol>
1852
1853 <h5>coordinates</h5>
1854 <ol><p>coordinate array</p></ol>
1855
1856  </div>
1857 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1858 _8c.html" target="source" name="DrawPolyline">DrawPolyline</a></h2>
1859 <div class="doc-section">
1860
1861 <p>DrawPolyline() draws a polyline using the current stroke, stroke width, and fill color or texture, using the specified array of coordinates.</p></ol>
1862
1863 <p>The format of the DrawPolyline method is:</p>
1864
1865 <pre class="code">
1866   void DrawPolyline(DrawingWand *wand,
1867     const size_t number_coordinates,const PointInfo *coordinates)
1868 </pre>
1869
1870 <p>A description of each parameter follows:</p></ol>
1871
1872 <h5>wand</h5>
1873 <ol><p>the drawing wand.</p></ol>
1874
1875 <h5>number_coordinates</h5>
1876 <ol><p>number of coordinates</p></ol>
1877
1878 <h5>coordinates</h5>
1879 <ol><p>coordinate array</p></ol>
1880
1881  </div>
1882 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1883 _8c.html" target="source" name="DrawPopClipPath">DrawPopClipPath</a></h2>
1884 <div class="doc-section">
1885
1886 <p>DrawPopClipPath() terminates a clip path definition.</p></ol>
1887
1888 <p>The format of the DrawPopClipPath method is:</p>
1889
1890 <pre class="code">
1891   void DrawPopClipPath(DrawingWand *wand)
1892 </pre>
1893
1894 <p>A description of each parameter follows:</p></ol>
1895
1896 <h5>wand</h5>
1897 <ol><p>the drawing wand.</p></ol>
1898
1899  </div>
1900 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1901 _8c.html" target="source" name="DrawPopDefs">DrawPopDefs</a></h2>
1902 <div class="doc-section">
1903
1904 <p>DrawPopDefs() terminates a definition list.</p></ol>
1905
1906 <p>The format of the DrawPopDefs method is:</p>
1907
1908 <pre class="code">
1909   void DrawPopDefs(DrawingWand *wand)
1910 </pre>
1911
1912 <p>A description of each parameter follows:</p></ol>
1913
1914 <h5>wand</h5>
1915 <ol><p>the drawing wand.</p></ol>
1916
1917  </div>
1918 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1919 _8c.html" target="source" name="DrawPopPattern">DrawPopPattern</a></h2>
1920 <div class="doc-section">
1921
1922 <p>DrawPopPattern() terminates a pattern definition.</p></ol>
1923
1924 <p>The format of the DrawPopPattern method is:</p>
1925
1926 <pre class="code">
1927   MagickBooleanType DrawPopPattern(DrawingWand *wand)
1928 </pre>
1929
1930 <p>A description of each parameter follows:</p></ol>
1931
1932 <h5>wand</h5>
1933 <ol><p>the drawing wand.</p></ol>
1934
1935  </div>
1936 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1937 _8c.html" target="source" name="DrawPushClipPath">DrawPushClipPath</a></h2>
1938 <div class="doc-section">
1939
1940 <p>DrawPushClipPath() starts a clip path definition which is comprized of any number of drawing commands and terminated by a DrawPopClipPath() command.</p></ol>
1941
1942 <p>The format of the DrawPushClipPath method is:</p>
1943
1944 <pre class="code">
1945   void DrawPushClipPath(DrawingWand *wand,const char *clip_mask_id)
1946 </pre>
1947
1948 <p>A description of each parameter follows:</p></ol>
1949
1950 <h5>wand</h5>
1951 <ol><p>the drawing wand.</p></ol>
1952
1953 <h5>clip_mask_id</h5>
1954 <ol><p>string identifier to associate with the clip path for later use.</p></ol>
1955
1956  </div>
1957 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1958 _8c.html" target="source" name="DrawPushDefs">DrawPushDefs</a></h2>
1959 <div class="doc-section">
1960
1961 <p>DrawPushDefs() indicates that commands up to a terminating DrawPopDefs() command create named elements (e.g. clip-paths, textures, etc.) which may safely be processed earlier for the sake of efficiency.</p></ol>
1962
1963 <p>The format of the DrawPushDefs method is:</p>
1964
1965 <pre class="code">
1966   void DrawPushDefs(DrawingWand *wand)
1967 </pre>
1968
1969 <p>A description of each parameter follows:</p></ol>
1970
1971 <h5>wand</h5>
1972 <ol><p>the drawing wand.</p></ol>
1973
1974  </div>
1975 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1976 _8c.html" target="source" name="DrawPushPattern">DrawPushPattern</a></h2>
1977 <div class="doc-section">
1978
1979 <p>DrawPushPattern() indicates that subsequent commands up to a DrawPopPattern() command comprise the definition of a named pattern. The pattern space is assigned top left corner coordinates, a width and height, and becomes its own drawing space.  Anything which can be drawn may be used in a pattern definition. Named patterns may be used as stroke or brush definitions.</p></ol>
1980
1981 <p>The format of the DrawPushPattern method is:</p>
1982
1983 <pre class="code">
1984   MagickBooleanType DrawPushPattern(DrawingWand *wand,
1985     const char *pattern_id,const double x,const double y,
1986     const double width,const double height)
1987 </pre>
1988
1989 <p>A description of each parameter follows:</p></ol>
1990
1991 <h5>wand</h5>
1992 <ol><p>the drawing wand.</p></ol>
1993
1994 <h5>pattern_id</h5>
1995 <ol><p>pattern identification for later reference</p></ol>
1996
1997 <h5>x</h5>
1998 <ol><p>x ordinate of top left corner</p></ol>
1999
2000 <h5>y</h5>
2001 <ol><p>y ordinate of top left corner</p></ol>
2002
2003 <h5>width</h5>
2004 <ol><p>width of pattern space</p></ol>
2005
2006 <h5>height</h5>
2007 <ol><p>height of pattern space</p></ol>
2008
2009  </div>
2010 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2011 _8c.html" target="source" name="DrawRectangle">DrawRectangle</a></h2>
2012 <div class="doc-section">
2013
2014 <p>DrawRectangle() draws a rectangle given two coordinates and using the current stroke, stroke width, and fill settings.</p></ol>
2015
2016 <p>The format of the DrawRectangle method is:</p>
2017
2018 <pre class="code">
2019   void DrawRectangle(DrawingWand *wand,const double x1,
2020     const double y1,const double x2,const double y2)
2021 </pre>
2022
2023 <p>A description of each parameter follows:</p></ol>
2024
2025 <h5>x1</h5>
2026 <ol><p>x ordinate of first coordinate</p></ol>
2027
2028 <h5>y1</h5>
2029 <ol><p>y ordinate of first coordinate</p></ol>
2030
2031 <h5>x2</h5>
2032 <ol><p>x ordinate of second coordinate</p></ol>
2033
2034 <h5>y2</h5>
2035 <ol><p>y ordinate of second coordinate</p></ol>
2036
2037  </div>
2038 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2039 _8c.html" target="source" name="DrawResetVectorGraphics">DrawResetVectorGraphics</a></h2>
2040 <div class="doc-section">
2041
2042 <p>DrawResetVectorGraphics() resets the vector graphics associated with the specified wand.</p></ol>
2043
2044 <p>The format of the DrawResetVectorGraphics method is:</p>
2045
2046 <pre class="code">
2047   void DrawResetVectorGraphics(DrawingWand *wand)
2048 </pre>
2049
2050 <p>A description of each parameter follows:</p></ol>
2051
2052 <h5>wand</h5>
2053 <ol><p>the drawing wand.</p></ol>
2054
2055  </div>
2056 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2057 _8c.html" target="source" name="DrawRotate">DrawRotate</a></h2>
2058 <div class="doc-section">
2059
2060 <p>DrawRotate() applies the specified rotation to the current coordinate space.</p></ol>
2061
2062 <p>The format of the DrawRotate method is:</p>
2063
2064 <pre class="code">
2065   void DrawRotate(DrawingWand *wand,const double degrees)
2066 </pre>
2067
2068 <p>A description of each parameter follows:</p></ol>
2069
2070 <h5>wand</h5>
2071 <ol><p>the drawing wand.</p></ol>
2072
2073 <h5>degrees</h5>
2074 <ol><p>degrees of rotation</p></ol>
2075
2076  </div>
2077 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2078 _8c.html" target="source" name="DrawRoundRectangle">DrawRoundRectangle</a></h2>
2079 <div class="doc-section">
2080
2081 <p>DrawRoundRectangle() draws a rounted rectangle given two coordinates, x & y corner radiuses and using the current stroke, stroke width, and fill settings.</p></ol>
2082
2083 <p>The format of the DrawRoundRectangle method is:</p>
2084
2085 <pre class="code">
2086   void DrawRoundRectangle(DrawingWand *wand,double x1,double y1,
2087     double x2,double y2,double rx,double ry)
2088 </pre>
2089
2090 <p>A description of each parameter follows:</p></ol>
2091
2092 <h5>wand</h5>
2093 <ol><p>the drawing wand.</p></ol>
2094
2095 <h5>x1</h5>
2096 <ol><p>x ordinate of first coordinate</p></ol>
2097
2098 <h5>y1</h5>
2099 <ol><p>y ordinate of first coordinate</p></ol>
2100
2101 <h5>x2</h5>
2102 <ol><p>x ordinate of second coordinate</p></ol>
2103
2104 <h5>y2</h5>
2105 <ol><p>y ordinate of second coordinate</p></ol>
2106
2107 <h5>rx</h5>
2108 <ol><p>radius of corner in horizontal direction</p></ol>
2109
2110 <h5>ry</h5>
2111 <ol><p>radius of corner in vertical direction</p></ol>
2112
2113  </div>
2114 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2115 _8c.html" target="source" name="DrawScale">DrawScale</a></h2>
2116 <div class="doc-section">
2117
2118 <p>DrawScale() adjusts the scaling factor to apply in the horizontal and vertical directions to the current coordinate space.</p></ol>
2119
2120 <p>The format of the DrawScale method is:</p>
2121
2122 <pre class="code">
2123   void DrawScale(DrawingWand *wand,const double x,const double y)
2124 </pre>
2125
2126 <p>A description of each parameter follows:</p></ol>
2127
2128 <h5>wand</h5>
2129 <ol><p>the drawing wand.</p></ol>
2130
2131 <h5>x</h5>
2132 <ol><p>horizontal scale factor</p></ol>
2133
2134 <h5>y</h5>
2135 <ol><p>vertical scale factor</p></ol>
2136
2137  </div>
2138 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2139 _8c.html" target="source" name="DrawSetBorderColor">DrawSetBorderColor</a></h2>
2140 <div class="doc-section">
2141
2142 <p>DrawSetBorderColor() sets the border color to be used for drawing bordered objects.</p></ol>
2143
2144 <p>The format of the DrawSetBorderColor method is:</p>
2145
2146 <pre class="code">
2147   void DrawSetBorderColor(DrawingWand *wand,const PixelWand *border_wand)
2148 </pre>
2149
2150 <p>A description of each parameter follows:</p></ol>
2151
2152 <h5>wand</h5>
2153 <ol><p>the drawing wand.</p></ol>
2154
2155 <h5>border_wand</h5>
2156 <ol><p>border wand.</p></ol>
2157
2158  </div>
2159 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2160 _8c.html" target="source" name="DrawSetClipPath">DrawSetClipPath</a></h2>
2161 <div class="doc-section">
2162
2163 <p>DrawSetClipPath() associates a named clipping path with the image.  Only the areas drawn on by the clipping path will be modified as ssize_t as it remains in effect.</p></ol>
2164
2165 <p>The format of the DrawSetClipPath method is:</p>
2166
2167 <pre class="code">
2168   MagickBooleanType DrawSetClipPath(DrawingWand *wand,
2169     const char *clip_mask)
2170 </pre>
2171
2172 <p>A description of each parameter follows:</p></ol>
2173
2174 <h5>wand</h5>
2175 <ol><p>the drawing wand.</p></ol>
2176
2177 <h5>clip_mask</h5>
2178 <ol><p>name of clipping path to associate with image</p></ol>
2179
2180  </div>
2181 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2182 _8c.html" target="source" name="DrawSetClipRule">DrawSetClipRule</a></h2>
2183 <div class="doc-section">
2184
2185 <p>DrawSetClipRule() set the polygon fill rule to be used by the clipping path.</p></ol>
2186
2187 <p>The format of the DrawSetClipRule method is:</p>
2188
2189 <pre class="code">
2190   void DrawSetClipRule(DrawingWand *wand,const FillRule fill_rule)
2191 </pre>
2192
2193 <p>A description of each parameter follows:</p></ol>
2194
2195 <h5>wand</h5>
2196 <ol><p>the drawing wand.</p></ol>
2197
2198 <h5>fill_rule</h5>
2199 <ol><p>fill rule (EvenOddRule or NonZeroRule)</p></ol>
2200
2201  </div>
2202 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2203 _8c.html" target="source" name="DrawSetClipUnits">DrawSetClipUnits</a></h2>
2204 <div class="doc-section">
2205
2206 <p>DrawSetClipUnits() sets the interpretation of clip path units.</p></ol>
2207
2208 <p>The format of the DrawSetClipUnits method is:</p>
2209
2210 <pre class="code">
2211   void DrawSetClipUnits(DrawingWand *wand,
2212     const ClipPathUnits clip_units)
2213 </pre>
2214
2215 <p>A description of each parameter follows:</p></ol>
2216
2217 <h5>wand</h5>
2218 <ol><p>the drawing wand.</p></ol>
2219
2220 <h5>clip_units</h5>
2221 <ol><p>units to use (UserSpace, UserSpaceOnUse, or ObjectBoundingBox)</p></ol>
2222
2223  </div>
2224 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2225 _8c.html" target="source" name="DrawSetFillColor">DrawSetFillColor</a></h2>
2226 <div class="doc-section">
2227
2228 <p>DrawSetFillColor() sets the fill color to be used for drawing filled objects.</p></ol>
2229
2230 <p>The format of the DrawSetFillColor method is:</p>
2231
2232 <pre class="code">
2233   void DrawSetFillColor(DrawingWand *wand,const PixelWand *fill_wand)
2234 </pre>
2235
2236 <p>A description of each parameter follows:</p></ol>
2237
2238 <h5>wand</h5>
2239 <ol><p>the drawing wand.</p></ol>
2240
2241 <h5>fill_wand</h5>
2242 <ol><p>fill wand.</p></ol>
2243
2244  </div>
2245 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2246 _8c.html" target="source" name="DrawSetFillOpacity">DrawSetFillOpacity</a></h2>
2247 <div class="doc-section">
2248
2249 <p>DrawSetFillOpacity() sets the opacity to use when drawing using the fill color or fill texture.  Fully opaque is 1.0.</p></ol>
2250
2251 <p>The format of the DrawSetFillOpacity method is:</p>
2252
2253 <pre class="code">
2254   void DrawSetFillOpacity(DrawingWand *wand,const double fill_opacity)
2255 </pre>
2256
2257 <p>A description of each parameter follows:</p></ol>
2258
2259 <h5>wand</h5>
2260 <ol><p>the drawing wand.</p></ol>
2261
2262 <h5>fill_opacity</h5>
2263 <ol><p>fill opacity</p></ol>
2264
2265  </div>
2266 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2267 _8c.html" target="source" name="DrawSetOpacity">DrawSetOpacity</a></h2>
2268 <div class="doc-section">
2269
2270 <p>DrawSetOpacity() sets the opacity to use when drawing using the fill or stroke color or texture.  Fully opaque is 1.0.</p></ol>
2271
2272 <p>The format of the DrawSetOpacity method is:</p>
2273
2274 <pre class="code">
2275   void DrawSetOpacity(DrawingWand *wand,const double opacity)
2276 </pre>
2277
2278 <p>A description of each parameter follows:</p></ol>
2279
2280 <h5>wand</h5>
2281 <ol><p>the drawing wand.</p></ol>
2282
2283 <h5>opacity</h5>
2284 <ol><p>fill opacity</p></ol>
2285
2286  </div>
2287 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2288 _8c.html" target="source" name="DrawSetFillPatternURL">DrawSetFillPatternURL</a></h2>
2289 <div class="doc-section">
2290
2291 <p>DrawSetFillPatternURL() sets the URL to use as a fill pattern for filling objects. Only local URLs ("#identifier") are supported at this time. These local URLs are normally created by defining a named fill pattern with DrawPushPattern/DrawPopPattern.</p></ol>
2292
2293 <p>The format of the DrawSetFillPatternURL method is:</p>
2294
2295 <pre class="code">
2296   MagickBooleanType DrawSetFillPatternURL(DrawingWand *wand,
2297     const char *fill_url)
2298 </pre>
2299
2300 <p>A description of each parameter follows:</p></ol>
2301
2302 <h5>wand</h5>
2303 <ol><p>the drawing wand.</p></ol>
2304
2305 <h5>fill_url</h5>
2306 <ol><p>URL to use to obtain fill pattern.</p></ol>
2307
2308  </div>
2309 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2310 _8c.html" target="source" name="DrawSetFillRule">DrawSetFillRule</a></h2>
2311 <div class="doc-section">
2312
2313 <p>DrawSetFillRule() sets the fill rule to use while drawing polygons.</p></ol>
2314
2315 <p>The format of the DrawSetFillRule method is:</p>
2316
2317 <pre class="code">
2318   void DrawSetFillRule(DrawingWand *wand,const FillRule fill_rule)
2319 </pre>
2320
2321 <p>A description of each parameter follows:</p></ol>
2322
2323 <h5>wand</h5>
2324 <ol><p>the drawing wand.</p></ol>
2325
2326 <h5>fill_rule</h5>
2327 <ol><p>fill rule (EvenOddRule or NonZeroRule)</p></ol>
2328
2329  </div>
2330 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2331 _8c.html" target="source" name="DrawSetFont">DrawSetFont</a></h2>
2332 <div class="doc-section">
2333
2334 <p>DrawSetFont() sets the fully-sepecified font to use when annotating with text.</p></ol>
2335
2336 <p>The format of the DrawSetFont method is:</p>
2337
2338 <pre class="code">
2339   MagickBooleanType DrawSetFont(DrawingWand *wand,const char *font_name)
2340 </pre>
2341
2342 <p>A description of each parameter follows:</p></ol>
2343
2344 <h5>wand</h5>
2345 <ol><p>the drawing wand.</p></ol>
2346
2347 <h5>font_name</h5>
2348 <ol><p>font name</p></ol>
2349
2350  </div>
2351 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2352 _8c.html" target="source" name="DrawSetFontFamily">DrawSetFontFamily</a></h2>
2353 <div class="doc-section">
2354
2355 <p>DrawSetFontFamily() sets the font family to use when annotating with text.</p></ol>
2356
2357 <p>The format of the DrawSetFontFamily method is:</p>
2358
2359 <pre class="code">
2360   MagickBooleanType DrawSetFontFamily(DrawingWand *wand,
2361     const char *font_family)
2362 </pre>
2363
2364 <p>A description of each parameter follows:</p></ol>
2365
2366 <h5>wand</h5>
2367 <ol><p>the drawing wand.</p></ol>
2368
2369 <h5>font_family</h5>
2370 <ol><p>font family</p></ol>
2371
2372  </div>
2373 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2374 _8c.html" target="source" name="DrawSetFontSize">DrawSetFontSize</a></h2>
2375 <div class="doc-section">
2376
2377 <p>DrawSetFontSize() sets the font pointsize to use when annotating with text.</p></ol>
2378
2379 <p>The format of the DrawSetFontSize method is:</p>
2380
2381 <pre class="code">
2382   void DrawSetFontSize(DrawingWand *wand,const double pointsize)
2383 </pre>
2384
2385 <p>A description of each parameter follows:</p></ol>
2386
2387 <h5>wand</h5>
2388 <ol><p>the drawing wand.</p></ol>
2389
2390 <h5>pointsize</h5>
2391 <ol><p>text pointsize</p></ol>
2392
2393  </div>
2394 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2395 _8c.html" target="source" name="DrawSetFontStretch">DrawSetFontStretch</a></h2>
2396 <div class="doc-section">
2397
2398 <p>DrawSetFontStretch() sets the font stretch to use when annotating with text. The AnyStretch enumeration acts as a wild-card "don't care" option.</p></ol>
2399
2400 <p>The format of the DrawSetFontStretch method is:</p>
2401
2402 <pre class="code">
2403   void DrawSetFontStretch(DrawingWand *wand,
2404     const StretchType font_stretch)
2405 </pre>
2406
2407 <p>A description of each parameter follows:</p></ol>
2408
2409 <h5>wand</h5>
2410 <ol><p>the drawing wand.</p></ol>
2411
2412 <h5>font_stretch</h5>
2413 <ol><p>font stretch (NormalStretch, UltraCondensedStretch, CondensedStretch, SemiCondensedStretch, SemiExpandedStretch, ExpandedStretch, ExtraExpandedStretch, UltraExpandedStretch, AnyStretch)</p></ol>
2414
2415  </div>
2416 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2417 _8c.html" target="source" name="DrawSetFontStyle">DrawSetFontStyle</a></h2>
2418 <div class="doc-section">
2419
2420 <p>DrawSetFontStyle() sets the font style to use when annotating with text. The AnyStyle enumeration acts as a wild-card "don't care" option.</p></ol>
2421
2422 <p>The format of the DrawSetFontStyle method is:</p>
2423
2424 <pre class="code">
2425   void DrawSetFontStyle(DrawingWand *wand,const StyleType style)
2426 </pre>
2427
2428 <p>A description of each parameter follows:</p></ol>
2429
2430 <h5>wand</h5>
2431 <ol><p>the drawing wand.</p></ol>
2432
2433 <h5>style</h5>
2434 <ol><p>font style (NormalStyle, ItalicStyle, ObliqueStyle, AnyStyle)</p></ol>
2435
2436  </div>
2437 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2438 _8c.html" target="source" name="DrawSetFontWeight">DrawSetFontWeight</a></h2>
2439 <div class="doc-section">
2440
2441 <p>DrawSetFontWeight() sets the font weight to use when annotating with text.</p></ol>
2442
2443 <p>The format of the DrawSetFontWeight method is:</p>
2444
2445 <pre class="code">
2446   void DrawSetFontWeight(DrawingWand *wand,
2447     const size_t font_weight)
2448 </pre>
2449
2450 <p>A description of each parameter follows:</p></ol>
2451
2452 <h5>wand</h5>
2453 <ol><p>the drawing wand.</p></ol>
2454
2455 <h5>font_weight</h5>
2456 <ol><p>font weight (valid range 100-900)</p></ol>
2457
2458  </div>
2459 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2460 _8c.html" target="source" name="DrawSetGravity">DrawSetGravity</a></h2>
2461 <div class="doc-section">
2462
2463 <p>DrawSetGravity() sets the text placement gravity to use when annotating with text.</p></ol>
2464
2465 <p>The format of the DrawSetGravity method is:</p>
2466
2467 <pre class="code">
2468   void DrawSetGravity(DrawingWand *wand,const GravityType gravity)
2469 </pre>
2470
2471 <p>A description of each parameter follows:</p></ol>
2472
2473 <h5>wand</h5>
2474 <ol><p>the drawing wand.</p></ol>
2475
2476 <h5>gravity</h5>
2477 <ol><p>positioning gravity (NorthWestGravity, NorthGravity, NorthEastGravity, WestGravity, CenterGravity, EastGravity, SouthWestGravity, SouthGravity, SouthEastGravity)</p></ol>
2478
2479  </div>
2480 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2481 _8c.html" target="source" name="DrawSetStrokeColor">DrawSetStrokeColor</a></h2>
2482 <div class="doc-section">
2483
2484 <p>DrawSetStrokeColor() sets the color used for stroking object outlines.</p></ol>
2485
2486 <p>The format of the DrawSetStrokeColor method is:</p>
2487
2488 <pre class="code">
2489   void DrawSetStrokeColor(DrawingWand *wand,
2490     const PixelWand *stroke_wand)
2491 </pre>
2492
2493 <p>A description of each parameter follows:</p></ol>
2494
2495 <h5>wand</h5>
2496 <ol><p>the drawing wand.</p></ol>
2497
2498 <h5>stroke_wand</h5>
2499 <ol><p>stroke wand.</p></ol>
2500
2501  </div>
2502 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2503 _8c.html" target="source" name="DrawSetStrokePatternURL">DrawSetStrokePatternURL</a></h2>
2504 <div class="doc-section">
2505
2506 <p>DrawSetStrokePatternURL() sets the pattern used for stroking object outlines.</p></ol>
2507
2508 <p>The format of the DrawSetStrokePatternURL method is:</p>
2509
2510 <pre class="code">
2511   MagickBooleanType DrawSetStrokePatternURL(DrawingWand *wand,
2512     const char *stroke_url)
2513 </pre>
2514
2515 <p>A description of each parameter follows:</p></ol>
2516
2517 <h5>wand</h5>
2518 <ol><p>the drawing wand.</p></ol>
2519
2520 <h5>stroke_url</h5>
2521 <ol><p>URL specifying pattern ID (e.g. "#pattern_id")</p></ol>
2522
2523  </div>
2524 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2525 _8c.html" target="source" name="DrawSetStrokeAntialias">DrawSetStrokeAntialias</a></h2>
2526 <div class="doc-section">
2527
2528 <p>DrawSetStrokeAntialias() controls whether stroked outlines are antialiased. Stroked outlines are antialiased by default.  When antialiasing is disabled stroked pixels are thresholded to determine if the stroke color or underlying canvas color should be used.</p></ol>
2529
2530 <p>The format of the DrawSetStrokeAntialias method is:</p>
2531
2532 <pre class="code">
2533   void DrawSetStrokeAntialias(DrawingWand *wand,
2534     const MagickBooleanType stroke_antialias)
2535 </pre>
2536
2537 <p>A description of each parameter follows:</p></ol>
2538
2539 <h5>wand</h5>
2540 <ol><p>the drawing wand.</p></ol>
2541
2542 <h5>stroke_antialias</h5>
2543 <ol><p>set to false (zero) to disable antialiasing</p></ol>
2544
2545  </div>
2546 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2547 _8c.html" target="source" name="DrawSetStrokeDashArray">DrawSetStrokeDashArray</a></h2>
2548 <div class="doc-section">
2549
2550 <p>DrawSetStrokeDashArray() specifies the pattern of dashes and gaps used to stroke paths. The stroke dash array represents an array of numbers that specify the lengths of alternating dashes and gaps in pixels. If an odd number of values is provided, then the list of values is repeated to yield an even number of values. To remove an existing dash array, pass a zero number_elements argument and null dash_array.  A typical stroke dash array might contain the members 5 3 2.</p></ol>
2551
2552 <p>The format of the DrawSetStrokeDashArray method is:</p>
2553
2554 <pre class="code">
2555   MagickBooleanType DrawSetStrokeDashArray(DrawingWand *wand,
2556     const size_t number_elements,const double *dash_array)
2557 </pre>
2558
2559 <p>A description of each parameter follows:</p></ol>
2560
2561 <h5>wand</h5>
2562 <ol><p>the drawing wand.</p></ol>
2563
2564 <h5>number_elements</h5>
2565 <ol><p>number of elements in dash array</p></ol>
2566
2567 <h5>dash_array</h5>
2568 <ol><p>dash array values</p></ol>
2569
2570  </div>
2571 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2572 _8c.html" target="source" name="DrawSetStrokeDashOffset">DrawSetStrokeDashOffset</a></h2>
2573 <div class="doc-section">
2574
2575 <p>DrawSetStrokeDashOffset() specifies the offset into the dash pattern to start the dash.</p></ol>
2576
2577 <p>The format of the DrawSetStrokeDashOffset method is:</p>
2578
2579 <pre class="code">
2580   void DrawSetStrokeDashOffset(DrawingWand *wand,
2581     const double dash_offset)
2582 </pre>
2583
2584 <p>A description of each parameter follows:</p></ol>
2585
2586 <h5>wand</h5>
2587 <ol><p>the drawing wand.</p></ol>
2588
2589 <h5>dash_offset</h5>
2590 <ol><p>dash offset</p></ol>
2591
2592  </div>
2593 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2594 _8c.html" target="source" name="DrawSetStrokeLineCap">DrawSetStrokeLineCap</a></h2>
2595 <div class="doc-section">
2596
2597 <p>DrawSetStrokeLineCap() specifies the shape to be used at the end of open subpaths when they are stroked. Values of LineCap are UndefinedCap, ButtCap, RoundCap, and SquareCap.</p></ol>
2598
2599 <p>The format of the DrawSetStrokeLineCap method is:</p>
2600
2601 <pre class="code">
2602   void DrawSetStrokeLineCap(DrawingWand *wand,
2603     const LineCap linecap)
2604 </pre>
2605
2606 <p>A description of each parameter follows:</p></ol>
2607
2608 <h5>wand</h5>
2609 <ol><p>the drawing wand.</p></ol>
2610
2611 <h5>linecap</h5>
2612 <ol><p>linecap style</p></ol>
2613
2614  </div>
2615 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2616 _8c.html" target="source" name="DrawSetStrokeLineJoin">DrawSetStrokeLineJoin</a></h2>
2617 <div class="doc-section">
2618
2619 <p>DrawSetStrokeLineJoin() specifies the shape to be used at the corners of paths (or other vector shapes) when they are stroked. Values of LineJoin are UndefinedJoin, MiterJoin, RoundJoin, and BevelJoin.</p></ol>
2620
2621 <p>The format of the DrawSetStrokeLineJoin method is:</p>
2622
2623 <pre class="code">
2624   void DrawSetStrokeLineJoin(DrawingWand *wand,
2625     const LineJoin linejoin)
2626 </pre>
2627
2628 <p>A description of each parameter follows:</p></ol>
2629
2630 <h5>wand</h5>
2631 <ol><p>the drawing wand.</p></ol>
2632
2633 <h5>linejoin</h5>
2634 <ol><p>line join style</p></ol>
2635
2636  </div>
2637 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2638 _8c.html" target="source" name="DrawSetStrokeMiterLimit">DrawSetStrokeMiterLimit</a></h2>
2639 <div class="doc-section">
2640
2641 <p>DrawSetStrokeMiterLimit() specifies the miter limit. When two line segments meet at a sharp angle and miter joins have been specified for 'lineJoin', it is possible for the miter to extend far beyond the thickness of the line stroking the path. The miterLimit' imposes a limit on the ratio of the miter length to the 'lineWidth'.</p></ol>
2642
2643 <p>The format of the DrawSetStrokeMiterLimit method is:</p>
2644
2645 <pre class="code">
2646   void DrawSetStrokeMiterLimit(DrawingWand *wand,
2647     const size_t miterlimit)
2648 </pre>
2649
2650 <p>A description of each parameter follows:</p></ol>
2651
2652 <h5>wand</h5>
2653 <ol><p>the drawing wand.</p></ol>
2654
2655 <h5>miterlimit</h5>
2656 <ol><p>miter limit</p></ol>
2657
2658  </div>
2659 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2660 _8c.html" target="source" name="DrawSetStrokeOpacity">DrawSetStrokeOpacity</a></h2>
2661 <div class="doc-section">
2662
2663 <p>DrawSetStrokeOpacity() specifies the opacity of stroked object outlines.</p></ol>
2664
2665 <p>The format of the DrawSetStrokeOpacity method is:</p>
2666
2667 <pre class="code">
2668   void DrawSetStrokeOpacity(DrawingWand *wand,
2669     const double stroke_opacity)
2670 </pre>
2671
2672 <p>A description of each parameter follows:</p></ol>
2673
2674 <h5>wand</h5>
2675 <ol><p>the drawing wand.</p></ol>
2676
2677 <h5>stroke_opacity</h5>
2678 <ol><p>stroke opacity.  The value 1.0 is opaque.</p></ol>
2679
2680  </div>
2681 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2682 _8c.html" target="source" name="DrawSetStrokeWidth">DrawSetStrokeWidth</a></h2>
2683 <div class="doc-section">
2684
2685 <p>DrawSetStrokeWidth() sets the width of the stroke used to draw object outlines.</p></ol>
2686
2687 <p>The format of the DrawSetStrokeWidth method is:</p>
2688
2689 <pre class="code">
2690   void DrawSetStrokeWidth(DrawingWand *wand,
2691     const double stroke_width)
2692 </pre>
2693
2694 <p>A description of each parameter follows:</p></ol>
2695
2696 <h5>wand</h5>
2697 <ol><p>the drawing wand.</p></ol>
2698
2699 <h5>stroke_width</h5>
2700 <ol><p>stroke width</p></ol>
2701
2702  </div>
2703 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2704 _8c.html" target="source" name="DrawSetTextAlignment">DrawSetTextAlignment</a></h2>
2705 <div class="doc-section">
2706
2707 <p>DrawSetTextAlignment() specifies a text alignment to be applied when annotating with text.</p></ol>
2708
2709 <p>The format of the DrawSetTextAlignment method is:</p>
2710
2711 <pre class="code">
2712   void DrawSetTextAlignment(DrawingWand *wand,const AlignType alignment)
2713 </pre>
2714
2715 <p>A description of each parameter follows:</p></ol>
2716
2717 <h5>wand</h5>
2718 <ol><p>the drawing wand.</p></ol>
2719
2720 <h5>alignment</h5>
2721 <ol><p>text alignment.  One of UndefinedAlign, LeftAlign, CenterAlign, or RightAlign.</p></ol>
2722
2723  </div>
2724 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2725 _8c.html" target="source" name="DrawSetTextAntialias">DrawSetTextAntialias</a></h2>
2726 <div class="doc-section">
2727
2728 <p>DrawSetTextAntialias() controls whether text is antialiased.  Text is antialiased by default.</p></ol>
2729
2730 <p>The format of the DrawSetTextAntialias method is:</p>
2731
2732 <pre class="code">
2733   void DrawSetTextAntialias(DrawingWand *wand,
2734     const MagickBooleanType text_antialias)
2735 </pre>
2736
2737 <p>A description of each parameter follows:</p></ol>
2738
2739 <h5>wand</h5>
2740 <ol><p>the drawing wand.</p></ol>
2741
2742 <h5>text_antialias</h5>
2743 <ol><p>antialias boolean. Set to false (0) to disable antialiasing.</p></ol>
2744
2745  </div>
2746 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2747 _8c.html" target="source" name="DrawSetTextDecoration">DrawSetTextDecoration</a></h2>
2748 <div class="doc-section">
2749
2750 <p>DrawSetTextDecoration() specifies a decoration to be applied when annotating with text.</p></ol>
2751
2752 <p>The format of the DrawSetTextDecoration method is:</p>
2753
2754 <pre class="code">
2755   void DrawSetTextDecoration(DrawingWand *wand,
2756     const DecorationType decoration)
2757 </pre>
2758
2759 <p>A description of each parameter follows:</p></ol>
2760
2761 <h5>wand</h5>
2762 <ol><p>the drawing wand.</p></ol>
2763
2764 <h5>decoration</h5>
2765 <ol><p>text decoration.  One of NoDecoration, UnderlineDecoration, OverlineDecoration, or LineThroughDecoration</p></ol>
2766
2767  </div>
2768 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2769 _8c.html" target="source" name="DrawSetTextEncoding">DrawSetTextEncoding</a></h2>
2770 <div class="doc-section">
2771
2772 <p>DrawSetTextEncoding() specifies the code set to use for text annotations. The only character encoding which may be specified at this time is "UTF-8" for representing Unicode as a sequence of bytes. Specify an empty string to set text encoding to the system's default. Successful text annotation using Unicode may require fonts designed to support Unicode.</p></ol>
2773
2774 <p>The format of the DrawSetTextEncoding method is:</p>
2775
2776 <pre class="code">
2777   void DrawSetTextEncoding(DrawingWand *wand,const char *encoding)
2778 </pre>
2779
2780 <p>A description of each parameter follows:</p></ol>
2781
2782 <h5>wand</h5>
2783 <ol><p>the drawing wand.</p></ol>
2784
2785 <h5>encoding</h5>
2786 <ol><p>character string specifying text encoding</p></ol>
2787
2788  </div>
2789 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2790 _8c.html" target="source" name="DrawSetTextKerning">DrawSetTextKerning</a></h2>
2791 <div class="doc-section">
2792
2793 <p>DrawSetTextKerning() sets the spacing between characters in text.</p></ol>
2794
2795 <p>The format of the DrawSetTextKerning method is:</p>
2796
2797 <pre class="code">
2798   void DrawSetTextKerning(DrawingWand *wand,const double kerning)
2799 </pre>
2800
2801 <p>A description of each parameter follows:</p></ol>
2802
2803 <h5>wand</h5>
2804 <ol><p>the drawing wand.</p></ol>
2805
2806 <h5>kerning</h5>
2807 <ol><p>text kerning</p></ol>
2808
2809  </div>
2810 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2811 _8c.html" target="source" name="DrawSetTextInterwordSpacing">DrawSetTextInterwordSpacing</a></h2>
2812 <div class="doc-section">
2813
2814 <p>DrawSetTextInterwordSpacing() sets the spacing between line in text.</p></ol>
2815
2816 <p>The format of the DrawSetInterwordSpacing method is:</p>
2817
2818 <pre class="code">
2819   void DrawSetTextInterwordSpacing(DrawingWand *wand,
2820     const double interline_spacing)
2821 </pre>
2822
2823 <p>A description of each parameter follows:</p></ol>
2824
2825 <h5>wand</h5>
2826 <ol><p>the drawing wand.</p></ol>
2827
2828 <h5>interline_spacing</h5>
2829 <ol><p>text line spacing</p></ol>
2830
2831  </div>
2832 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2833 _8c.html" target="source" name="DrawSetTextInterwordSpacing">DrawSetTextInterwordSpacing</a></h2>
2834 <div class="doc-section">
2835
2836 <p>DrawSetTextInterwordSpacing() sets the spacing between words in text.</p></ol>
2837
2838 <p>The format of the DrawSetInterwordSpacing method is:</p>
2839
2840 <pre class="code">
2841   void DrawSetTextInterwordSpacing(DrawingWand *wand,
2842     const double interword_spacing)
2843 </pre>
2844
2845 <p>A description of each parameter follows:</p></ol>
2846
2847 <h5>wand</h5>
2848 <ol><p>the drawing wand.</p></ol>
2849
2850 <h5>interword_spacing</h5>
2851 <ol><p>text word spacing</p></ol>
2852
2853  </div>
2854 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2855 _8c.html" target="source" name="DrawSetTextUnderColor">DrawSetTextUnderColor</a></h2>
2856 <div class="doc-section">
2857
2858 <p>DrawSetTextUnderColor() specifies the color of a background rectangle to place under text annotations.</p></ol>
2859
2860 <p>The format of the DrawSetTextUnderColor method is:</p>
2861
2862 <pre class="code">
2863   void DrawSetTextUnderColor(DrawingWand *wand,
2864     const PixelWand *under_wand)
2865 </pre>
2866
2867 <p>A description of each parameter follows:</p></ol>
2868
2869 <h5>wand</h5>
2870 <ol><p>the drawing wand.</p></ol>
2871
2872 <h5>under_wand</h5>
2873 <ol><p>text under wand.</p></ol>
2874
2875  </div>
2876 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2877 _8c.html" target="source" name="DrawSetVectorGraphics">DrawSetVectorGraphics</a></h2>
2878 <div class="doc-section">
2879
2880 <p>DrawSetVectorGraphics() sets the vector graphics associated with the specified wand.  Use this method with DrawGetVectorGraphics() as a method to persist the vector graphics state.</p></ol>
2881
2882 <p>The format of the DrawSetVectorGraphics method is:</p>
2883
2884 <pre class="code">
2885   MagickBooleanType DrawSetVectorGraphics(DrawingWand *wand,
2886     const char *xml)
2887 </pre>
2888
2889 <p>A description of each parameter follows:</p></ol>
2890
2891 <h5>wand</h5>
2892 <ol><p>the drawing wand.</p></ol>
2893
2894 <h5>xml</h5>
2895 <ol><p>the drawing wand XML.</p></ol>
2896
2897  </div>
2898 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2899 _8c.html" target="source" name="DrawSkewX">DrawSkewX</a></h2>
2900 <div class="doc-section">
2901
2902 <p>DrawSkewX() skews the current coordinate system in the horizontal direction.</p></ol>
2903
2904 <p>The format of the DrawSkewX method is:</p>
2905
2906 <pre class="code">
2907   void DrawSkewX(DrawingWand *wand,const double degrees)
2908 </pre>
2909
2910 <p>A description of each parameter follows:</p></ol>
2911
2912 <h5>wand</h5>
2913 <ol><p>the drawing wand.</p></ol>
2914
2915 <h5>degrees</h5>
2916 <ol><p>number of degrees to skew the coordinates</p></ol>
2917
2918  </div>
2919 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2920 _8c.html" target="source" name="DrawSkewY">DrawSkewY</a></h2>
2921 <div class="doc-section">
2922
2923 <p>DrawSkewY() skews the current coordinate system in the vertical direction.</p></ol>
2924
2925 <p>The format of the DrawSkewY method is:</p>
2926
2927 <pre class="code">
2928   void DrawSkewY(DrawingWand *wand,const double degrees)
2929 </pre>
2930
2931 <p>A description of each parameter follows:</p></ol>
2932
2933 <h5>wand</h5>
2934 <ol><p>the drawing wand.</p></ol>
2935
2936 <h5>degrees</h5>
2937 <ol><p>number of degrees to skew the coordinates</p></ol>
2938
2939  </div>
2940 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2941 _8c.html" target="source" name="DrawTranslate">DrawTranslate</a></h2>
2942 <div class="doc-section">
2943
2944 <p>DrawTranslate() applies a translation to the current coordinate system which moves the coordinate system origin to the specified coordinate.</p></ol>
2945
2946 <p>The format of the DrawTranslate method is:</p>
2947
2948 <pre class="code">
2949   void DrawTranslate(DrawingWand *wand,const double x,
2950     const double y)
2951 </pre>
2952
2953 <p>A description of each parameter follows:</p></ol>
2954
2955 <h5>wand</h5>
2956 <ol><p>the drawing wand.</p></ol>
2957
2958 <h5>x</h5>
2959 <ol><p>new x ordinate for coordinate system origin</p></ol>
2960
2961 <h5>y</h5>
2962 <ol><p>new y ordinate for coordinate system origin</p></ol>
2963
2964  </div>
2965 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2966 _8c.html" target="source" name="DrawSetViewbox">DrawSetViewbox</a></h2>
2967 <div class="doc-section">
2968
2969 <p>DrawSetViewbox() sets the overall canvas size to be recorded with the drawing vector data.  Usually this will be specified using the same size as the canvas image.  When the vector data is saved to SVG or MVG formats, the viewbox is use to specify the size of the canvas image that a viewer will render the vector data on.</p></ol>
2970
2971 <p>The format of the DrawSetViewbox method is:</p>
2972
2973 <pre class="code">
2974   void DrawSetViewbox(DrawingWand *wand,size_t x1,
2975     size_t y1,size_t x2,size_t y2)
2976 </pre>
2977
2978 <p>A description of each parameter follows:</p></ol>
2979
2980 <h5>wand</h5>
2981 <ol><p>the drawing wand.</p></ol>
2982
2983 <h5>x1</h5>
2984 <ol><p>left x ordinate</p></ol>
2985
2986 <h5>y1</h5>
2987 <ol><p>top y ordinate</p></ol>
2988
2989 <h5>x2</h5>
2990 <ol><p>right x ordinate</p></ol>
2991
2992 <h5>y2</h5>
2993 <ol><p>bottom y ordinate</p></ol>
2994
2995  </div>
2996 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2997 _8c.html" target="source" name="IsDrawingWand">IsDrawingWand</a></h2>
2998 <div class="doc-section">
2999
3000 <p>IsDrawingWand() returns MagickTrue if the wand is verified as a drawing wand.</p></ol>
3001
3002 <p>The format of the IsDrawingWand method is:</p>
3003
3004 <pre class="code">
3005   MagickBooleanType IsDrawingWand(const DrawingWand *wand)
3006 </pre>
3007
3008 <p>A description of each parameter follows:</p></ol>
3009
3010 <h5>wand</h5>
3011 <ol><p>the drawing wand.</p></ol>
3012
3013  </div>
3014 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
3015 _8c.html" target="source" name="NewDrawingWand">NewDrawingWand</a></h2>
3016 <div class="doc-section">
3017
3018 <p>NewDrawingWand() returns a drawing wand required for all other methods in the API.</p></ol>
3019
3020 <p>The format of the NewDrawingWand method is:</p>
3021
3022 <pre class="code">
3023   DrawingWand NewDrawingWand(void)
3024 </pre>
3025
3026  </div>
3027 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
3028 _8c.html" target="source" name="PeekDrawingWand">PeekDrawingWand</a></h2>
3029 <div class="doc-section">
3030
3031 <p>PeekDrawingWand() returns the current drawing wand.</p></ol>
3032
3033 <p>The format of the PeekDrawingWand method is:</p>
3034
3035 <pre class="code">
3036   DrawInfo *PeekDrawingWand(const DrawingWand *wand)
3037 </pre>
3038
3039 <p>A description of each parameter follows:</p></ol>
3040
3041 <h5>wand</h5>
3042 <ol><p>the drawing wand.</p></ol>
3043
3044  </div>
3045 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
3046 _8c.html" target="source" name="PopDrawingWand">PopDrawingWand</a></h2>
3047 <div class="doc-section">
3048
3049 <p>PopDrawingWand() destroys the current drawing wand and returns to the previously pushed drawing wand. Multiple drawing wands may exist. It is an error to attempt to pop more drawing wands than have been pushed, and it is proper form to pop all drawing wands which have been pushed.</p></ol>
3050
3051 <p>The format of the PopDrawingWand method is:</p>
3052
3053 <pre class="code">
3054   MagickBooleanType PopDrawingWand(DrawingWand *wand)
3055 </pre>
3056
3057 <p>A description of each parameter follows:</p></ol>
3058
3059 <h5>wand</h5>
3060 <ol><p>the drawing wand.</p></ol>
3061
3062  </div>
3063 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
3064 _8c.html" target="source" name="PushDrawingWand">PushDrawingWand</a></h2>
3065 <div class="doc-section">
3066
3067 <p>PushDrawingWand() clones the current drawing wand to create a new drawing wand.  The original drawing wand(s) may be returned to by invoking PopDrawingWand().  The drawing wands are stored on a drawing wand stack. For every Pop there must have already been an equivalent Push.</p></ol>
3068
3069 <p>The format of the PushDrawingWand method is:</p>
3070
3071 <pre class="code">
3072   MagickBooleanType PushDrawingWand(DrawingWand *wand)
3073 </pre>
3074
3075 <p>A description of each parameter follows:</p></ol>
3076
3077 <h5>wand</h5>
3078 <ol><p>the drawing wand.</p></ol>
3079
3080  </div>
3081 \r
3082 </div>\r
3083 \r
3084 <div id="linkbar">\r
3085     <span id="linkbar-west">&nbsp;</span>\r
3086     <span id="linkbar-center">\r
3087       <a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> &bull;\r
3088       <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>\r
3089     </span>\r
3090     <span id="linkbar-east">&nbsp;</span>\r
3091   </div>\r
3092   <div class="footer">\r
3093     <span id="footer-west">&copy; 1999-2010 ImageMagick Studio LLC</span>\r
3094     <span id="footer-east"> <a href="../http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>\r
3095   </div>\r
3096   <div style="clear: both; margin: 0; width: 100%; "></div>\r
3097   <script type="text/javascript">\r
3098     var _gaq = _gaq || [];\r
3099     _gaq.push(['_setAccount', 'UA-17690367-1']);\r
3100     _gaq.push(['_trackPageview']);\r
3101 \r
3102     (function() {\r
3103       var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;\r
3104       ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';\r
3105       var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);\r
3106     })();\r
3107   </script>\r
3108 </body>\r
3109 </html>\r