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