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