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