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