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