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