1
2
3
4
5<!doctype html>
6<html lang="en">
7<head>
8  <meta charset="utf-8"  />
9  <meta name="viewport" content="width=device-width, initial-scale=1"  />
10  <title>ImageMagick - MagickWand, C API: Drawing Wand Methods</title>
11  <meta name="application-name" content="ImageMagick" />
12  <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
13  <meta name="application-url" content="https://imagemagick.org" />
14  <meta name="generator" content="PHP" />
15  <meta name="keywords" content="magickwc, api:, drawing, wmethods, image processing software" />
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-2020 ImageMagick Studio LLC" />
23  <meta name="distribution" content="Global" />
24  <meta name="magick-serial" content="P131-S030410-R485315270133-P82224-A6668-G1245-1" />
25  <meta property='og:url' content='../../' />
26  <meta property='og:title' content='ImageMagick' />
27  <meta property='og:image' content='../../../images/logo.png' />
28  <meta property='og:type' content='website' />
29  <meta property='og:site_name' content='ImageMagick' />
30  <meta property='og:description' content="Create, Edit, Compose, or Convert Digital Images" />
31  <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" />
32  <link href="drawing-wand.html" rel="canonical" />
33  <link href="../../../images/wand.png" rel="icon" />
34  <link href="../../../images/wand.ico" rel="shortcut icon" />
35  <link href="../../assets/magick.css" rel="stylesheet" />
36</head>
37<body>
38  <nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
39  <div class="container-fluid">
40    <a class="navbar-brand" href="../../"><img class="d-block" id="icon" alt="ImageMagick" width="32" height="32" src="../../../images/wand.ico"/></a>
41    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#magick-navbars" aria-controls="magick-navbars" aria-expanded="false" aria-label="Toggle navigation">
42      <span class="navbar-toggler-icon"></span>
43    </button>
44
45    <div class="collapse navbar-collapse" id="magick-navbars">
46      <ul class="navbar-nav me-auto mb-2 mb-md-0">
47        <li class="nav-item">
48          <a class="nav-link " href="../../www/index.html">Home</a>
49        </li>
50        <li class="nav-item">
51          <a class="nav-link " href="../../www/download.html">Download</a>
52        </li>
53        <li class="nav-item">
54          <a class="nav-link " href="../../www/command-line-tools.html">Tools</a>
55        </li>
56        <li class="nav-item">
57          <a class="nav-link " href="../../www/command-line-processing.html">CLI</a>
58        </li>
59        <li class="nav-item">
60          <a class="nav-link " href="../../www/develop.html">Develop</a>
61        </li>
62        <li class="nav-item">
63          <a class="nav-link" target="_blank" href="https://github.com/ImageMagick/ImageMagick/discussions">Community</a>
64        </li>
65        <li class="nav-item">
66          <iframe src="https://github.com/sponsors/ImageMagick/button" title="Sponsor ImageMagick" height="35" width="107" style="border: 0;"></iframe>
67        </li>
68      </ul>
69      <form class="d-flex form-inline" action="https://imagemagick.org/script/search.php">
70        <input class="form-control me-2" type="text" name="q" placeholder="Search" aria-label="Search">
71        <button class="btn btn-outline-success" type="submit" name="sa">Search</button>
72      </form>
73    </div>
74  </div>
75  </nav>
76
77  <div class="container">
78    <script async="async" src="https://localhost/pagead/js/adsbygoogle.js"></script>
79    <ins class="adsbygoogle"
80      style="display:block"
81      data-ad-client="ca-pub-3129977114552745"
82      data-ad-slot="6345125851"
83      data-full-width-responsive="true"
84      data-ad-format="horizontal"></ins>
85    <script>
86      (adsbygoogle = window.adsbygoogle || []).push({});
87    </script>
88
89  </div>
90
91  <main class="container">
92  <div class="magick-template">
93<div class="magick-header">
94<p class="text-center"><a href="drawing-wand.html#ClearDrawingWand">ClearDrawingWand</a> &#8226; <a href="drawing-wand.html#CloneDrawingWand">CloneDrawingWand</a> &#8226; <a href="drawing-wand.html#DestroyDrawingWand">DestroyDrawingWand</a> &#8226; <a href="drawing-wand.html#DrawAffine">DrawAffine</a> &#8226; <a href="drawing-wand.html#DrawAlpha">DrawAlpha</a> &#8226; <a href="drawing-wand.html#DrawAnnotation">DrawAnnotation</a> &#8226; <a href="drawing-wand.html#DrawArc">DrawArc</a> &#8226; <a href="drawing-wand.html#DrawBezier">DrawBezier</a> &#8226; <a href="drawing-wand.html#DrawCircle">DrawCircle</a> &#8226; <a href="drawing-wand.html#DrawClearException">DrawClearException</a> &#8226; <a href="drawing-wand.html#DrawCloneExceptionInfo">DrawCloneExceptionInfo</a> &#8226; <a href="drawing-wand.html#DrawColor">DrawColor</a> &#8226; <a href="drawing-wand.html#DrawComposite">DrawComposite</a> &#8226; <a href="drawing-wand.html#DrawComment">DrawComment</a> &#8226; <a href="drawing-wand.html#DrawEllipse">DrawEllipse</a> &#8226; <a href="drawing-wand.html#DrawGetBorderColor">DrawGetBorderColor</a> &#8226; <a href="drawing-wand.html#DrawGetClipPath">DrawGetClipPath</a> &#8226; <a href="drawing-wand.html#DrawGetClipRule">DrawGetClipRule</a> &#8226; <a href="drawing-wand.html#DrawGetClipUnits">DrawGetClipUnits</a> &#8226; <a href="drawing-wand.html#DrawGetDensity">DrawGetDensity</a> &#8226; <a href="drawing-wand.html#DrawGetException">DrawGetException</a> &#8226; <a href="drawing-wand.html#DrawGetExceptionType">DrawGetExceptionType</a> &#8226; <a href="drawing-wand.html#DrawGetFillColor">DrawGetFillColor</a> &#8226; <a href="drawing-wand.html#DrawGetFillOpacity">DrawGetFillOpacity</a> &#8226; <a href="drawing-wand.html#DrawGetFillRule">DrawGetFillRule</a> &#8226; <a href="drawing-wand.html#DrawGetFont">DrawGetFont</a> &#8226; <a href="drawing-wand.html#DrawGetFontFamily">DrawGetFontFamily</a> &#8226; <a href="drawing-wand.html#DrawGetFontResolution">DrawGetFontResolution</a> &#8226; <a href="drawing-wand.html#DrawGetFontSize">DrawGetFontSize</a> &#8226; <a href="drawing-wand.html#DrawGetFontStretch">DrawGetFontStretch</a> &#8226; <a href="drawing-wand.html#DrawGetFontStyle">DrawGetFontStyle</a> &#8226; <a href="drawing-wand.html#DrawGetFontWeight">DrawGetFontWeight</a> &#8226; <a href="drawing-wand.html#DrawGetGravity">DrawGetGravity</a> &#8226; <a href="drawing-wand.html#DrawGetOpacity">DrawGetOpacity</a> &#8226; <a href="drawing-wand.html#DrawGetStrokeAntialias">DrawGetStrokeAntialias</a> &#8226; <a href="drawing-wand.html#DrawGetStrokeColor">DrawGetStrokeColor</a> &#8226; <a href="drawing-wand.html#DrawGetStrokeDashArray">DrawGetStrokeDashArray</a> &#8226; <a href="drawing-wand.html#DrawGetStrokeDashOffset">DrawGetStrokeDashOffset</a> &#8226; <a href="drawing-wand.html#DrawGetStrokeLineCap">DrawGetStrokeLineCap</a> &#8226; <a href="drawing-wand.html#DrawGetStrokeLineJoin">DrawGetStrokeLineJoin</a> &#8226; <a href="drawing-wand.html#DrawGetStrokeMiterLimit">DrawGetStrokeMiterLimit</a> &#8226; <a href="drawing-wand.html#DrawGetStrokeOpacity">DrawGetStrokeOpacity</a> &#8226; <a href="drawing-wand.html#DrawGetStrokeWidth">DrawGetStrokeWidth</a> &#8226; <a href="drawing-wand.html#DrawGetTextAlignment">DrawGetTextAlignment</a> &#8226; <a href="drawing-wand.html#DrawGetTextAntialias">DrawGetTextAntialias</a> &#8226; <a href="drawing-wand.html#DrawGetTextDecoration">DrawGetTextDecoration</a> &#8226; <a href="drawing-wand.html#DrawGetTextDirection">DrawGetTextDirection</a> &#8226; <a href="drawing-wand.html#DrawGetTextEncoding">DrawGetTextEncoding</a> &#8226; <a href="drawing-wand.html#DrawGetTextKerning">DrawGetTextKerning</a> &#8226; <a href="drawing-wand.html#DrawGetTextInterlineSpacing">DrawGetTextInterlineSpacing</a> &#8226; <a href="drawing-wand.html#DrawGetTextInterwordSpacing">DrawGetTextInterwordSpacing</a> &#8226; <a href="drawing-wand.html#DrawGetTypeMetrics">DrawGetTypeMetrics</a> &#8226; <a href="drawing-wand.html#DrawGetVectorGraphics">DrawGetVectorGraphics</a> &#8226; <a href="drawing-wand.html#DrawGetTextUnderColor">DrawGetTextUnderColor</a> &#8226; <a href="drawing-wand.html#DrawLine">DrawLine</a> &#8226; <a href="drawing-wand.html#DrawPathClose">DrawPathClose</a> &#8226; <a href="drawing-wand.html#DrawPathCurveToAbsolute">DrawPathCurveToAbsolute</a> &#8226; <a href="drawing-wand.html#DrawPathCurveToRelative">DrawPathCurveToRelative</a> &#8226; <a href="drawing-wand.html#DrawPathCurveToQuadraticBezierAbsolute">DrawPathCurveToQuadraticBezierAbsolute</a> &#8226; <a href="drawing-wand.html#DrawPathCurveToQuadraticBezierRelative">DrawPathCurveToQuadraticBezierRelative</a> &#8226; <a href="drawing-wand.html#DrawPathCurveToQuadraticBezierSmoothAbsolute">DrawPathCurveToQuadraticBezierSmoothAbsolute</a> &#8226; <a href="drawing-wand.html#DrawPathCurveToQuadraticBezierSmoothRelative">DrawPathCurveToQuadraticBezierSmoothRelative</a> &#8226; <a href="drawing-wand.html#DrawPathCurveToSmoothAbsolute">DrawPathCurveToSmoothAbsolute</a> &#8226; <a href="drawing-wand.html#DrawPathCurveToSmoothRelative">DrawPathCurveToSmoothRelative</a> &#8226; <a href="drawing-wand.html#DrawPathEllipticArcAbsolute">DrawPathEllipticArcAbsolute</a> &#8226; <a href="drawing-wand.html#DrawPathEllipticArcRelative">DrawPathEllipticArcRelative</a> &#8226; <a href="drawing-wand.html#DrawPathFinish">DrawPathFinish</a> &#8226; <a href="drawing-wand.html#DrawPathLineToAbsolute">DrawPathLineToAbsolute</a> &#8226; <a href="drawing-wand.html#DrawPathLineToRelative">DrawPathLineToRelative</a> &#8226; <a href="drawing-wand.html#DrawPathLineToHorizontalAbsolute">DrawPathLineToHorizontalAbsolute</a> &#8226; <a href="drawing-wand.html#DrawPathLineToHorizontalRelative">DrawPathLineToHorizontalRelative</a> &#8226; <a href="drawing-wand.html#DrawPathLineToVerticalAbsolute">DrawPathLineToVerticalAbsolute</a> &#8226; <a href="drawing-wand.html#DrawPathLineToVerticalRelative">DrawPathLineToVerticalRelative</a> &#8226; <a href="drawing-wand.html#DrawPathMoveToAbsolute">DrawPathMoveToAbsolute</a> &#8226; <a href="drawing-wand.html#DrawPathMoveToRelative">DrawPathMoveToRelative</a> &#8226; <a href="drawing-wand.html#DrawPathStart">DrawPathStart</a> &#8226; <a href="drawing-wand.html#DrawPoint">DrawPoint</a> &#8226; <a href="drawing-wand.html#DrawPolygon">DrawPolygon</a> &#8226; <a href="drawing-wand.html#DrawPolyline">DrawPolyline</a> &#8226; <a href="drawing-wand.html#DrawPopClipPath">DrawPopClipPath</a> &#8226; <a href="drawing-wand.html#DrawPopDefs">DrawPopDefs</a> &#8226; <a href="drawing-wand.html#DrawPopPattern">DrawPopPattern</a> &#8226; <a href="drawing-wand.html#DrawPushClipPath">DrawPushClipPath</a> &#8226; <a href="drawing-wand.html#DrawPushDefs">DrawPushDefs</a> &#8226; <a href="drawing-wand.html#DrawPushPattern">DrawPushPattern</a> &#8226; <a href="drawing-wand.html#DrawRectangle">DrawRectangle</a> &#8226; <a href="drawing-wand.html#DrawResetVectorGraphics">DrawResetVectorGraphics</a> &#8226; <a href="drawing-wand.html#DrawRotate">DrawRotate</a> &#8226; <a href="drawing-wand.html#DrawRoundRectangle">DrawRoundRectangle</a> &#8226; <a href="drawing-wand.html#DrawScale">DrawScale</a> &#8226; <a href="drawing-wand.html#DrawSetBorderColor">DrawSetBorderColor</a> &#8226; <a href="drawing-wand.html#DrawSetClipPath">DrawSetClipPath</a> &#8226; <a href="drawing-wand.html#DrawSetClipRule">DrawSetClipRule</a> &#8226; <a href="drawing-wand.html#DrawSetClipUnits">DrawSetClipUnits</a> &#8226; <a href="drawing-wand.html#DrawSetDensity">DrawSetDensity</a> &#8226; <a href="drawing-wand.html#DrawSetFillColor">DrawSetFillColor</a> &#8226; <a href="drawing-wand.html#DrawSetFillOpacity">DrawSetFillOpacity</a> &#8226; <a href="drawing-wand.html#DrawSetFontResolution">DrawSetFontResolution</a> &#8226; <a href="drawing-wand.html#DrawSetOpacity">DrawSetOpacity</a> &#8226; <a href="drawing-wand.html#DrawSetFillPatternURL">DrawSetFillPatternURL</a> &#8226; <a href="drawing-wand.html#DrawSetFillRule">DrawSetFillRule</a> &#8226; <a href="drawing-wand.html#DrawSetFont">DrawSetFont</a> &#8226; <a href="drawing-wand.html#DrawSetFontFamily">DrawSetFontFamily</a> &#8226; <a href="drawing-wand.html#DrawSetFontSize">DrawSetFontSize</a> &#8226; <a href="drawing-wand.html#DrawSetFontStretch">DrawSetFontStretch</a> &#8226; <a href="drawing-wand.html#DrawSetFontStyle">DrawSetFontStyle</a> &#8226; <a href="drawing-wand.html#DrawSetFontWeight">DrawSetFontWeight</a> &#8226; <a href="drawing-wand.html#DrawSetGravity">DrawSetGravity</a> &#8226; <a href="drawing-wand.html#DrawSetStrokeColor">DrawSetStrokeColor</a> &#8226; <a href="drawing-wand.html#DrawSetStrokePatternURL">DrawSetStrokePatternURL</a> &#8226; <a href="drawing-wand.html#DrawSetStrokeAntialias">DrawSetStrokeAntialias</a> &#8226; <a href="drawing-wand.html#DrawSetStrokeDashArray">DrawSetStrokeDashArray</a> &#8226; <a href="drawing-wand.html#DrawSetStrokeDashOffset">DrawSetStrokeDashOffset</a> &#8226; <a href="drawing-wand.html#DrawSetStrokeLineCap">DrawSetStrokeLineCap</a> &#8226; <a href="drawing-wand.html#DrawSetStrokeLineJoin">DrawSetStrokeLineJoin</a> &#8226; <a href="drawing-wand.html#DrawSetStrokeMiterLimit">DrawSetStrokeMiterLimit</a> &#8226; <a href="drawing-wand.html#DrawSetStrokeOpacity">DrawSetStrokeOpacity</a> &#8226; <a href="drawing-wand.html#DrawSetStrokeWidth">DrawSetStrokeWidth</a> &#8226; <a href="drawing-wand.html#DrawSetTextAlignment">DrawSetTextAlignment</a> &#8226; <a href="drawing-wand.html#DrawSetTextAntialias">DrawSetTextAntialias</a> &#8226; <a href="drawing-wand.html#DrawSetTextDecoration">DrawSetTextDecoration</a> &#8226; <a href="drawing-wand.html#DrawSetTextDirection">DrawSetTextDirection</a> &#8226; <a href="drawing-wand.html#DrawSetTextEncoding">DrawSetTextEncoding</a> &#8226; <a href="drawing-wand.html#DrawSetTextKerning">DrawSetTextKerning</a> &#8226; <a href="drawing-wand.html#DrawSetTextInterlineSpacing">DrawSetTextInterlineSpacing</a> &#8226; <a href="drawing-wand.html#DrawSetTextInterwordSpacing">DrawSetTextInterwordSpacing</a> &#8226; <a href="drawing-wand.html#DrawSetTextUnderColor">DrawSetTextUnderColor</a> &#8226; <a href="drawing-wand.html#DrawSetVectorGraphics">DrawSetVectorGraphics</a> &#8226; <a href="drawing-wand.html#DrawSkewX">DrawSkewX</a> &#8226; <a href="drawing-wand.html#DrawSkewY">DrawSkewY</a> &#8226; <a href="drawing-wand.html#DrawTranslate">DrawTranslate</a> &#8226; <a href="drawing-wand.html#DrawSetViewbox">DrawSetViewbox</a> &#8226; <a href="drawing-wand.html#IsDrawingWand">IsDrawingWand</a> &#8226; <a href="drawing-wand.html#NewDrawingWand">NewDrawingWand</a> &#8226; <a href="drawing-wand.html#PeekDrawingWand">PeekDrawingWand</a> &#8226; <a href="drawing-wand.html#PopDrawingWand">PopDrawingWand</a> &#8226; <a href="drawing-wand.html#PushDrawingWand">PushDrawingWand</a></p>
95
96<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="ClearDrawingWand">ClearDrawingWand</a></h2>
97
98<p>ClearDrawingWand() clears resources associated with the drawing wand.</p>
99
100<p>The format of the ClearDrawingWand method is:</p>
101
102<pre class="text">
103void ClearDrawingWand(DrawingWand *wand)
104</pre>
105
106<p>A description of each parameter follows:</p>
107
108<dd>
109</dd>
110
111<dd> </dd>
112<dl class="dl-horizontal">
113<dt>wand</dt>
114<dd>the drawing wand to clear. </dd>
115
116<dd>  </dd>
117</dl>
118<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="CloneDrawingWand">CloneDrawingWand</a></h2>
119
120<p>CloneDrawingWand() makes an exact copy of the specified wand.</p>
121
122<p>The format of the CloneDrawingWand method is:</p>
123
124<pre class="text">
125DrawingWand *CloneDrawingWand(const DrawingWand *wand)
126</pre>
127
128<p>A description of each parameter follows:</p>
129
130<dd>
131</dd>
132
133<dd> </dd>
134<dl class="dl-horizontal">
135<dt>wand</dt>
136<dd>the magick wand. </dd>
137
138<dd>  </dd>
139</dl>
140<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DestroyDrawingWand">DestroyDrawingWand</a></h2>
141
142<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>
143
144<p>The format of the DestroyDrawingWand method is:</p>
145
146<pre class="text">
147DrawingWand *DestroyDrawingWand(DrawingWand *wand)
148</pre>
149
150<p>A description of each parameter follows:</p>
151
152<dd>
153</dd>
154
155<dd> </dd>
156<dl class="dl-horizontal">
157<dt>wand</dt>
158<dd>the drawing wand to destroy. </dd>
159
160<dd>  </dd>
161</dl>
162<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawAffine">DrawAffine</a></h2>
163
164<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>
165
166<p>The format of the DrawAffine method is:</p>
167
168<pre class="text">
169void DrawAffine(DrawingWand *wand,const AffineMatrix *affine)
170</pre>
171
172<p>A description of each parameter follows:</p>
173
174<dd>
175</dd>
176
177<dd> </dd>
178<dl class="dl-horizontal">
179<dt>wand</dt>
180<dd>Drawing wand </dd>
181
182<dd> </dd>
183<dt>affine</dt>
184<dd>Affine matrix parameters </dd>
185
186<dd>  </dd>
187</dl>
188<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawAlpha">DrawAlpha</a></h2>
189
190<p>DrawAlpha() paints on the image's alpha channel in order to set effected pixels to transparent. The available paint methods are:</p>
191
192<pre class="text">
193    PointMethod: Select the target pixel
194    ReplaceMethod: Select any pixel that matches the target pixel.
195    FloodfillMethod: Select the target pixel and matching neighbors.
196    FillToBorderMethod: Select the target pixel and neighbors not matching
197border color.
198    ResetMethod: Select all pixels.
199</pre>
200
201<p>The format of the DrawAlpha method is:</p>
202
203<pre class="text">
204void DrawAlpha(DrawingWand *wand,const double x,const double y,
205  const PaintMethod paint_method)
206</pre>
207
208<p>A description of each parameter follows:</p>
209
210<dd>
211</dd>
212
213<dd> </dd>
214<dl class="dl-horizontal">
215<dt>wand</dt>
216<dd>the drawing wand. </dd>
217
218<dd> </dd>
219<dt>x</dt>
220<dd>x ordinate </dd>
221
222<dd> </dd>
223<dt>y</dt>
224<dd>y ordinate </dd>
225
226<dd> </dd>
227<dt>paint_method</dt>
228<dd>paint method. </dd>
229
230<dd>  </dd>
231</dl>
232<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawAnnotation">DrawAnnotation</a></h2>
233
234<p>DrawAnnotation() draws text on the image.</p>
235
236<p>The format of the DrawAnnotation method is:</p>
237
238<pre class="text">
239void DrawAnnotation(DrawingWand *wand,const double x,
240  const double y,const unsigned char *text)
241</pre>
242
243<p>A description of each parameter follows:</p>
244
245<dd>
246</dd>
247
248<dd> </dd>
249<dl class="dl-horizontal">
250<dt>wand</dt>
251<dd>the drawing wand. </dd>
252
253<dd> </dd>
254<dt>x</dt>
255<dd>x ordinate to left of text </dd>
256
257<dd> </dd>
258<dt>y</dt>
259<dd>y ordinate to text baseline </dd>
260
261<dd> </dd>
262<dt>text</dt>
263<dd>text to draw </dd>
264
265<dd>  </dd>
266</dl>
267<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawArc">DrawArc</a></h2>
268
269<p>DrawArc() draws an arc falling within a specified bounding rectangle on the image.</p>
270
271<p>The format of the DrawArc method is:</p>
272
273<pre class="text">
274void DrawArc(DrawingWand *wand,const double sx,const double sy,
275  const double ex,const double ey,const double sd,const double ed)
276</pre>
277
278<p>A description of each parameter follows:</p>
279
280<dd>
281</dd>
282
283<dd> </dd>
284<dl class="dl-horizontal">
285<dt>wand</dt>
286<dd>the drawing wand. </dd>
287
288<dd> </dd>
289<dt>sx</dt>
290<dd>starting x ordinate of bounding rectangle </dd>
291
292<dd> </dd>
293<dt>sy</dt>
294<dd>starting y ordinate of bounding rectangle </dd>
295
296<dd> </dd>
297<dt>ex</dt>
298<dd>ending x ordinate of bounding rectangle </dd>
299
300<dd> </dd>
301<dt>ey</dt>
302<dd>ending y ordinate of bounding rectangle </dd>
303
304<dd> </dd>
305<dt>sd</dt>
306<dd>starting degrees of rotation </dd>
307
308<dd> </dd>
309<dt>ed</dt>
310<dd>ending degrees of rotation </dd>
311
312<dd>  </dd>
313</dl>
314<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawBezier">DrawBezier</a></h2>
315
316<p>DrawBezier() draws a bezier curve through a set of points on the image.</p>
317
318<p>The format of the DrawBezier method is:</p>
319
320<pre class="text">
321void DrawBezier(DrawingWand *wand,
322  const size_t number_coordinates,const PointInfo *coordinates)
323</pre>
324
325<p>A description of each parameter follows:</p>
326
327<dd>
328</dd>
329
330<dd> </dd>
331<dl class="dl-horizontal">
332<dt>wand</dt>
333<dd>the drawing wand. </dd>
334
335<dd> </dd>
336<dt>number_coordinates</dt>
337<dd>number of coordinates </dd>
338
339<dd> </dd>
340<dt>coordinates</dt>
341<dd>coordinates </dd>
342
343<dd>  </dd>
344</dl>
345<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawCircle">DrawCircle</a></h2>
346
347<p>DrawCircle() draws a circle on the image.</p>
348
349<p>The format of the DrawCircle method is:</p>
350
351<pre class="text">
352void DrawCircle(DrawingWand *wand,const double ox,
353  const double oy,const double px, const double py)
354</pre>
355
356<p>A description of each parameter follows:</p>
357
358<dd>
359</dd>
360
361<dd> </dd>
362<dl class="dl-horizontal">
363<dt>wand</dt>
364<dd>the drawing wand. </dd>
365
366<dd> </dd>
367<dt>ox</dt>
368<dd>origin x ordinate </dd>
369
370<dd> </dd>
371<dt>oy</dt>
372<dd>origin y ordinate </dd>
373
374<dd> </dd>
375<dt>px</dt>
376<dd>perimeter x ordinate </dd>
377
378<dd> </dd>
379<dt>py</dt>
380<dd>perimeter y ordinate </dd>
381
382<dd>  </dd>
383</dl>
384<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawClearException">DrawClearException</a></h2>
385
386<p>DrawClearException() clear any exceptions associated with the wand.</p>
387
388<p>The format of the DrawClearException method is:</p>
389
390<pre class="text">
391MagickBooleanType DrawClearException(DrawWand *wand)
392</pre>
393
394<p>A description of each parameter follows:</p>
395
396<dd>
397</dd>
398
399<dd> </dd>
400<dl class="dl-horizontal">
401<dt>wand</dt>
402<dd>the drawing wand. </dd>
403
404<dd>  </dd>
405</dl>
406<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawCloneExceptionInfo">DrawCloneExceptionInfo</a></h2>
407
408<p>DrawCloneExceptionInfo() clones the ExceptionInfo structure within the wand.</p>
409
410<p>The format of the DrawCloneExceptionInfo method is:</p>
411
412<pre class="text">
413ExceptionInfo *DrawCloneExceptionInfo(DrawWand *wand)
414</pre>
415
416<p>A description of each parameter follows:</p>
417
418<dd>
419</dd>
420
421<dd> </dd>
422<dl class="dl-horizontal">
423<dt>wand</dt>
424<dd>the drawing wand. </dd>
425
426<dd>  </dd>
427</dl>
428<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawColor">DrawColor</a></h2>
429
430<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>
431
432<pre class="text">
433    PointMethod: Recolors the target pixel
434    ReplaceMethod: Recolor any pixel that matches the target pixel.
435    FloodfillMethod: Recolors target pixels and matching neighbors.
436    ResetMethod: Recolor all pixels.
437</pre>
438
439<p>The format of the DrawColor method is:</p>
440
441<pre class="text">
442void DrawColor(DrawingWand *wand,const double x,const double y,
443  const PaintMethod paint_method)
444</pre>
445
446<p>A description of each parameter follows:</p>
447
448<dd>
449</dd>
450
451<dd> </dd>
452<dl class="dl-horizontal">
453<dt>wand</dt>
454<dd>the drawing wand. </dd>
455
456<dd> </dd>
457<dt>x</dt>
458<dd>x ordinate. </dd>
459
460<dd> </dd>
461<dt>y</dt>
462<dd>y ordinate. </dd>
463
464<dd> </dd>
465<dt>paint_method</dt>
466<dd>paint method. </dd>
467
468<dd>  </dd>
469</dl>
470<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawComposite">DrawComposite</a></h2>
471
472<p>DrawComposite() composites an image onto the current image, using the specified composition operator, specified position, and at the specified size.</p>
473
474<p>The format of the DrawComposite method is:</p>
475
476<pre class="text">
477MagickBooleanType DrawComposite(DrawingWand *wand,
478  const CompositeOperator compose,const double x,
479  const double y,const double width,const double height,
480  MagickWand *magick_wand)
481</pre>
482
483<p>A description of each parameter follows:</p>
484
485<dd>
486</dd>
487
488<dd> </dd>
489<dl class="dl-horizontal">
490<dt>wand</dt>
491<dd>the drawing wand. </dd>
492
493<dd> </dd>
494<dt>compose</dt>
495<dd>composition operator </dd>
496
497<dd> </dd>
498<dt>x</dt>
499<dd>x ordinate of top left corner </dd>
500
501<dd> </dd>
502<dt>y</dt>
503<dd>y ordinate of top left corner </dd>
504
505<dd> </dd>
506<dt>width</dt>
507<dd>Width to resize image to prior to compositing.  Specify zero to use existing width. </dd>
508
509<dd> </dd>
510<dt>height</dt>
511<dd>Height to resize image to prior to compositing.  Specify zero to use existing height. </dd>
512
513<dd> </dd>
514<dt>magick_wand</dt>
515<dd>Image to composite is obtained from this wand. </dd>
516
517<dd>  </dd>
518</dl>
519<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawComment">DrawComment</a></h2>
520
521<p>DrawComment() adds a comment to a vector output stream.</p>
522
523<p>The format of the DrawComment method is:</p>
524
525<pre class="text">
526void DrawComment(DrawingWand *wand,const char *comment)
527</pre>
528
529<p>A description of each parameter follows:</p>
530
531<dd>
532</dd>
533
534<dd> </dd>
535<dl class="dl-horizontal">
536<dt>wand</dt>
537<dd>the drawing wand. </dd>
538
539<dd> </dd>
540<dt>comment</dt>
541<dd>comment text </dd>
542
543<dd>  </dd>
544</dl>
545<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawEllipse">DrawEllipse</a></h2>
546
547<p>DrawEllipse() draws an ellipse on the image.</p>
548
549<p>The format of the DrawEllipse method is:</p>
550
551<pre class="text">
552 void DrawEllipse(DrawingWand *wand,const double ox,const double oy,
553   const double rx,const double ry,const double start,const double end)
554</pre>
555
556<p>A description of each parameter follows:</p>
557
558<dd>
559</dd>
560
561<dd> </dd>
562<dl class="dl-horizontal">
563<dt>wand</dt>
564<dd>the drawing wand. </dd>
565
566<dd> </dd>
567<dt>ox</dt>
568<dd>origin x ordinate </dd>
569
570<dd> </dd>
571<dt>oy</dt>
572<dd>origin y ordinate </dd>
573
574<dd> </dd>
575<dt>rx</dt>
576<dd>radius in x </dd>
577
578<dd> </dd>
579<dt>ry</dt>
580<dd>radius in y </dd>
581
582<dd> </dd>
583<dt>start</dt>
584<dd>starting rotation in degrees </dd>
585
586<dd> </dd>
587<dt>end</dt>
588<dd>ending rotation in degrees </dd>
589
590<dd>  </dd>
591</dl>
592<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetBorderColor">DrawGetBorderColor</a></h2>
593
594<p>DrawGetBorderColor() returns the border color used for drawing bordered objects.</p>
595
596<p>The format of the DrawGetBorderColor method is:</p>
597
598<pre class="text">
599void DrawGetBorderColor(const DrawingWand *wand,
600  PixelWand *border_color)
601</pre>
602
603<p>A description of each parameter follows:</p>
604
605<dd>
606</dd>
607
608<dd> </dd>
609<dl class="dl-horizontal">
610<dt>wand</dt>
611<dd>the drawing wand. </dd>
612
613<dd> </dd>
614<dt>border_color</dt>
615<dd>Return the border color. </dd>
616
617<dd>  </dd>
618</dl>
619<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetClipPath">DrawGetClipPath</a></h2>
620
621<p>DrawGetClipPath() obtains the current clipping path ID. The value returned must be deallocated by the user when it is no longer needed.</p>
622
623<p>The format of the DrawGetClipPath method is:</p>
624
625<pre class="text">
626char *DrawGetClipPath(const DrawingWand *wand)
627</pre>
628
629<p>A description of each parameter follows:</p>
630
631<dd>
632</dd>
633
634<dd> </dd>
635<dl class="dl-horizontal">
636<dt>wand</dt>
637<dd>the drawing wand. </dd>
638
639<dd>  </dd>
640</dl>
641<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetClipRule">DrawGetClipRule</a></h2>
642
643<p>DrawGetClipRule() returns the current polygon fill rule to be used by the clipping path.</p>
644
645<p>The format of the DrawGetClipRule method is:</p>
646
647<pre class="text">
648     FillRule DrawGetClipRule(const DrawingWand *wand)
649</pre>
650
651<p>A description of each parameter follows:</p>
652
653<dd>
654</dd>
655
656<dd> </dd>
657<dl class="dl-horizontal">
658<dt>wand</dt>
659<dd>the drawing wand. </dd>
660
661<dd>  </dd>
662</dl>
663<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetClipUnits">DrawGetClipUnits</a></h2>
664
665<p>DrawGetClipUnits() returns the interpretation of clip path units.</p>
666
667<p>The format of the DrawGetClipUnits method is:</p>
668
669<pre class="text">
670ClipPathUnits DrawGetClipUnits(const DrawingWand *wand)
671</pre>
672
673<p>A description of each parameter follows:</p>
674
675<dd>
676</dd>
677
678<dd> </dd>
679<dl class="dl-horizontal">
680<dt>wand</dt>
681<dd>the drawing wand. </dd>
682
683<dd>  </dd>
684</dl>
685<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetDensity">DrawGetDensity</a></h2>
686
687<p>DrawGetDensity() obtains the vertical and horizontal resolution. The value returned must be deallocated by the user when it is no longer needed.</p>
688
689<p>The format of the DrawGetDensity method is:</p>
690
691<pre class="text">
692char *DrawGetDensity(const DrawingWand *wand)
693</pre>
694
695<p>A description of each parameter follows:</p>
696
697<dd>
698</dd>
699
700<dd> </dd>
701<dl class="dl-horizontal">
702<dt>wand</dt>
703<dd>the drawing wand. </dd>
704
705<dd>  </dd>
706</dl>
707<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetException">DrawGetException</a></h2>
708
709<p>DrawGetException() returns the severity, reason, and description of any error that occurs when using other methods in this API.</p>
710
711<p>The format of the DrawGetException method is:</p>
712
713<pre class="text">
714char *DrawGetException(const DrawWand *wand,
715  ExceptionType *severity)
716</pre>
717
718<p>A description of each parameter follows:</p>
719
720<dd>
721</dd>
722
723<dd> </dd>
724<dl class="dl-horizontal">
725<dt>wand</dt>
726<dd>the drawing wand. </dd>
727
728<dd> </dd>
729<dt>severity</dt>
730<dd>the severity of the error is returned here. </dd>
731
732<dd>  </dd>
733</dl>
734<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetExceptionType">DrawGetExceptionType</a></h2>
735
736<p>DrawGetExceptionType() the exception type associated with the wand.  If no exception has occurred, UndefinedExceptionType is returned.</p>
737
738<p>The format of the DrawGetExceptionType method is:</p>
739
740<pre class="text">
741ExceptionType DrawGetExceptionType(const DrawWand *wand)
742</pre>
743
744<p>A description of each parameter follows:</p>
745
746<dd>
747</dd>
748
749<dd> </dd>
750<dl class="dl-horizontal">
751<dt>wand</dt>
752<dd>the magick wand. </dd>
753
754<dd>  </dd>
755</dl>
756<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetFillColor">DrawGetFillColor</a></h2>
757
758<p>DrawGetFillColor() returns the fill color used for drawing filled objects.</p>
759
760<p>The format of the DrawGetFillColor method is:</p>
761
762<pre class="text">
763void DrawGetFillColor(const DrawingWand *wand,
764  PixelWand *fill_color)
765</pre>
766
767<p>A description of each parameter follows:</p>
768
769<dd>
770</dd>
771
772<dd> </dd>
773<dl class="dl-horizontal">
774<dt>wand</dt>
775<dd>the drawing wand. </dd>
776
777<dd> </dd>
778<dt>fill_color</dt>
779<dd>Return the fill color. </dd>
780
781<dd>  </dd>
782</dl>
783<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetFillOpacity">DrawGetFillOpacity</a></h2>
784
785<p>DrawGetFillOpacity() returns the alpha used when drawing using the fill color or fill texture.  Fully opaque is 1.0.</p>
786
787<p>The format of the DrawGetFillOpacity method is:</p>
788
789<pre class="text">
790double DrawGetFillOpacity(const DrawingWand *wand)
791</pre>
792
793<p>A description of each parameter follows:</p>
794
795<dd>
796</dd>
797
798<dd> </dd>
799<dl class="dl-horizontal">
800<dt>wand</dt>
801<dd>the drawing wand. </dd>
802
803<dd>  </dd>
804</dl>
805<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetFillRule">DrawGetFillRule</a></h2>
806
807<p>DrawGetFillRule() returns the fill rule used while drawing polygons.</p>
808
809<p>The format of the DrawGetFillRule method is:</p>
810
811<pre class="text">
812FillRule DrawGetFillRule(const DrawingWand *wand)
813</pre>
814
815<p>A description of each parameter follows:</p>
816
817<dd>
818</dd>
819
820<dd> </dd>
821<dl class="dl-horizontal">
822<dt>wand</dt>
823<dd>the drawing wand. </dd>
824
825<dd>  </dd>
826</dl>
827<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetFont">DrawGetFont</a></h2>
828
829<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>
830
831<p>The format of the DrawGetFont method is:</p>
832
833<pre class="text">
834char *DrawGetFont(const DrawingWand *wand)
835</pre>
836
837<p>A description of each parameter follows:</p>
838
839<dd>
840</dd>
841
842<dd> </dd>
843<dl class="dl-horizontal">
844<dt>wand</dt>
845<dd>the drawing wand. </dd>
846
847<dd>  </dd>
848</dl>
849<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetFontFamily">DrawGetFontFamily</a></h2>
850
851<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>
852
853<p>The format of the DrawGetFontFamily method is:</p>
854
855<pre class="text">
856char *DrawGetFontFamily(const DrawingWand *wand)
857</pre>
858
859<p>A description of each parameter follows:</p>
860
861<dd>
862</dd>
863
864<dd> </dd>
865<dl class="dl-horizontal">
866<dt>wand</dt>
867<dd>the drawing wand. </dd>
868
869<dd>  </dd>
870</dl>
871<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetFontResolution">DrawGetFontResolution</a></h2>
872
873<p>DrawGetFontResolution() gets the image X and Y resolution.</p>
874
875<p>The format of the DrawGetFontResolution method is:</p>
876
877<pre class="text">
878MagickBooleanType DrawGetFontResolution(const DrawingWand *wand,
879  double *x,double *y)
880</pre>
881
882<p>A description of each parameter follows:</p>
883
884<dd>
885</dd>
886
887<dd> </dd>
888<dl class="dl-horizontal">
889<dt>wand</dt>
890<dd>the magick wand. </dd>
891
892<dd> </dd>
893<dt>x</dt>
894<dd>the x-resolution. </dd>
895
896<dd> </dd>
897<dt>y</dt>
898<dd>the y-resolution. </dd>
899
900<dd>  </dd>
901</dl>
902<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetFontSize">DrawGetFontSize</a></h2>
903
904<p>DrawGetFontSize() returns the font pointsize used when annotating with text.</p>
905
906<p>The format of the DrawGetFontSize method is:</p>
907
908<pre class="text">
909double DrawGetFontSize(const DrawingWand *wand)
910</pre>
911
912<p>A description of each parameter follows:</p>
913
914<dd>
915</dd>
916
917<dd> </dd>
918<dl class="dl-horizontal">
919<dt>wand</dt>
920<dd>the drawing wand. </dd>
921
922<dd>  </dd>
923</dl>
924<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetFontStretch">DrawGetFontStretch</a></h2>
925
926<p>DrawGetFontStretch() returns the font stretch used when annotating with text.</p>
927
928<p>The format of the DrawGetFontStretch method is:</p>
929
930<pre class="text">
931StretchType DrawGetFontStretch(const DrawingWand *wand)
932</pre>
933
934<p>A description of each parameter follows:</p>
935
936<dd>
937</dd>
938
939<dd> </dd>
940<dl class="dl-horizontal">
941<dt>wand</dt>
942<dd>the drawing wand. </dd>
943
944<dd>  </dd>
945</dl>
946<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetFontStyle">DrawGetFontStyle</a></h2>
947
948<p>DrawGetFontStyle() returns the font style used when annotating with text.</p>
949
950<p>The format of the DrawGetFontStyle method is:</p>
951
952<pre class="text">
953StyleType DrawGetFontStyle(const DrawingWand *wand)
954</pre>
955
956<p>A description of each parameter follows:</p>
957
958<dd>
959</dd>
960
961<dd> </dd>
962<dl class="dl-horizontal">
963<dt>wand</dt>
964<dd>the drawing wand. </dd>
965
966<dd>  </dd>
967</dl>
968<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetFontWeight">DrawGetFontWeight</a></h2>
969
970<p>DrawGetFontWeight() returns the font weight used when annotating with text.</p>
971
972<p>The format of the DrawGetFontWeight method is:</p>
973
974<pre class="text">
975size_t DrawGetFontWeight(const DrawingWand *wand)
976</pre>
977
978<p>A description of each parameter follows:</p>
979
980<dd>
981</dd>
982
983<dd> </dd>
984<dl class="dl-horizontal">
985<dt>wand</dt>
986<dd>the drawing wand. </dd>
987
988<dd>  </dd>
989</dl>
990<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetGravity">DrawGetGravity</a></h2>
991
992<p>DrawGetGravity() returns the text placement gravity used when annotating with text.</p>
993
994<p>The format of the DrawGetGravity method is:</p>
995
996<pre class="text">
997GravityType DrawGetGravity(const DrawingWand *wand)
998</pre>
999
1000<p>A description of each parameter follows:</p>
1001
1002<dd>
1003</dd>
1004
1005<dd> </dd>
1006<dl class="dl-horizontal">
1007<dt>wand</dt>
1008<dd>the drawing wand. </dd>
1009
1010<dd>  </dd>
1011</dl>
1012<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetOpacity">DrawGetOpacity</a></h2>
1013
1014<p>DrawGetOpacity() returns the alpha used when drawing with the fill or stroke color or texture.  Fully opaque is 1.0.</p>
1015
1016<p>The format of the DrawGetOpacity method is:</p>
1017
1018<pre class="text">
1019double DrawGetOpacity(const DrawingWand *wand)
1020</pre>
1021
1022<p>A description of each parameter follows:</p>
1023
1024<dd>
1025</dd>
1026
1027<dd> </dd>
1028<dl class="dl-horizontal">
1029<dt>wand</dt>
1030<dd>the drawing wand. </dd>
1031
1032<dd>  </dd>
1033</dl>
1034<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetStrokeAntialias">DrawGetStrokeAntialias</a></h2>
1035
1036<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>
1037
1038<p>The format of the DrawGetStrokeAntialias method is:</p>
1039
1040<pre class="text">
1041MagickBooleanType DrawGetStrokeAntialias(const DrawingWand *wand)
1042</pre>
1043
1044<p>A description of each parameter follows:</p>
1045
1046<dd>
1047</dd>
1048
1049<dd> </dd>
1050<dl class="dl-horizontal">
1051<dt>wand</dt>
1052<dd>the drawing wand. </dd>
1053
1054<dd>  </dd>
1055</dl>
1056<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetStrokeColor">DrawGetStrokeColor</a></h2>
1057
1058<p>DrawGetStrokeColor() returns the color used for stroking object outlines.</p>
1059
1060<p>The format of the DrawGetStrokeColor method is:</p>
1061
1062<pre class="text">
1063void DrawGetStrokeColor(const DrawingWand *wand,
1064  PixelWand *stroke_color)
1065</pre>
1066
1067<p>A description of each parameter follows:</p>
1068
1069<dd>
1070</dd>
1071
1072<dd> </dd>
1073<dl class="dl-horizontal">
1074<dt>wand</dt>
1075<dd>the drawing wand. </dd>
1076
1077<dd> </dd>
1078<dt>stroke_color</dt>
1079<dd>Return the stroke color. </dd>
1080
1081<dd>  </dd>
1082</dl>
1083<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetStrokeDashArray">DrawGetStrokeDashArray</a></h2>
1084
1085<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>
1086
1087<p>The format of the DrawGetStrokeDashArray method is:</p>
1088
1089<pre class="text">
1090double *DrawGetStrokeDashArray(const DrawingWand *wand,
1091  size_t *number_elements)
1092</pre>
1093
1094<p>A description of each parameter follows:</p>
1095
1096<dd>
1097</dd>
1098
1099<dd> </dd>
1100<dl class="dl-horizontal">
1101<dt>wand</dt>
1102<dd>the drawing wand. </dd>
1103
1104<dd> </dd>
1105<dt>number_elements</dt>
1106<dd>address to place number of elements in dash array </dd>
1107
1108<dd>  </dd>
1109</dl>
1110<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetStrokeDashOffset">DrawGetStrokeDashOffset</a></h2>
1111
1112<p>DrawGetStrokeDashOffset() returns the offset into the dash pattern to start the dash.</p>
1113
1114<p>The format of the DrawGetStrokeDashOffset method is:</p>
1115
1116<pre class="text">
1117double DrawGetStrokeDashOffset(const DrawingWand *wand)
1118</pre>
1119
1120<p>A description of each parameter follows:</p>
1121
1122<dd>
1123</dd>
1124
1125<dd> </dd>
1126<dl class="dl-horizontal">
1127<dt>wand</dt>
1128<dd>the drawing wand. </dd>
1129
1130<dd>  </dd>
1131</dl>
1132<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetStrokeLineCap">DrawGetStrokeLineCap</a></h2>
1133
1134<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>
1135
1136<p>The format of the DrawGetStrokeLineCap method is:</p>
1137
1138<pre class="text">
1139LineCap DrawGetStrokeLineCap(const DrawingWand *wand)
1140</pre>
1141
1142<p>A description of each parameter follows:</p>
1143
1144<dd>
1145</dd>
1146
1147<dd> </dd>
1148<dl class="dl-horizontal">
1149<dt>wand</dt>
1150<dd>the drawing wand. </dd>
1151
1152<dd>  </dd>
1153</dl>
1154<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetStrokeLineJoin">DrawGetStrokeLineJoin</a></h2>
1155
1156<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>
1157
1158<p>The format of the DrawGetStrokeLineJoin method is:</p>
1159
1160<pre class="text">
1161LineJoin DrawGetStrokeLineJoin(const DrawingWand *wand)
1162</pre>
1163
1164<p>A description of each parameter follows:</p>
1165
1166<dd>
1167</dd>
1168
1169<dd> </dd>
1170<dl class="dl-horizontal">
1171<dt>wand</dt>
1172<dd>the drawing wand. </dd>
1173
1174<dd>  </dd>
1175</dl>
1176<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetStrokeMiterLimit">DrawGetStrokeMiterLimit</a></h2>
1177
1178<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>
1179
1180<p>The format of the DrawGetStrokeMiterLimit method is:</p>
1181
1182<pre class="text">
1183size_t DrawGetStrokeMiterLimit(const DrawingWand *wand)
1184</pre>
1185
1186<p>A description of each parameter follows:</p>
1187
1188<dd>
1189</dd>
1190
1191<dd> </dd>
1192<dl class="dl-horizontal">
1193<dt>wand</dt>
1194<dd>the drawing wand. </dd>
1195
1196<dd>  </dd>
1197</dl>
1198<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetStrokeOpacity">DrawGetStrokeOpacity</a></h2>
1199
1200<p>DrawGetStrokeOpacity() returns the alpha of stroked object outlines.</p>
1201
1202<p>The format of the DrawGetStrokeOpacity method is:</p>
1203
1204<pre class="text">
1205double DrawGetStrokeOpacity(const DrawingWand *wand)
1206</pre>
1207
1208<p>A description of each parameter follows:</p>
1209
1210<dd>
1211</dd>
1212
1213<dd> </dd>
1214<dl class="dl-horizontal">
1215<dt>wand</dt>
1216<dd>the drawing wand. </dd>
1217
1218<dd>  </dd>
1219</dl>
1220<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetStrokeWidth">DrawGetStrokeWidth</a></h2>
1221
1222<p>DrawGetStrokeWidth() returns the width of the stroke used to draw object outlines.</p>
1223
1224<p>The format of the DrawGetStrokeWidth method is:</p>
1225
1226<pre class="text">
1227double DrawGetStrokeWidth(const DrawingWand *wand)
1228</pre>
1229
1230<p>A description of each parameter follows:</p>
1231
1232<dd>
1233</dd>
1234
1235<dd> </dd>
1236<dl class="dl-horizontal">
1237<dt>wand</dt>
1238<dd>the drawing wand. </dd>
1239
1240<dd>  </dd>
1241</dl>
1242<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetTextAlignment">DrawGetTextAlignment</a></h2>
1243
1244<p>DrawGetTextAlignment() returns the alignment applied when annotating with text.</p>
1245
1246<p>The format of the DrawGetTextAlignment method is:</p>
1247
1248<pre class="text">
1249AlignType DrawGetTextAlignment(const DrawingWand *wand)
1250</pre>
1251
1252<p>A description of each parameter follows:</p>
1253
1254<dd>
1255</dd>
1256
1257<dd> </dd>
1258<dl class="dl-horizontal">
1259<dt>wand</dt>
1260<dd>the drawing wand. </dd>
1261
1262<dd>  </dd>
1263</dl>
1264<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetTextAntialias">DrawGetTextAntialias</a></h2>
1265
1266<p>DrawGetTextAntialias() returns the current text antialias setting, which determines whether text is antialiased.  Text is antialiased by default.</p>
1267
1268<p>The format of the DrawGetTextAntialias method is:</p>
1269
1270<pre class="text">
1271MagickBooleanType DrawGetTextAntialias(const DrawingWand *wand)
1272</pre>
1273
1274<p>A description of each parameter follows:</p>
1275
1276<dd>
1277</dd>
1278
1279<dd> </dd>
1280<dl class="dl-horizontal">
1281<dt>wand</dt>
1282<dd>the drawing wand. </dd>
1283
1284<dd>  </dd>
1285</dl>
1286<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetTextDecoration">DrawGetTextDecoration</a></h2>
1287
1288<p>DrawGetTextDecoration() returns the decoration applied when annotating with text.</p>
1289
1290<p>The format of the DrawGetTextDecoration method is:</p>
1291
1292<pre class="text">
1293DecorationType DrawGetTextDecoration(const DrawingWand *wand)
1294</pre>
1295
1296<p>A description of each parameter follows:</p>
1297
1298<dd>
1299</dd>
1300
1301<dd> </dd>
1302<dl class="dl-horizontal">
1303<dt>wand</dt>
1304<dd>the drawing wand. </dd>
1305
1306<dd>  </dd>
1307</dl>
1308<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetTextDirection">DrawGetTextDirection</a></h2>
1309
1310<p>DrawGetTextDirection() returns the direction that will be used when annotating with text.</p>
1311
1312<p>The format of the DrawGetTextDirection method is:</p>
1313
1314<pre class="text">
1315DirectionType DrawGetTextDirection(const DrawingWand *wand)
1316</pre>
1317
1318<p>A description of each parameter follows:</p>
1319
1320<dd>
1321</dd>
1322
1323<dd> </dd>
1324<dl class="dl-horizontal">
1325<dt>wand</dt>
1326<dd>the drawing wand. </dd>
1327
1328<dd>  </dd>
1329</dl>
1330<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetTextEncoding">DrawGetTextEncoding</a></h2>
1331
1332<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>
1333
1334<p>The format of the DrawGetTextEncoding method is:</p>
1335
1336<pre class="text">
1337char *DrawGetTextEncoding(const DrawingWand *wand)
1338</pre>
1339
1340<p>A description of each parameter follows:</p>
1341
1342<dd>
1343</dd>
1344
1345<dd> </dd>
1346<dl class="dl-horizontal">
1347<dt>wand</dt>
1348<dd>the drawing wand. </dd>
1349
1350<dd>  </dd>
1351</dl>
1352<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetTextKerning">DrawGetTextKerning</a></h2>
1353
1354<p>DrawGetTextKerning() gets the spacing between characters in text.</p>
1355
1356<p>The format of the DrawSetFontKerning method is:</p>
1357
1358<pre class="text">
1359double DrawGetTextKerning(DrawingWand *wand)
1360</pre>
1361
1362<p>A description of each parameter follows:</p>
1363
1364<dd>
1365</dd>
1366
1367<dd> </dd>
1368<dl class="dl-horizontal">
1369<dt>wand</dt>
1370<dd>the drawing wand. </dd>
1371
1372<dd>  </dd>
1373</dl>
1374<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetTextInterlineSpacing">DrawGetTextInterlineSpacing</a></h2>
1375
1376<p>DrawGetTextInterlineSpacing() gets the spacing between lines in text.</p>
1377
1378<p>The format of the DrawGetTextInterlineSpacing method is:</p>
1379
1380<pre class="text">
1381double DrawGetTextInterlineSpacing(DrawingWand *wand)
1382</pre>
1383
1384<p>A description of each parameter follows:</p>
1385
1386<dd>
1387</dd>
1388
1389<dd> </dd>
1390<dl class="dl-horizontal">
1391<dt>wand</dt>
1392<dd>the drawing wand. </dd>
1393
1394<dd>  </dd>
1395</dl>
1396<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetTextInterwordSpacing">DrawGetTextInterwordSpacing</a></h2>
1397
1398<p>DrawGetTextInterwordSpacing() gets the spacing between words in text.</p>
1399
1400<p>The format of the DrawSetFontKerning method is:</p>
1401
1402<pre class="text">
1403double DrawGetTextInterwordSpacing(DrawingWand *wand)
1404</pre>
1405
1406<p>A description of each parameter follows:</p>
1407
1408<dd>
1409</dd>
1410
1411<dd> </dd>
1412<dl class="dl-horizontal">
1413<dt>wand</dt>
1414<dd>the drawing wand. </dd>
1415
1416<dd>  </dd>
1417</dl>
1418<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetTypeMetrics">DrawGetTypeMetrics</a></h2>
1419
1420<p>DrawGetTypeMetrics() returns the following information for the specified font and text:</p>
1421
1422<pre class="text">
1423    character width
1424    character height
1425    ascender
1426    descender
1427    text width
1428    text height
1429    maximum horizontal advance
1430    bounds: x1
1431    bounds: y1
1432    bounds: x2
1433    bounds: y2
1434    origin: x
1435    origin: y
1436    underline position
1437    underline thickness
1438</pre>
1439
1440<p>The format of the DrawGetTypeMetrics method is:</p>
1441
1442<pre class="text">
1443MagickBooleanType DrawGetTypeMetrics(const DrawingWand *wand,
1444  const char *text,MagickBooleanType ignore_newlines,
1445$  TypeMetric *metrics)
1446</pre>
1447
1448<p>A description of each parameter follows:</p>
1449
1450<dd>
1451</dd>
1452
1453<dd> </dd>
1454<dl class="dl-horizontal">
1455<dt>wand</dt>
1456<dd>the drawing wand. </dd>
1457
1458<dd> </dd>
1459<dt>text</dt>
1460<dd>text to draw. </dd>
1461
1462<dd> </dd>
1463<dt>metrics</dt>
1464<dd>Return the font metrics in this structure. </dd>
1465
1466<dd> </dd>
1467<dt>ignore_newlines</dt>
1468<dd>indicates whether newlines should be ignored. </dd>
1469
1470<dd> </dd>
1471<dt>metrics</dt>
1472<dd>Return the font metrics in this structure. </dd>
1473
1474<dd>  </dd>
1475</dl>
1476<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetVectorGraphics">DrawGetVectorGraphics</a></h2>
1477
1478<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>
1479
1480<p>The format of the DrawGetVectorGraphics method is:</p>
1481
1482<pre class="text">
1483char *DrawGetVectorGraphics(DrawingWand *wand)
1484</pre>
1485
1486<p>A description of each parameter follows:</p>
1487
1488<dd>
1489</dd>
1490
1491<dd> </dd>
1492<dl class="dl-horizontal">
1493<dt>wand</dt>
1494<dd>the drawing wand. </dd>
1495
1496<dd>  </dd>
1497</dl>
1498<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawGetTextUnderColor">DrawGetTextUnderColor</a></h2>
1499
1500<p>DrawGetTextUnderColor() returns the color of a background rectangle to place under text annotations.</p>
1501
1502<p>The format of the DrawGetTextUnderColor method is:</p>
1503
1504<pre class="text">
1505void DrawGetTextUnderColor(const DrawingWand *wand,
1506  PixelWand *under_color)
1507</pre>
1508
1509<p>A description of each parameter follows:</p>
1510
1511<dd>
1512</dd>
1513
1514<dd> </dd>
1515<dl class="dl-horizontal">
1516<dt>wand</dt>
1517<dd>the drawing wand. </dd>
1518
1519<dd> </dd>
1520<dt>under_color</dt>
1521<dd>Return the under color. </dd>
1522
1523<dd>  </dd>
1524</dl>
1525<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawLine">DrawLine</a></h2>
1526
1527<p>DrawLine() draws a line on the image using the current stroke color, stroke alpha, and stroke width.</p>
1528
1529<p>The format of the DrawLine method is:</p>
1530
1531<pre class="text">
1532void DrawLine(DrawingWand *wand,const double sx,const double sy,
1533  const double ex,const double ey)
1534</pre>
1535
1536<p>A description of each parameter follows:</p>
1537
1538<dd>
1539</dd>
1540
1541<dd> </dd>
1542<dl class="dl-horizontal">
1543<dt>wand</dt>
1544<dd>the drawing wand. </dd>
1545
1546<dd> </dd>
1547<dt>sx</dt>
1548<dd>starting x ordinate </dd>
1549
1550<dd> </dd>
1551<dt>sy</dt>
1552<dd>starting y ordinate </dd>
1553
1554<dd> </dd>
1555<dt>ex</dt>
1556<dd>ending x ordinate </dd>
1557
1558<dd> </dd>
1559<dt>ey</dt>
1560<dd>ending y ordinate </dd>
1561
1562<dd>  </dd>
1563</dl>
1564<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPathClose">DrawPathClose</a></h2>
1565
1566<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>
1567
1568<p>The format of the DrawPathClose method is:</p>
1569
1570<pre class="text">
1571void DrawPathClose(DrawingWand *wand)
1572</pre>
1573
1574<p>A description of each parameter follows:</p>
1575
1576<dd>
1577</dd>
1578
1579<dd> </dd>
1580<dl class="dl-horizontal">
1581<dt>wand</dt>
1582<dd>the drawing wand. </dd>
1583
1584<dd>  </dd>
1585</dl>
1586<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPathCurveToAbsolute">DrawPathCurveToAbsolute</a></h2>
1587
1588<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>
1589
1590<p>The format of the DrawPathCurveToAbsolute method is:</p>
1591
1592<pre class="text">
1593void DrawPathCurveToAbsolute(DrawingWand *wand,const double x1,
1594  const double y1,const double x2,const double y2,const double x,
1595  const double y)
1596</pre>
1597
1598<p>A description of each parameter follows:</p>
1599
1600<dd>
1601</dd>
1602
1603<dd> </dd>
1604<dl class="dl-horizontal">
1605<dt>wand</dt>
1606<dd>the drawing wand. </dd>
1607
1608<dd> </dd>
1609<dt>x1</dt>
1610<dd>x ordinate of control point for curve beginning </dd>
1611
1612<dd> </dd>
1613<dt>y1</dt>
1614<dd>y ordinate of control point for curve beginning </dd>
1615
1616<dd> </dd>
1617<dt>x2</dt>
1618<dd>x ordinate of control point for curve ending </dd>
1619
1620<dd> </dd>
1621<dt>y2</dt>
1622<dd>y ordinate of control point for curve ending </dd>
1623
1624<dd> </dd>
1625<dt>x</dt>
1626<dd>x ordinate of the end of the curve </dd>
1627
1628<dd> </dd>
1629<dt>y</dt>
1630<dd>y ordinate of the end of the curve </dd>
1631
1632<dd>  </dd>
1633</dl>
1634<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPathCurveToRelative">DrawPathCurveToRelative</a></h2>
1635
1636<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>
1637
1638<p>The format of the DrawPathCurveToRelative method is:</p>
1639
1640<pre class="text">
1641void DrawPathCurveToRelative(DrawingWand *wand,const double x1,
1642  const double y1,const double x2,const double y2,const double x,
1643  const double y)
1644</pre>
1645
1646<p>A description of each parameter follows:</p>
1647
1648<dd>
1649</dd>
1650
1651<dd> </dd>
1652<dl class="dl-horizontal">
1653<dt>wand</dt>
1654<dd>the drawing wand. </dd>
1655
1656<dd> </dd>
1657<dt>x1</dt>
1658<dd>x ordinate of control point for curve beginning </dd>
1659
1660<dd> </dd>
1661<dt>y1</dt>
1662<dd>y ordinate of control point for curve beginning </dd>
1663
1664<dd> </dd>
1665<dt>x2</dt>
1666<dd>x ordinate of control point for curve ending </dd>
1667
1668<dd> </dd>
1669<dt>y2</dt>
1670<dd>y ordinate of control point for curve ending </dd>
1671
1672<dd> </dd>
1673<dt>x</dt>
1674<dd>x ordinate of the end of the curve </dd>
1675
1676<dd> </dd>
1677<dt>y</dt>
1678<dd>y ordinate of the end of the curve </dd>
1679
1680<dd>  </dd>
1681</dl>
1682<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPathCurveToQuadraticBezierAbsolute">DrawPathCurveToQuadraticBezierAbsolute</a></h2>
1683
1684<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>
1685
1686<p>The format of the DrawPathCurveToQuadraticBezierAbsolute method is:</p>
1687
1688<pre class="text">
1689void DrawPathCurveToQuadraticBezierAbsolute(DrawingWand *wand,
1690  const double x1,const double y1,onst double x,const double y)
1691</pre>
1692
1693<p>A description of each parameter follows:</p>
1694
1695<dd>
1696</dd>
1697
1698<dd> </dd>
1699<dl class="dl-horizontal">
1700<dt>wand</dt>
1701<dd>the drawing wand. </dd>
1702
1703<dd> </dd>
1704<dt>x1</dt>
1705<dd>x ordinate of the control point </dd>
1706
1707<dd> </dd>
1708<dt>y1</dt>
1709<dd>y ordinate of the control point </dd>
1710
1711<dd> </dd>
1712<dt>x</dt>
1713<dd>x ordinate of final point </dd>
1714
1715<dd> </dd>
1716<dt>y</dt>
1717<dd>y ordinate of final point </dd>
1718
1719<dd>  </dd>
1720</dl>
1721<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPathCurveToQuadraticBezierRelative">DrawPathCurveToQuadraticBezierRelative</a></h2>
1722
1723<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>
1724
1725<p>The format of the DrawPathCurveToQuadraticBezierRelative method is:</p>
1726
1727<pre class="text">
1728void DrawPathCurveToQuadraticBezierRelative(DrawingWand *wand,
1729  const double x1,const double y1,const double x,const double y)
1730</pre>
1731
1732<p>A description of each parameter follows:</p>
1733
1734<dd>
1735</dd>
1736
1737<dd> </dd>
1738<dl class="dl-horizontal">
1739<dt>wand</dt>
1740<dd>the drawing wand. </dd>
1741
1742<dd> </dd>
1743<dt>x1</dt>
1744<dd>x ordinate of the control point </dd>
1745
1746<dd> </dd>
1747<dt>y1</dt>
1748<dd>y ordinate of the control point </dd>
1749
1750<dd> </dd>
1751<dt>x</dt>
1752<dd>x ordinate of final point </dd>
1753
1754<dd> </dd>
1755<dt>y</dt>
1756<dd>y ordinate of final point </dd>
1757
1758<dd>  </dd>
1759</dl>
1760<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPathCurveToQuadraticBezierSmoothAbsolute">DrawPathCurveToQuadraticBezierSmoothAbsolute</a></h2>
1761
1762<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>
1763
1764<p>The format of the DrawPathCurveToQuadraticBezierSmoothAbsolute method is:</p>
1765
1766<pre class="text">
1767void DrawPathCurveToQuadraticBezierSmoothAbsolute(
1768  DrawingWand *wand,const double x,const double y)
1769</pre>
1770
1771<p>A description of each parameter follows:</p>
1772
1773<dd>
1774</dd>
1775
1776<dd> </dd>
1777<dl class="dl-horizontal">
1778<dt>wand</dt>
1779<dd>the drawing wand. </dd>
1780
1781<dd> </dd>
1782<dt>x</dt>
1783<dd>x ordinate of final point </dd>
1784
1785<dd> </dd>
1786<dt>y</dt>
1787<dd>y ordinate of final point </dd>
1788
1789<dd>  </dd>
1790</dl>
1791<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPathCurveToQuadraticBezierSmoothRelative">DrawPathCurveToQuadraticBezierSmoothRelative</a></h2>
1792
1793<p>DrawPathCurveToQuadraticBezierSmoothRelative() 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>
1794
1795<p>The format of the DrawPathCurveToQuadraticBezierSmoothRelative method is:</p>
1796
1797<pre class="text">
1798void DrawPathCurveToQuadraticBezierSmoothRelative(DrawingWand *wand,
1799  const double x,const double y)
1800</pre>
1801
1802<p>A description of each parameter follows:</p>
1803
1804<dd>
1805</dd>
1806
1807<dd> </dd>
1808<dl class="dl-horizontal">
1809<dt>wand</dt>
1810<dd>the drawing wand. </dd>
1811
1812<dd> </dd>
1813<dt>x</dt>
1814<dd>x ordinate of final point </dd>
1815
1816<dd> </dd>
1817<dt>y</dt>
1818<dd>y ordinate of final point </dd>
1819
1820<dd>  </dd>
1821</dl>
1822<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPathCurveToSmoothAbsolute">DrawPathCurveToSmoothAbsolute</a></h2>
1823
1824<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>
1825
1826<p>The format of the DrawPathCurveToSmoothAbsolute method is:</p>
1827
1828<pre class="text">
1829void DrawPathCurveToSmoothAbsolute(DrawingWand *wand,
1830  const double x2,const double y2,const double x,const double y)
1831</pre>
1832
1833<p>A description of each parameter follows:</p>
1834
1835<dd>
1836</dd>
1837
1838<dd> </dd>
1839<dl class="dl-horizontal">
1840<dt>wand</dt>
1841<dd>the drawing wand. </dd>
1842
1843<dd> </dd>
1844<dt>x2</dt>
1845<dd>x ordinate of second control point </dd>
1846
1847<dd> </dd>
1848<dt>y2</dt>
1849<dd>y ordinate of second control point </dd>
1850
1851<dd> </dd>
1852<dt>x</dt>
1853<dd>x ordinate of termination point </dd>
1854
1855<dd> </dd>
1856<dt>y</dt>
1857<dd>y ordinate of termination point </dd>
1858
1859<dd>  </dd>
1860</dl>
1861<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPathCurveToSmoothRelative">DrawPathCurveToSmoothRelative</a></h2>
1862
1863<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>
1864
1865<p>The format of the DrawPathCurveToSmoothRelative method is:</p>
1866
1867<pre class="text">
1868void DrawPathCurveToSmoothRelative(DrawingWand *wand,
1869  const double x2,const double y2,const double x,const double y)
1870</pre>
1871
1872<p>A description of each parameter follows:</p>
1873
1874<dd>
1875</dd>
1876
1877<dd> </dd>
1878<dl class="dl-horizontal">
1879<dt>wand</dt>
1880<dd>the drawing wand. </dd>
1881
1882<dd> </dd>
1883<dt>x2</dt>
1884<dd>x ordinate of second control point </dd>
1885
1886<dd> </dd>
1887<dt>y2</dt>
1888<dd>y ordinate of second control point </dd>
1889
1890<dd> </dd>
1891<dt>x</dt>
1892<dd>x ordinate of termination point </dd>
1893
1894<dd> </dd>
1895<dt>y</dt>
1896<dd>y ordinate of termination point </dd>
1897
1898<dd>  </dd>
1899</dl>
1900<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPathEllipticArcAbsolute">DrawPathEllipticArcAbsolute</a></h2>
1901
1902<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>
1903
1904<p>The format of the DrawPathEllipticArcAbsolute method is:</p>
1905
1906<pre class="text">
1907void DrawPathEllipticArcAbsolute(DrawingWand *wand,
1908  const double rx,const double ry,const double x_axis_rotation,
1909  const MagickBooleanType large_arc_flag,
1910  const MagickBooleanType sweep_flag,const double x,const double y)
1911</pre>
1912
1913<p>A description of each parameter follows:</p>
1914
1915<dd>
1916</dd>
1917
1918<dd> </dd>
1919<dl class="dl-horizontal">
1920<dt>wand</dt>
1921<dd>the drawing wand. </dd>
1922
1923<dd> </dd>
1924<dt>rx</dt>
1925<dd>x radius </dd>
1926
1927<dd> </dd>
1928<dt>ry</dt>
1929<dd>y radius </dd>
1930
1931<dd> </dd>
1932<dt>x_axis_rotation</dt>
1933<dd>indicates how the ellipse as a whole is rotated relative to the current coordinate system </dd>
1934
1935<dd> </dd>
1936<dt>large_arc_flag</dt>
1937<dd>If non-zero (true) then draw the larger of the available arcs </dd>
1938
1939<dd> </dd>
1940<dt>sweep_flag</dt>
1941<dd>If non-zero (true) then draw the arc matching a clock-wise rotation </dd>
1942
1943<dd> </dd>
1944
1945<dd>  </dd>
1946</dl>
1947<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPathEllipticArcRelative">DrawPathEllipticArcRelative</a></h2>
1948
1949<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>
1950
1951<p>The format of the DrawPathEllipticArcRelative method is:</p>
1952
1953<pre class="text">
1954void DrawPathEllipticArcRelative(DrawingWand *wand,
1955  const double rx,const double ry,const double x_axis_rotation,
1956  const MagickBooleanType large_arc_flag,
1957  const MagickBooleanType sweep_flag,const double x,const double y)
1958</pre>
1959
1960<p>A description of each parameter follows:</p>
1961
1962<dd>
1963</dd>
1964
1965<dd> </dd>
1966<dl class="dl-horizontal">
1967<dt>wand</dt>
1968<dd>the drawing wand. </dd>
1969
1970<dd> </dd>
1971<dt>rx</dt>
1972<dd>x radius </dd>
1973
1974<dd> </dd>
1975<dt>ry</dt>
1976<dd>y radius </dd>
1977
1978<dd> </dd>
1979<dt>x_axis_rotation</dt>
1980<dd>indicates how the ellipse as a whole is rotated relative to the current coordinate system </dd>
1981
1982<dd> </dd>
1983<dt>large_arc_flag</dt>
1984<dd>If non-zero (true) then draw the larger of the available arcs </dd>
1985
1986<dd> </dd>
1987<dt>sweep_flag</dt>
1988<dd>If non-zero (true) then draw the arc matching a clock-wise rotation </dd>
1989
1990<dd>  </dd>
1991</dl>
1992<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPathFinish">DrawPathFinish</a></h2>
1993
1994<p>DrawPathFinish() terminates the current path.</p>
1995
1996<p>The format of the DrawPathFinish method is:</p>
1997
1998<pre class="text">
1999void DrawPathFinish(DrawingWand *wand)
2000</pre>
2001
2002<p>A description of each parameter follows:</p>
2003
2004<dd>
2005</dd>
2006
2007<dd> </dd>
2008<dl class="dl-horizontal">
2009<dt>wand</dt>
2010<dd>the drawing wand. </dd>
2011
2012<dd>  </dd>
2013</dl>
2014<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPathLineToAbsolute">DrawPathLineToAbsolute</a></h2>
2015
2016<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>
2017
2018<p>The format of the DrawPathLineToAbsolute method is:</p>
2019
2020<pre class="text">
2021void DrawPathLineToAbsolute(DrawingWand *wand,const double x,
2022  const double y)
2023</pre>
2024
2025<p>A description of each parameter follows:</p>
2026
2027<dd>
2028</dd>
2029
2030<dd> </dd>
2031<dl class="dl-horizontal">
2032<dt>wand</dt>
2033<dd>the drawing wand. </dd>
2034
2035<dd> </dd>
2036<dt>x</dt>
2037<dd>target x ordinate </dd>
2038
2039<dd> </dd>
2040<dt>y</dt>
2041<dd>target y ordinate </dd>
2042
2043<dd>  </dd>
2044</dl>
2045<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPathLineToRelative">DrawPathLineToRelative</a></h2>
2046
2047<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>
2048
2049<p>The format of the DrawPathLineToRelative method is:</p>
2050
2051<pre class="text">
2052void DrawPathLineToRelative(DrawingWand *wand,const double x,
2053  const double y)
2054</pre>
2055
2056<p>A description of each parameter follows:</p>
2057
2058<dd>
2059</dd>
2060
2061<dd> </dd>
2062<dl class="dl-horizontal">
2063<dt>wand</dt>
2064<dd>the drawing wand. </dd>
2065
2066<dd> </dd>
2067<dt>x</dt>
2068<dd>target x ordinate </dd>
2069
2070<dd> </dd>
2071<dt>y</dt>
2072<dd>target y ordinate </dd>
2073
2074<dd>  </dd>
2075</dl>
2076<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPathLineToHorizontalAbsolute">DrawPathLineToHorizontalAbsolute</a></h2>
2077
2078<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>
2079
2080<p>The format of the DrawPathLineToHorizontalAbsolute method is:</p>
2081
2082<pre class="text">
2083void DrawPathLineToHorizontalAbsolute(DrawingWand *wand,const double x)
2084</pre>
2085
2086<p>A description of each parameter follows:</p>
2087
2088<dd>
2089</dd>
2090
2091<dd> </dd>
2092<dl class="dl-horizontal">
2093<dt>wand</dt>
2094<dd>the drawing wand. </dd>
2095
2096<dd> </dd>
2097<dt>x</dt>
2098<dd>target x ordinate </dd>
2099
2100<dd>  </dd>
2101</dl>
2102<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPathLineToHorizontalRelative">DrawPathLineToHorizontalRelative</a></h2>
2103
2104<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>
2105
2106<p>The format of the DrawPathLineToHorizontalRelative method is:</p>
2107
2108<pre class="text">
2109void DrawPathLineToHorizontalRelative(DrawingWand *wand,
2110  const double x)
2111</pre>
2112
2113<p>A description of each parameter follows:</p>
2114
2115<dd>
2116</dd>
2117
2118<dd> </dd>
2119<dl class="dl-horizontal">
2120<dt>wand</dt>
2121<dd>the drawing wand. </dd>
2122
2123<dd> </dd>
2124<dt>x</dt>
2125<dd>target x ordinate </dd>
2126
2127<dd>  </dd>
2128</dl>
2129<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPathLineToVerticalAbsolute">DrawPathLineToVerticalAbsolute</a></h2>
2130
2131<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>
2132
2133<p>The format of the DrawPathLineToVerticalAbsolute method is:</p>
2134
2135<pre class="text">
2136void DrawPathLineToVerticalAbsolute(DrawingWand *wand,
2137  const double y)
2138</pre>
2139
2140<p>A description of each parameter follows:</p>
2141
2142<dd>
2143</dd>
2144
2145<dd> </dd>
2146<dl class="dl-horizontal">
2147<dt>wand</dt>
2148<dd>the drawing wand. </dd>
2149
2150<dd> </dd>
2151<dt>y</dt>
2152<dd>target y ordinate </dd>
2153
2154<dd>  </dd>
2155</dl>
2156<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPathLineToVerticalRelative">DrawPathLineToVerticalRelative</a></h2>
2157
2158<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>
2159
2160<p>The format of the DrawPathLineToVerticalRelative method is:</p>
2161
2162<pre class="text">
2163void DrawPathLineToVerticalRelative(DrawingWand *wand,
2164  const double y)
2165</pre>
2166
2167<p>A description of each parameter follows:</p>
2168
2169<dd>
2170</dd>
2171
2172<dd> </dd>
2173<dl class="dl-horizontal">
2174<dt>wand</dt>
2175<dd>the drawing wand. </dd>
2176
2177<dd> </dd>
2178<dt>y</dt>
2179<dd>target y ordinate </dd>
2180
2181<dd>  </dd>
2182</dl>
2183<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPathMoveToAbsolute">DrawPathMoveToAbsolute</a></h2>
2184
2185<p>DrawPathMoveToAbsolute() starts a new sub-path at the given coordinate using absolute coordinates. The current point then becomes the specified coordinate.</p>
2186
2187<p>The format of the DrawPathMoveToAbsolute method is:</p>
2188
2189<pre class="text">
2190void DrawPathMoveToAbsolute(DrawingWand *wand,const double x,
2191  const double y)
2192</pre>
2193
2194<p>A description of each parameter follows:</p>
2195
2196<dd>
2197</dd>
2198
2199<dd> </dd>
2200<dl class="dl-horizontal">
2201<dt>wand</dt>
2202<dd>the drawing wand. </dd>
2203
2204<dd> </dd>
2205<dt>x</dt>
2206<dd>target x ordinate </dd>
2207
2208<dd> </dd>
2209<dt>y</dt>
2210<dd>target y ordinate </dd>
2211
2212<dd>  </dd>
2213</dl>
2214<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPathMoveToRelative">DrawPathMoveToRelative</a></h2>
2215
2216<p>DrawPathMoveToRelative() starts a new sub-path at the given coordinate using relative coordinates. The current point then becomes the specified coordinate.</p>
2217
2218<p>The format of the DrawPathMoveToRelative method is:</p>
2219
2220<pre class="text">
2221void DrawPathMoveToRelative(DrawingWand *wand,const double x,
2222  const double y)
2223</pre>
2224
2225<p>A description of each parameter follows:</p>
2226
2227<dd>
2228</dd>
2229
2230<dd> </dd>
2231<dl class="dl-horizontal">
2232<dt>wand</dt>
2233<dd>the drawing wand. </dd>
2234
2235<dd> </dd>
2236<dt>x</dt>
2237<dd>target x ordinate </dd>
2238
2239<dd> </dd>
2240<dt>y</dt>
2241<dd>target y ordinate </dd>
2242
2243<dd>  </dd>
2244</dl>
2245<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPathStart">DrawPathStart</a></h2>
2246
2247<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>
2248
2249<p>The format of the DrawPathStart method is:</p>
2250
2251<pre class="text">
2252void DrawPathStart(DrawingWand *wand)
2253</pre>
2254
2255<p>A description of each parameter follows:</p>
2256
2257<dd>
2258</dd>
2259
2260<dd> </dd>
2261<dl class="dl-horizontal">
2262<dt>wand</dt>
2263<dd>the drawing wand. </dd>
2264
2265<dd>  </dd>
2266</dl>
2267<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPoint">DrawPoint</a></h2>
2268
2269<p>DrawPoint() draws a point using the current fill color.</p>
2270
2271<p>The format of the DrawPoint method is:</p>
2272
2273<pre class="text">
2274void DrawPoint(DrawingWand *wand,const double x,const double y)
2275</pre>
2276
2277<p>A description of each parameter follows:</p>
2278
2279<dd>
2280</dd>
2281
2282<dd> </dd>
2283<dl class="dl-horizontal">
2284<dt>wand</dt>
2285<dd>the drawing wand. </dd>
2286
2287<dd> </dd>
2288<dt>x</dt>
2289<dd>target x coordinate </dd>
2290
2291<dd> </dd>
2292<dt>y</dt>
2293<dd>target y coordinate </dd>
2294
2295<dd>  </dd>
2296</dl>
2297<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPolygon">DrawPolygon</a></h2>
2298
2299<p>DrawPolygon() draws a polygon using the current stroke, stroke width, and fill color or texture, using the specified array of coordinates.</p>
2300
2301<p>The format of the DrawPolygon method is:</p>
2302
2303<pre class="text">
2304void DrawPolygon(DrawingWand *wand,
2305  const size_t number_coordinates,const PointInfo *coordinates)
2306</pre>
2307
2308<p>A description of each parameter follows:</p>
2309
2310<dd>
2311</dd>
2312
2313<dd> </dd>
2314<dl class="dl-horizontal">
2315<dt>wand</dt>
2316<dd>the drawing wand. </dd>
2317
2318<dd> </dd>
2319<dt>number_coordinates</dt>
2320<dd>number of coordinates </dd>
2321
2322<dd> </dd>
2323<dt>coordinates</dt>
2324<dd>coordinate array </dd>
2325
2326<dd>  </dd>
2327</dl>
2328<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPolyline">DrawPolyline</a></h2>
2329
2330<p>DrawPolyline() draws a polyline using the current stroke, stroke width, and fill color or texture, using the specified array of coordinates.</p>
2331
2332<p>The format of the DrawPolyline method is:</p>
2333
2334<pre class="text">
2335void DrawPolyline(DrawingWand *wand,
2336  const size_t number_coordinates,const PointInfo *coordinates)
2337</pre>
2338
2339<p>A description of each parameter follows:</p>
2340
2341<dd>
2342</dd>
2343
2344<dd> </dd>
2345<dl class="dl-horizontal">
2346<dt>wand</dt>
2347<dd>the drawing wand. </dd>
2348
2349<dd> </dd>
2350<dt>number_coordinates</dt>
2351<dd>number of coordinates </dd>
2352
2353<dd> </dd>
2354<dt>coordinates</dt>
2355<dd>coordinate array </dd>
2356
2357<dd>  </dd>
2358</dl>
2359<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPopClipPath">DrawPopClipPath</a></h2>
2360
2361<p>DrawPopClipPath() terminates a clip path definition.</p>
2362
2363<p>The format of the DrawPopClipPath method is:</p>
2364
2365<pre class="text">
2366void DrawPopClipPath(DrawingWand *wand)
2367</pre>
2368
2369<p>A description of each parameter follows:</p>
2370
2371<dd>
2372</dd>
2373
2374<dd> </dd>
2375<dl class="dl-horizontal">
2376<dt>wand</dt>
2377<dd>the drawing wand. </dd>
2378
2379<dd>  </dd>
2380</dl>
2381<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPopDefs">DrawPopDefs</a></h2>
2382
2383<p>DrawPopDefs() terminates a definition list.</p>
2384
2385<p>The format of the DrawPopDefs method is:</p>
2386
2387<pre class="text">
2388void DrawPopDefs(DrawingWand *wand)
2389</pre>
2390
2391<p>A description of each parameter follows:</p>
2392
2393<dd>
2394</dd>
2395
2396<dd> </dd>
2397<dl class="dl-horizontal">
2398<dt>wand</dt>
2399<dd>the drawing wand. </dd>
2400
2401<dd>  </dd>
2402</dl>
2403<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPopPattern">DrawPopPattern</a></h2>
2404
2405<p>DrawPopPattern() terminates a pattern definition.</p>
2406
2407<p>The format of the DrawPopPattern method is:</p>
2408
2409<pre class="text">
2410MagickBooleanType DrawPopPattern(DrawingWand *wand)
2411</pre>
2412
2413<p>A description of each parameter follows:</p>
2414
2415<dd>
2416</dd>
2417
2418<dd> </dd>
2419<dl class="dl-horizontal">
2420<dt>wand</dt>
2421<dd>the drawing wand. </dd>
2422
2423<dd>  </dd>
2424</dl>
2425<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPushClipPath">DrawPushClipPath</a></h2>
2426
2427<p>DrawPushClipPath() starts a clip path definition which is comprized of any number of drawing commands and terminated by a DrawPopClipPath() command.</p>
2428
2429<p>The format of the DrawPushClipPath method is:</p>
2430
2431<pre class="text">
2432void DrawPushClipPath(DrawingWand *wand,const char *clip_mask_id)
2433</pre>
2434
2435<p>A description of each parameter follows:</p>
2436
2437<dd>
2438</dd>
2439
2440<dd> </dd>
2441<dl class="dl-horizontal">
2442<dt>wand</dt>
2443<dd>the drawing wand. </dd>
2444
2445<dd> </dd>
2446<dt>clip_mask_id</dt>
2447<dd>string identifier to associate with the clip path for later use. </dd>
2448
2449<dd>  </dd>
2450</dl>
2451<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPushDefs">DrawPushDefs</a></h2>
2452
2453<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>
2454
2455<p>The format of the DrawPushDefs method is:</p>
2456
2457<pre class="text">
2458void DrawPushDefs(DrawingWand *wand)
2459</pre>
2460
2461<p>A description of each parameter follows:</p>
2462
2463<dd>
2464</dd>
2465
2466<dd> </dd>
2467<dl class="dl-horizontal">
2468<dt>wand</dt>
2469<dd>the drawing wand. </dd>
2470
2471<dd>  </dd>
2472</dl>
2473<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawPushPattern">DrawPushPattern</a></h2>
2474
2475<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>
2476
2477<p>The format of the DrawPushPattern method is:</p>
2478
2479<pre class="text">
2480MagickBooleanType DrawPushPattern(DrawingWand *wand,
2481  const char *pattern_id,const double x,const double y,
2482  const double width,const double height)
2483</pre>
2484
2485<p>A description of each parameter follows:</p>
2486
2487<dd>
2488</dd>
2489
2490<dd> </dd>
2491<dl class="dl-horizontal">
2492<dt>wand</dt>
2493<dd>the drawing wand. </dd>
2494
2495<dd> </dd>
2496<dt>pattern_id</dt>
2497<dd>pattern identification for later reference </dd>
2498
2499<dd> </dd>
2500<dt>x</dt>
2501<dd>x ordinate of top left corner </dd>
2502
2503<dd> </dd>
2504<dt>y</dt>
2505<dd>y ordinate of top left corner </dd>
2506
2507<dd> </dd>
2508<dt>width</dt>
2509<dd>width of pattern space </dd>
2510
2511<dd> </dd>
2512<dt>height</dt>
2513<dd>height of pattern space </dd>
2514
2515<dd>  </dd>
2516</dl>
2517<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawRectangle">DrawRectangle</a></h2>
2518
2519<p>DrawRectangle() draws a rectangle given two coordinates and using the current stroke, stroke width, and fill settings.</p>
2520
2521<p>The format of the DrawRectangle method is:</p>
2522
2523<pre class="text">
2524void DrawRectangle(DrawingWand *wand,const double x1,
2525  const double y1,const double x2,const double y2)
2526</pre>
2527
2528<p>A description of each parameter follows:</p>
2529
2530<dd>
2531</dd>
2532
2533<dd> </dd>
2534<dl class="dl-horizontal">
2535<dt>x1</dt>
2536<dd>x ordinate of first coordinate </dd>
2537
2538<dd> </dd>
2539<dt>y1</dt>
2540<dd>y ordinate of first coordinate </dd>
2541
2542<dd> </dd>
2543<dt>x2</dt>
2544<dd>x ordinate of second coordinate </dd>
2545
2546<dd> </dd>
2547<dt>y2</dt>
2548<dd>y ordinate of second coordinate </dd>
2549
2550<dd>  </dd>
2551</dl>
2552<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawResetVectorGraphics">DrawResetVectorGraphics</a></h2>
2553
2554<p>DrawResetVectorGraphics() resets the vector graphics associated with the specified wand.</p>
2555
2556<p>The format of the DrawResetVectorGraphics method is:</p>
2557
2558<pre class="text">
2559void DrawResetVectorGraphics(DrawingWand *wand)
2560</pre>
2561
2562<p>A description of each parameter follows:</p>
2563
2564<dd>
2565</dd>
2566
2567<dd> </dd>
2568<dl class="dl-horizontal">
2569<dt>wand</dt>
2570<dd>the drawing wand. </dd>
2571
2572<dd>  </dd>
2573</dl>
2574<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawRotate">DrawRotate</a></h2>
2575
2576<p>DrawRotate() applies the specified rotation to the current coordinate space.</p>
2577
2578<p>The format of the DrawRotate method is:</p>
2579
2580<pre class="text">
2581void DrawRotate(DrawingWand *wand,const double degrees)
2582</pre>
2583
2584<p>A description of each parameter follows:</p>
2585
2586<dd>
2587</dd>
2588
2589<dd> </dd>
2590<dl class="dl-horizontal">
2591<dt>wand</dt>
2592<dd>the drawing wand. </dd>
2593
2594<dd> </dd>
2595<dt>degrees</dt>
2596<dd>degrees of rotation </dd>
2597
2598<dd>  </dd>
2599</dl>
2600<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawRoundRectangle">DrawRoundRectangle</a></h2>
2601
2602<p>DrawRoundRectangle() draws a rounted rectangle given two coordinates, x &amp; y corner radiuses and using the current stroke, stroke width, and fill settings.</p>
2603
2604<p>The format of the DrawRoundRectangle method is:</p>
2605
2606<pre class="text">
2607void DrawRoundRectangle(DrawingWand *wand,double x1,double y1,
2608  double x2,double y2,double rx,double ry)
2609</pre>
2610
2611<p>A description of each parameter follows:</p>
2612
2613<dd>
2614</dd>
2615
2616<dd> </dd>
2617<dl class="dl-horizontal">
2618<dt>wand</dt>
2619<dd>the drawing wand. </dd>
2620
2621<dd> </dd>
2622<dt>x1</dt>
2623<dd>x ordinate of first coordinate </dd>
2624
2625<dd> </dd>
2626<dt>y1</dt>
2627<dd>y ordinate of first coordinate </dd>
2628
2629<dd> </dd>
2630<dt>x2</dt>
2631<dd>x ordinate of second coordinate </dd>
2632
2633<dd> </dd>
2634<dt>y2</dt>
2635<dd>y ordinate of second coordinate </dd>
2636
2637<dd> </dd>
2638<dt>rx</dt>
2639<dd>radius of corner in horizontal direction </dd>
2640
2641<dd> </dd>
2642<dt>ry</dt>
2643<dd>radius of corner in vertical direction </dd>
2644
2645<dd>  </dd>
2646</dl>
2647<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawScale">DrawScale</a></h2>
2648
2649<p>DrawScale() adjusts the scaling factor to apply in the horizontal and vertical directions to the current coordinate space.</p>
2650
2651<p>The format of the DrawScale method is:</p>
2652
2653<pre class="text">
2654void DrawScale(DrawingWand *wand,const double x,const double y)
2655</pre>
2656
2657<p>A description of each parameter follows:</p>
2658
2659<dd>
2660</dd>
2661
2662<dd> </dd>
2663<dl class="dl-horizontal">
2664<dt>wand</dt>
2665<dd>the drawing wand. </dd>
2666
2667<dd> </dd>
2668<dt>x</dt>
2669<dd>horizontal scale factor </dd>
2670
2671<dd> </dd>
2672<dt>y</dt>
2673<dd>vertical scale factor </dd>
2674
2675<dd>  </dd>
2676</dl>
2677<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetBorderColor">DrawSetBorderColor</a></h2>
2678
2679<p>DrawSetBorderColor() sets the border color to be used for drawing bordered objects.</p>
2680
2681<p>The format of the DrawSetBorderColor method is:</p>
2682
2683<pre class="text">
2684void DrawSetBorderColor(DrawingWand *wand,const PixelWand *border_wand)
2685</pre>
2686
2687<p>A description of each parameter follows:</p>
2688
2689<dd>
2690</dd>
2691
2692<dd> </dd>
2693<dl class="dl-horizontal">
2694<dt>wand</dt>
2695<dd>the drawing wand. </dd>
2696
2697<dd> </dd>
2698<dt>border_wand</dt>
2699<dd>border wand. </dd>
2700
2701<dd>  </dd>
2702</dl>
2703<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetClipPath">DrawSetClipPath</a></h2>
2704
2705<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>
2706
2707<p>The format of the DrawSetClipPath method is:</p>
2708
2709<pre class="text">
2710MagickBooleanType DrawSetClipPath(DrawingWand *wand,
2711  const char *clip_mask)
2712</pre>
2713
2714<p>A description of each parameter follows:</p>
2715
2716<dd>
2717</dd>
2718
2719<dd> </dd>
2720<dl class="dl-horizontal">
2721<dt>wand</dt>
2722<dd>the drawing wand. </dd>
2723
2724<dd> </dd>
2725<dt>clip_mask</dt>
2726<dd>name of clipping path to associate with image </dd>
2727
2728<dd>  </dd>
2729</dl>
2730<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetClipRule">DrawSetClipRule</a></h2>
2731
2732<p>DrawSetClipRule() set the polygon fill rule to be used by the clipping path.</p>
2733
2734<p>The format of the DrawSetClipRule method is:</p>
2735
2736<pre class="text">
2737void DrawSetClipRule(DrawingWand *wand,const FillRule fill_rule)
2738</pre>
2739
2740<p>A description of each parameter follows:</p>
2741
2742<dd>
2743</dd>
2744
2745<dd> </dd>
2746<dl class="dl-horizontal">
2747<dt>wand</dt>
2748<dd>the drawing wand. </dd>
2749
2750<dd> </dd>
2751<dt>fill_rule</dt>
2752<dd>fill rule (EvenOddRule or NonZeroRule) </dd>
2753
2754<dd>  </dd>
2755</dl>
2756<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetClipUnits">DrawSetClipUnits</a></h2>
2757
2758<p>DrawSetClipUnits() sets the interpretation of clip path units.</p>
2759
2760<p>The format of the DrawSetClipUnits method is:</p>
2761
2762<pre class="text">
2763void DrawSetClipUnits(DrawingWand *wand,
2764  const ClipPathUnits clip_units)
2765</pre>
2766
2767<p>A description of each parameter follows:</p>
2768
2769<dd>
2770</dd>
2771
2772<dd> </dd>
2773<dl class="dl-horizontal">
2774<dt>wand</dt>
2775<dd>the drawing wand. </dd>
2776
2777<dd> </dd>
2778<dt>clip_units</dt>
2779<dd>units to use (UserSpace, UserSpaceOnUse, or ObjectBoundingBox) </dd>
2780
2781<dd>  </dd>
2782</dl>
2783<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetDensity">DrawSetDensity</a></h2>
2784
2785<p>DrawSetDensity() sets the vertical and horizontal resolution.</p>
2786
2787<p>The format of the DrawSetDensity method is:</p>
2788
2789<pre class="text">
2790MagickBooleanType DrawSetDensity(DrawingWand *wand,
2791  const char *density)
2792</pre>
2793
2794<p>A description of each parameter follows:</p>
2795
2796<dd>
2797</dd>
2798
2799<dd> </dd>
2800<dl class="dl-horizontal">
2801<dt>wand</dt>
2802<dd>the drawing wand. </dd>
2803
2804<dd> </dd>
2805<dt>density</dt>
2806<dd>the vertical and horizontal resolution. </dd>
2807
2808<dd>  </dd>
2809</dl>
2810<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetFillColor">DrawSetFillColor</a></h2>
2811
2812<p>DrawSetFillColor() sets the fill color to be used for drawing filled objects.</p>
2813
2814<p>The format of the DrawSetFillColor method is:</p>
2815
2816<pre class="text">
2817void DrawSetFillColor(DrawingWand *wand,const PixelWand *fill_wand)
2818</pre>
2819
2820<p>A description of each parameter follows:</p>
2821
2822<dd>
2823</dd>
2824
2825<dd> </dd>
2826<dl class="dl-horizontal">
2827<dt>wand</dt>
2828<dd>the drawing wand. </dd>
2829
2830<dd> </dd>
2831<dt>fill_wand</dt>
2832<dd>fill wand. </dd>
2833
2834<dd>  </dd>
2835</dl>
2836<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetFillOpacity">DrawSetFillOpacity</a></h2>
2837
2838<p>DrawSetFillOpacity() sets the alpha to use when drawing using the fill color or fill texture.  Fully opaque is 1.0.</p>
2839
2840<p>The format of the DrawSetFillOpacity method is:</p>
2841
2842<pre class="text">
2843void DrawSetFillOpacity(DrawingWand *wand,const double fill_alpha)
2844</pre>
2845
2846<p>A description of each parameter follows:</p>
2847
2848<dd>
2849</dd>
2850
2851<dd> </dd>
2852<dl class="dl-horizontal">
2853<dt>wand</dt>
2854<dd>the drawing wand. </dd>
2855
2856<dd> </dd>
2857<dt>fill_opacity</dt>
2858<dd>fill opacity </dd>
2859
2860<dd>  </dd>
2861</dl>
2862<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetFontResolution">DrawSetFontResolution</a></h2>
2863
2864<p>DrawSetFontResolution() sets the image resolution.</p>
2865
2866<p>The format of the DrawSetFontResolution method is:</p>
2867
2868<pre class="text">
2869MagickBooleanType DrawSetFontResolution(DrawingWand *wand,
2870  const double x_resolution,const double y_resolution)
2871</pre>
2872
2873<p>A description of each parameter follows:</p>
2874
2875<dd>
2876</dd>
2877
2878<dd> </dd>
2879<dl class="dl-horizontal">
2880<dt>wand</dt>
2881<dd>the magick wand. </dd>
2882
2883<dd> </dd>
2884<dt>x_resolution</dt>
2885<dd>the image x resolution. </dd>
2886
2887<dd> </dd>
2888<dt>y_resolution</dt>
2889<dd>the image y resolution. </dd>
2890
2891<dd>  </dd>
2892</dl>
2893<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetOpacity">DrawSetOpacity</a></h2>
2894
2895<p>DrawSetOpacity() sets the alpha to use when drawing using the fill or stroke color or texture.  Fully opaque is 1.0.</p>
2896
2897<p>The format of the DrawSetOpacity method is:</p>
2898
2899<pre class="text">
2900void DrawSetOpacity(DrawingWand *wand,const double alpha)
2901</pre>
2902
2903<p>A description of each parameter follows:</p>
2904
2905<dd>
2906</dd>
2907
2908<dd> </dd>
2909<dl class="dl-horizontal">
2910<dt>wand</dt>
2911<dd>the drawing wand. </dd>
2912
2913<dd> </dd>
2914<dt>opacity</dt>
2915<dd>fill and stroke opacity.  The value 1.0 is opaque. </dd>
2916
2917<dd>  </dd>
2918</dl>
2919<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetFillPatternURL">DrawSetFillPatternURL</a></h2>
2920
2921<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>
2922
2923<p>The format of the DrawSetFillPatternURL method is:</p>
2924
2925<pre class="text">
2926MagickBooleanType DrawSetFillPatternURL(DrawingWand *wand,
2927  const char *fill_url)
2928</pre>
2929
2930<p>A description of each parameter follows:</p>
2931
2932<dd>
2933</dd>
2934
2935<dd> </dd>
2936<dl class="dl-horizontal">
2937<dt>wand</dt>
2938<dd>the drawing wand. </dd>
2939
2940<dd> </dd>
2941<dt>fill_url</dt>
2942<dd>URL to use to obtain fill pattern. </dd>
2943
2944<dd>  </dd>
2945</dl>
2946<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetFillRule">DrawSetFillRule</a></h2>
2947
2948<p>DrawSetFillRule() sets the fill rule to use while drawing polygons.</p>
2949
2950<p>The format of the DrawSetFillRule method is:</p>
2951
2952<pre class="text">
2953void DrawSetFillRule(DrawingWand *wand,const FillRule fill_rule)
2954</pre>
2955
2956<p>A description of each parameter follows:</p>
2957
2958<dd>
2959</dd>
2960
2961<dd> </dd>
2962<dl class="dl-horizontal">
2963<dt>wand</dt>
2964<dd>the drawing wand. </dd>
2965
2966<dd> </dd>
2967<dt>fill_rule</dt>
2968<dd>fill rule (EvenOddRule or NonZeroRule) </dd>
2969
2970<dd>  </dd>
2971</dl>
2972<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetFont">DrawSetFont</a></h2>
2973
2974<p>DrawSetFont() sets the fully-sepecified font to use when annotating with text.</p>
2975
2976<p>The format of the DrawSetFont method is:</p>
2977
2978<pre class="text">
2979MagickBooleanType DrawSetFont(DrawingWand *wand,const char *font_name)
2980</pre>
2981
2982<p>A description of each parameter follows:</p>
2983
2984<dd>
2985</dd>
2986
2987<dd> </dd>
2988<dl class="dl-horizontal">
2989<dt>wand</dt>
2990<dd>the drawing wand. </dd>
2991
2992<dd> </dd>
2993<dt>font_name</dt>
2994<dd>font name </dd>
2995
2996<dd>  </dd>
2997</dl>
2998<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetFontFamily">DrawSetFontFamily</a></h2>
2999
3000<p>DrawSetFontFamily() sets the font family to use when annotating with text.</p>
3001
3002<p>The format of the DrawSetFontFamily method is:</p>
3003
3004<pre class="text">
3005MagickBooleanType DrawSetFontFamily(DrawingWand *wand,
3006  const char *font_family)
3007</pre>
3008
3009<p>A description of each parameter follows:</p>
3010
3011<dd>
3012</dd>
3013
3014<dd> </dd>
3015<dl class="dl-horizontal">
3016<dt>wand</dt>
3017<dd>the drawing wand. </dd>
3018
3019<dd> </dd>
3020<dt>font_family</dt>
3021<dd>font family </dd>
3022
3023<dd>  </dd>
3024</dl>
3025<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetFontSize">DrawSetFontSize</a></h2>
3026
3027<p>DrawSetFontSize() sets the font pointsize to use when annotating with text.</p>
3028
3029<p>The format of the DrawSetFontSize method is:</p>
3030
3031<pre class="text">
3032void DrawSetFontSize(DrawingWand *wand,const double pointsize)
3033</pre>
3034
3035<p>A description of each parameter follows:</p>
3036
3037<dd>
3038</dd>
3039
3040<dd> </dd>
3041<dl class="dl-horizontal">
3042<dt>wand</dt>
3043<dd>the drawing wand. </dd>
3044
3045<dd> </dd>
3046<dt>pointsize</dt>
3047<dd>text pointsize </dd>
3048
3049<dd>  </dd>
3050</dl>
3051<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetFontStretch">DrawSetFontStretch</a></h2>
3052
3053<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>
3054
3055<p>The format of the DrawSetFontStretch method is:</p>
3056
3057<pre class="text">
3058void DrawSetFontStretch(DrawingWand *wand,
3059  const StretchType font_stretch)
3060</pre>
3061
3062<p>A description of each parameter follows:</p>
3063
3064<dd>
3065</dd>
3066
3067<dd> </dd>
3068<dl class="dl-horizontal">
3069<dt>wand</dt>
3070<dd>the drawing wand. </dd>
3071
3072<dd> </dd>
3073<dt>font_stretch</dt>
3074<dd>font stretch (NormalStretch, UltraCondensedStretch, CondensedStretch, SemiCondensedStretch, SemiExpandedStretch, ExpandedStretch, ExtraExpandedStretch, UltraExpandedStretch, AnyStretch) </dd>
3075
3076<dd>  </dd>
3077</dl>
3078<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetFontStyle">DrawSetFontStyle</a></h2>
3079
3080<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>
3081
3082<p>The format of the DrawSetFontStyle method is:</p>
3083
3084<pre class="text">
3085void DrawSetFontStyle(DrawingWand *wand,const StyleType style)
3086</pre>
3087
3088<p>A description of each parameter follows:</p>
3089
3090<dd>
3091</dd>
3092
3093<dd> </dd>
3094<dl class="dl-horizontal">
3095<dt>wand</dt>
3096<dd>the drawing wand. </dd>
3097
3098<dd> </dd>
3099<dt>style</dt>
3100<dd>font style (NormalStyle, ItalicStyle, ObliqueStyle, AnyStyle) </dd>
3101
3102<dd>  </dd>
3103</dl>
3104<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetFontWeight">DrawSetFontWeight</a></h2>
3105
3106<p>DrawSetFontWeight() sets the font weight to use when annotating with text.</p>
3107
3108<p>The format of the DrawSetFontWeight method is:</p>
3109
3110<pre class="text">
3111void DrawSetFontWeight(DrawingWand *wand,
3112  const size_t font_weight)
3113</pre>
3114
3115<p>A description of each parameter follows:</p>
3116
3117<dd>
3118</dd>
3119
3120<dd> </dd>
3121<dl class="dl-horizontal">
3122<dt>wand</dt>
3123<dd>the drawing wand. </dd>
3124
3125<dd> </dd>
3126<dt>font_weight</dt>
3127<dd>font weight (valid range 100-900) </dd>
3128
3129<dd>  </dd>
3130</dl>
3131<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetGravity">DrawSetGravity</a></h2>
3132
3133<p>DrawSetGravity() sets the text placement gravity to use when annotating with text.</p>
3134
3135<p>The format of the DrawSetGravity method is:</p>
3136
3137<pre class="text">
3138void DrawSetGravity(DrawingWand *wand,const GravityType gravity)
3139</pre>
3140
3141<p>A description of each parameter follows:</p>
3142
3143<dd>
3144</dd>
3145
3146<dd> </dd>
3147<dl class="dl-horizontal">
3148<dt>wand</dt>
3149<dd>the drawing wand. </dd>
3150
3151<dd> </dd>
3152<dt>gravity</dt>
3153<dd>positioning gravity (NorthWestGravity, NorthGravity, NorthEastGravity, WestGravity, CenterGravity, EastGravity, SouthWestGravity, SouthGravity, SouthEastGravity) </dd>
3154
3155<dd>  </dd>
3156</dl>
3157<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetStrokeColor">DrawSetStrokeColor</a></h2>
3158
3159<p>DrawSetStrokeColor() sets the color used for stroking object outlines.</p>
3160
3161<p>The format of the DrawSetStrokeColor method is:</p>
3162
3163<pre class="text">
3164void DrawSetStrokeColor(DrawingWand *wand,
3165  const PixelWand *stroke_wand)
3166</pre>
3167
3168<p>A description of each parameter follows:</p>
3169
3170<dd>
3171</dd>
3172
3173<dd> </dd>
3174<dl class="dl-horizontal">
3175<dt>wand</dt>
3176<dd>the drawing wand. </dd>
3177
3178<dd> </dd>
3179<dt>stroke_wand</dt>
3180<dd>stroke wand. </dd>
3181
3182<dd>  </dd>
3183</dl>
3184<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetStrokePatternURL">DrawSetStrokePatternURL</a></h2>
3185
3186<p>DrawSetStrokePatternURL() sets the pattern used for stroking object outlines.</p>
3187
3188<p>The format of the DrawSetStrokePatternURL method is:</p>
3189
3190<pre class="text">
3191MagickBooleanType DrawSetStrokePatternURL(DrawingWand *wand,
3192  const char *stroke_url)
3193</pre>
3194
3195<p>A description of each parameter follows:</p>
3196
3197<dd>
3198</dd>
3199
3200<dd> </dd>
3201<dl class="dl-horizontal">
3202<dt>wand</dt>
3203<dd>the drawing wand. </dd>
3204
3205<dd> </dd>
3206<dt>stroke_url</dt>
3207<dd>URL specifying pattern ID (e.g. "#pattern_id") </dd>
3208
3209<dd>  </dd>
3210</dl>
3211<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetStrokeAntialias">DrawSetStrokeAntialias</a></h2>
3212
3213<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>
3214
3215<p>The format of the DrawSetStrokeAntialias method is:</p>
3216
3217<pre class="text">
3218void DrawSetStrokeAntialias(DrawingWand *wand,
3219  const MagickBooleanType stroke_antialias)
3220</pre>
3221
3222<p>A description of each parameter follows:</p>
3223
3224<dd>
3225</dd>
3226
3227<dd> </dd>
3228<dl class="dl-horizontal">
3229<dt>wand</dt>
3230<dd>the drawing wand. </dd>
3231
3232<dd> </dd>
3233<dt>stroke_antialias</dt>
3234<dd>set to false (zero) to disable antialiasing </dd>
3235
3236<dd>  </dd>
3237</dl>
3238<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetStrokeDashArray">DrawSetStrokeDashArray</a></h2>
3239
3240<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 dasharray.  A typical stroke dash array might contain the members 5 3 2.</p>
3241
3242<p>The format of the DrawSetStrokeDashArray method is:</p>
3243
3244<pre class="text">
3245MagickBooleanType DrawSetStrokeDashArray(DrawingWand *wand,
3246  const size_t number_elements,const double *dasharray)
3247</pre>
3248
3249<p>A description of each parameter follows:</p>
3250
3251<dd>
3252</dd>
3253
3254<dd> </dd>
3255<dl class="dl-horizontal">
3256<dt>wand</dt>
3257<dd>the drawing wand. </dd>
3258
3259<dd> </dd>
3260<dt>number_elements</dt>
3261<dd>number of elements in dash array </dd>
3262
3263<dd> </dd>
3264<dt>dasharray</dt>
3265<dd>dash array values </dd>
3266
3267<dd>  </dd>
3268</dl>
3269<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetStrokeDashOffset">DrawSetStrokeDashOffset</a></h2>
3270
3271<p>DrawSetStrokeDashOffset() specifies the offset into the dash pattern to start the dash.</p>
3272
3273<p>The format of the DrawSetStrokeDashOffset method is:</p>
3274
3275<pre class="text">
3276void DrawSetStrokeDashOffset(DrawingWand *wand,
3277  const double dash_offset)
3278</pre>
3279
3280<p>A description of each parameter follows:</p>
3281
3282<dd>
3283</dd>
3284
3285<dd> </dd>
3286<dl class="dl-horizontal">
3287<dt>wand</dt>
3288<dd>the drawing wand. </dd>
3289
3290<dd> </dd>
3291<dt>dash_offset</dt>
3292<dd>dash offset </dd>
3293
3294<dd>  </dd>
3295</dl>
3296<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetStrokeLineCap">DrawSetStrokeLineCap</a></h2>
3297
3298<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>
3299
3300<p>The format of the DrawSetStrokeLineCap method is:</p>
3301
3302<pre class="text">
3303void DrawSetStrokeLineCap(DrawingWand *wand,
3304  const LineCap linecap)
3305</pre>
3306
3307<p>A description of each parameter follows:</p>
3308
3309<dd>
3310</dd>
3311
3312<dd> </dd>
3313<dl class="dl-horizontal">
3314<dt>wand</dt>
3315<dd>the drawing wand. </dd>
3316
3317<dd> </dd>
3318<dt>linecap</dt>
3319<dd>linecap style </dd>
3320
3321<dd>  </dd>
3322</dl>
3323<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetStrokeLineJoin">DrawSetStrokeLineJoin</a></h2>
3324
3325<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>
3326
3327<p>The format of the DrawSetStrokeLineJoin method is:</p>
3328
3329<pre class="text">
3330void DrawSetStrokeLineJoin(DrawingWand *wand,
3331  const LineJoin linejoin)
3332</pre>
3333
3334<p>A description of each parameter follows:</p>
3335
3336<dd>
3337</dd>
3338
3339<dd> </dd>
3340<dl class="dl-horizontal">
3341<dt>wand</dt>
3342<dd>the drawing wand. </dd>
3343
3344<dd> </dd>
3345<dt>linejoin</dt>
3346<dd>line join style </dd>
3347
3348<dd>  </dd>
3349</dl>
3350<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetStrokeMiterLimit">DrawSetStrokeMiterLimit</a></h2>
3351
3352<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>
3353
3354<p>The format of the DrawSetStrokeMiterLimit method is:</p>
3355
3356<pre class="text">
3357void DrawSetStrokeMiterLimit(DrawingWand *wand,
3358  const size_t miterlimit)
3359</pre>
3360
3361<p>A description of each parameter follows:</p>
3362
3363<dd>
3364</dd>
3365
3366<dd> </dd>
3367<dl class="dl-horizontal">
3368<dt>wand</dt>
3369<dd>the drawing wand. </dd>
3370
3371<dd> </dd>
3372<dt>miterlimit</dt>
3373<dd>miter limit </dd>
3374
3375<dd>  </dd>
3376</dl>
3377<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetStrokeOpacity">DrawSetStrokeOpacity</a></h2>
3378
3379<p>DrawSetStrokeOpacity() specifies the alpha of stroked object outlines.</p>
3380
3381<p>The format of the DrawSetStrokeOpacity method is:</p>
3382
3383<pre class="text">
3384void DrawSetStrokeOpacity(DrawingWand *wand,
3385  const double stroke_alpha)
3386</pre>
3387
3388<p>A description of each parameter follows:</p>
3389
3390<dd>
3391</dd>
3392
3393<dd> </dd>
3394<dl class="dl-horizontal">
3395<dt>wand</dt>
3396<dd>the drawing wand. </dd>
3397
3398<dd> </dd>
3399<dt>opacity</dt>
3400<dd>stroke opacity.  The value 1.0 is opaque. </dd>
3401
3402<dd>  </dd>
3403</dl>
3404<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetStrokeWidth">DrawSetStrokeWidth</a></h2>
3405
3406<p>DrawSetStrokeWidth() sets the width of the stroke used to draw object outlines.</p>
3407
3408<p>The format of the DrawSetStrokeWidth method is:</p>
3409
3410<pre class="text">
3411void DrawSetStrokeWidth(DrawingWand *wand,
3412  const double stroke_width)
3413</pre>
3414
3415<p>A description of each parameter follows:</p>
3416
3417<dd>
3418</dd>
3419
3420<dd> </dd>
3421<dl class="dl-horizontal">
3422<dt>wand</dt>
3423<dd>the drawing wand. </dd>
3424
3425<dd> </dd>
3426<dt>stroke_width</dt>
3427<dd>stroke width </dd>
3428
3429<dd>  </dd>
3430</dl>
3431<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetTextAlignment">DrawSetTextAlignment</a></h2>
3432
3433<p>DrawSetTextAlignment() specifies a text alignment to be applied when annotating with text.</p>
3434
3435<p>The format of the DrawSetTextAlignment method is:</p>
3436
3437<pre class="text">
3438void DrawSetTextAlignment(DrawingWand *wand,const AlignType alignment)
3439</pre>
3440
3441<p>A description of each parameter follows:</p>
3442
3443<dd>
3444</dd>
3445
3446<dd> </dd>
3447<dl class="dl-horizontal">
3448<dt>wand</dt>
3449<dd>the drawing wand. </dd>
3450
3451<dd> </dd>
3452<dt>alignment</dt>
3453<dd>text alignment.  One of UndefinedAlign, LeftAlign, CenterAlign, or RightAlign. </dd>
3454
3455<dd>  </dd>
3456</dl>
3457<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetTextAntialias">DrawSetTextAntialias</a></h2>
3458
3459<p>DrawSetTextAntialias() controls whether text is antialiased.  Text is antialiased by default.</p>
3460
3461<p>The format of the DrawSetTextAntialias method is:</p>
3462
3463<pre class="text">
3464void DrawSetTextAntialias(DrawingWand *wand,
3465  const MagickBooleanType text_antialias)
3466</pre>
3467
3468<p>A description of each parameter follows:</p>
3469
3470<dd>
3471</dd>
3472
3473<dd> </dd>
3474<dl class="dl-horizontal">
3475<dt>wand</dt>
3476<dd>the drawing wand. </dd>
3477
3478<dd> </dd>
3479<dt>text_antialias</dt>
3480<dd>antialias boolean. Set to false (0) to disable antialiasing. </dd>
3481
3482<dd>  </dd>
3483</dl>
3484<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetTextDecoration">DrawSetTextDecoration</a></h2>
3485
3486<p>DrawSetTextDecoration() specifies a decoration to be applied when annotating with text.</p>
3487
3488<p>The format of the DrawSetTextDecoration method is:</p>
3489
3490<pre class="text">
3491void DrawSetTextDecoration(DrawingWand *wand,
3492  const DecorationType decoration)
3493</pre>
3494
3495<p>A description of each parameter follows:</p>
3496
3497<dd>
3498</dd>
3499
3500<dd> </dd>
3501<dl class="dl-horizontal">
3502<dt>wand</dt>
3503<dd>the drawing wand. </dd>
3504
3505<dd> </dd>
3506<dt>decoration</dt>
3507<dd>text decoration.  One of NoDecoration, UnderlineDecoration, OverlineDecoration, or LineThroughDecoration </dd>
3508
3509<dd>  </dd>
3510</dl>
3511<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetTextDirection">DrawSetTextDirection</a></h2>
3512
3513<p>DrawSetTextDirection() specifies the direction to be used when annotating with text.</p>
3514
3515<p>The format of the DrawSetTextDirection method is:</p>
3516
3517<pre class="text">
3518void DrawSetTextDirection(DrawingWand *wand,
3519  const DirectionType direction)
3520</pre>
3521
3522<p>A description of each parameter follows:</p>
3523
3524<dd>
3525</dd>
3526
3527<dd> </dd>
3528<dl class="dl-horizontal">
3529<dt>wand</dt>
3530<dd>the drawing wand. </dd>
3531
3532<dd> </dd>
3533<dt>direction</dt>
3534<dd>text direction. One of RightToLeftDirection, LeftToRightDirection </dd>
3535
3536<dd>  </dd>
3537</dl>
3538<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetTextEncoding">DrawSetTextEncoding</a></h2>
3539
3540<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>
3541
3542<p>The format of the DrawSetTextEncoding method is:</p>
3543
3544<pre class="text">
3545void DrawSetTextEncoding(DrawingWand *wand,const char *encoding)
3546</pre>
3547
3548<p>A description of each parameter follows:</p>
3549
3550<dd>
3551</dd>
3552
3553<dd> </dd>
3554<dl class="dl-horizontal">
3555<dt>wand</dt>
3556<dd>the drawing wand. </dd>
3557
3558<dd> </dd>
3559<dt>encoding</dt>
3560<dd>character string specifying text encoding </dd>
3561
3562<dd>  </dd>
3563</dl>
3564<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetTextKerning">DrawSetTextKerning</a></h2>
3565
3566<p>DrawSetTextKerning() sets the spacing between characters in text.</p>
3567
3568<p>The format of the DrawSetTextKerning method is:</p>
3569
3570<pre class="text">
3571void DrawSetTextKerning(DrawingWand *wand,const double kerning)
3572</pre>
3573
3574<p>A description of each parameter follows:</p>
3575
3576<dd>
3577</dd>
3578
3579<dd> </dd>
3580<dl class="dl-horizontal">
3581<dt>wand</dt>
3582<dd>the drawing wand. </dd>
3583
3584<dd> </dd>
3585<dt>kerning</dt>
3586<dd>text kerning </dd>
3587
3588<dd>  </dd>
3589</dl>
3590<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetTextInterlineSpacing">DrawSetTextInterlineSpacing</a></h2>
3591
3592<p>DrawSetTextInterlineSpacing() sets the spacing between line in text.</p>
3593
3594<p>The format of the DrawSetInterlineSpacing method is:</p>
3595
3596<pre class="text">
3597void DrawSetTextInterlineSpacing(DrawingWand *wand,
3598  const double interline_spacing)
3599</pre>
3600
3601<p>A description of each parameter follows:</p>
3602
3603<dd>
3604</dd>
3605
3606<dd> </dd>
3607<dl class="dl-horizontal">
3608<dt>wand</dt>
3609<dd>the drawing wand. </dd>
3610
3611<dd> </dd>
3612<dt>interline_spacing</dt>
3613<dd>text line spacing </dd>
3614
3615<dd>  </dd>
3616</dl>
3617<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetTextInterwordSpacing">DrawSetTextInterwordSpacing</a></h2>
3618
3619<p>DrawSetTextInterwordSpacing() sets the spacing between words in text.</p>
3620
3621<p>The format of the DrawSetInterwordSpacing method is:</p>
3622
3623<pre class="text">
3624void DrawSetTextInterwordSpacing(DrawingWand *wand,
3625  const double interword_spacing)
3626</pre>
3627
3628<p>A description of each parameter follows:</p>
3629
3630<dd>
3631</dd>
3632
3633<dd> </dd>
3634<dl class="dl-horizontal">
3635<dt>wand</dt>
3636<dd>the drawing wand. </dd>
3637
3638<dd> </dd>
3639<dt>interword_spacing</dt>
3640<dd>text word spacing </dd>
3641
3642<dd>  </dd>
3643</dl>
3644<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetTextUnderColor">DrawSetTextUnderColor</a></h2>
3645
3646<p>DrawSetTextUnderColor() specifies the color of a background rectangle to place under text annotations.</p>
3647
3648<p>The format of the DrawSetTextUnderColor method is:</p>
3649
3650<pre class="text">
3651void DrawSetTextUnderColor(DrawingWand *wand,
3652  const PixelWand *under_wand)
3653</pre>
3654
3655<p>A description of each parameter follows:</p>
3656
3657<dd>
3658</dd>
3659
3660<dd> </dd>
3661<dl class="dl-horizontal">
3662<dt>wand</dt>
3663<dd>the drawing wand. </dd>
3664
3665<dd> </dd>
3666<dt>under_wand</dt>
3667<dd>text under wand. </dd>
3668
3669<dd>  </dd>
3670</dl>
3671<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetVectorGraphics">DrawSetVectorGraphics</a></h2>
3672
3673<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>
3674
3675<p>The format of the DrawSetVectorGraphics method is:</p>
3676
3677<pre class="text">
3678MagickBooleanType DrawSetVectorGraphics(DrawingWand *wand,
3679  const char *xml)
3680</pre>
3681
3682<p>A description of each parameter follows:</p>
3683
3684<dd>
3685</dd>
3686
3687<dd> </dd>
3688<dl class="dl-horizontal">
3689<dt>wand</dt>
3690<dd>the drawing wand. </dd>
3691
3692<dd> </dd>
3693<dt>xml</dt>
3694<dd>the drawing wand XML. </dd>
3695
3696<dd>  </dd>
3697</dl>
3698<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSkewX">DrawSkewX</a></h2>
3699
3700<p>DrawSkewX() skews the current coordinate system in the horizontal direction.</p>
3701
3702<p>The format of the DrawSkewX method is:</p>
3703
3704<pre class="text">
3705void DrawSkewX(DrawingWand *wand,const double degrees)
3706</pre>
3707
3708<p>A description of each parameter follows:</p>
3709
3710<dd>
3711</dd>
3712
3713<dd> </dd>
3714<dl class="dl-horizontal">
3715<dt>wand</dt>
3716<dd>the drawing wand. </dd>
3717
3718<dd> </dd>
3719<dt>degrees</dt>
3720<dd>number of degrees to skew the coordinates </dd>
3721
3722<dd>  </dd>
3723</dl>
3724<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSkewY">DrawSkewY</a></h2>
3725
3726<p>DrawSkewY() skews the current coordinate system in the vertical direction.</p>
3727
3728<p>The format of the DrawSkewY method is:</p>
3729
3730<pre class="text">
3731void DrawSkewY(DrawingWand *wand,const double degrees)
3732</pre>
3733
3734<p>A description of each parameter follows:</p>
3735
3736<dd>
3737</dd>
3738
3739<dd> </dd>
3740<dl class="dl-horizontal">
3741<dt>wand</dt>
3742<dd>the drawing wand. </dd>
3743
3744<dd> </dd>
3745<dt>degrees</dt>
3746<dd>number of degrees to skew the coordinates </dd>
3747
3748<dd>  </dd>
3749</dl>
3750<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawTranslate">DrawTranslate</a></h2>
3751
3752<p>DrawTranslate() applies a translation to the current coordinate system which moves the coordinate system origin to the specified coordinate.</p>
3753
3754<p>The format of the DrawTranslate method is:</p>
3755
3756<pre class="text">
3757void DrawTranslate(DrawingWand *wand,const double x,
3758  const double y)
3759</pre>
3760
3761<p>A description of each parameter follows:</p>
3762
3763<dd>
3764</dd>
3765
3766<dd> </dd>
3767<dl class="dl-horizontal">
3768<dt>wand</dt>
3769<dd>the drawing wand. </dd>
3770
3771<dd> </dd>
3772<dt>x</dt>
3773<dd>new x ordinate for coordinate system origin </dd>
3774
3775<dd> </dd>
3776<dt>y</dt>
3777<dd>new y ordinate for coordinate system origin </dd>
3778
3779<dd>  </dd>
3780</dl>
3781<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="DrawSetViewbox">DrawSetViewbox</a></h2>
3782
3783<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>
3784
3785<p>The format of the DrawSetViewbox method is:</p>
3786
3787<pre class="text">
3788void DrawSetViewbox(DrawingWand *wand,const double x1,const double y1,
3789  const double x2,const double y2)
3790</pre>
3791
3792<p>A description of each parameter follows:</p>
3793
3794<dd>
3795</dd>
3796
3797<dd> </dd>
3798<dl class="dl-horizontal">
3799<dt>wand</dt>
3800<dd>the drawing wand. </dd>
3801
3802<dd> </dd>
3803<dt>x1</dt>
3804<dd>left x ordinate </dd>
3805
3806<dd> </dd>
3807<dt>y1</dt>
3808<dd>top y ordinate </dd>
3809
3810<dd> </dd>
3811<dt>x2</dt>
3812<dd>right x ordinate </dd>
3813
3814<dd> </dd>
3815<dt>y2</dt>
3816<dd>bottom y ordinate </dd>
3817
3818<dd>  </dd>
3819</dl>
3820<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="IsDrawingWand">IsDrawingWand</a></h2>
3821
3822<p>IsDrawingWand() returns MagickTrue if the wand is verified as a drawing wand.</p>
3823
3824<p>The format of the IsDrawingWand method is:</p>
3825
3826<pre class="text">
3827MagickBooleanType IsDrawingWand(const DrawingWand *wand)
3828</pre>
3829
3830<p>A description of each parameter follows:</p>
3831
3832<dd>
3833</dd>
3834
3835<dd> </dd>
3836<dl class="dl-horizontal">
3837<dt>wand</dt>
3838<dd>the drawing wand. </dd>
3839
3840<dd>  </dd>
3841</dl>
3842<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="NewDrawingWand">NewDrawingWand</a></h2>
3843
3844<p>NewDrawingWand() returns a drawing wand required for all other methods in the API.</p>
3845
3846<p>The format of the NewDrawingWand method is:</p>
3847
3848<pre class="text">
3849DrawingWand *NewDrawingWand(void)
3850</pre>
3851
3852<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="PeekDrawingWand">PeekDrawingWand</a></h2>
3853
3854<p>PeekDrawingWand() returns the current drawing wand.</p>
3855
3856<p>The format of the PeekDrawingWand method is:</p>
3857
3858<pre class="text">
3859DrawInfo *PeekDrawingWand(const DrawingWand *wand)
3860</pre>
3861
3862<p>A description of each parameter follows:</p>
3863
3864<dd>
3865</dd>
3866
3867<dd> </dd>
3868<dl class="dl-horizontal">
3869<dt>wand</dt>
3870<dd>the drawing wand. </dd>
3871
3872<dd>  </dd>
3873</dl>
3874<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="PopDrawingWand">PopDrawingWand</a></h2>
3875
3876<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>
3877
3878<p>The format of the PopDrawingWand method is:</p>
3879
3880<pre class="text">
3881MagickBooleanType PopDrawingWand(DrawingWand *wand)
3882</pre>
3883
3884<p>A description of each parameter follows:</p>
3885
3886<dd>
3887</dd>
3888
3889<dd> </dd>
3890<dl class="dl-horizontal">
3891<dt>wand</dt>
3892<dd>the drawing wand. </dd>
3893
3894<dd>  </dd>
3895</dl>
3896<h2><a href="../../api/MagickWand/drawing-wand_8c.html" id="PushDrawingWand">PushDrawingWand</a></h2>
3897
3898<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>
3899
3900<p>The format of the PushDrawingWand method is:</p>
3901
3902<pre class="text">
3903MagickBooleanType PushDrawingWand(DrawingWand *wand)
3904</pre>
3905
3906<p>A description of each parameter follows:</p>
3907
3908<dd>
3909</dd>
3910
3911<dd> </dd>
3912<dl class="dl-horizontal">
3913<dt>wand</dt>
3914<dd>the drawing wand. </dd>
3915
3916<dd>  </dd>
3917</dl>
3918</div>
3919  </div>
3920  </main><!-- /.container -->
3921  <footer class="magick-footer">
3922    <div class="container-fluid">
3923      <a href="../../www/security-policy.html">Security</a> •
3924      <a href="../../www/news.html">News</a>
3925
3926      <a href="drawing-wand.html#"><img class="d-inline" id="wand" alt="And Now a Touch of Magick" width="16" height="16" src="../../../images/wand.ico"/></a>
3927
3928      <a href="../../www/links.html">Related</a> •
3929      <a href="../../www/sitemap.html">Sitemap</a>
3930   <br/>
3931     <a href="../../www/support.html">Sponsor</a> •
3932     <a href="../../www/cite.html">Cite</a> •
3933     <a href="http://pgp.mit.edu/pks/lookup?op=get&amp;search=0x89AB63D48277377A">Public Key</a> •
3934     <a href="../../www/contact.html">Contact Us</a>
3935   <br/>
3936     <a href="https://github.com/imagemagick/imagemagick" target="_blank" rel="noopener" aria-label="GitHub"><svg xmlns="http://www.w3.org/2000/svg" class="navbar-nav-svg" viewBox="0 0 512 499.36" width="2%" height="2%" role="img" focusable="false"><title>GitHub</title><path fill="currentColor" fill-rule="evenodd" d="M256 0C114.64 0 0 114.61 0 256c0 113.09 73.34 209 175.08 242.9 12.8 2.35 17.47-5.56 17.47-12.34 0-6.08-.22-22.18-.35-43.54-71.2 15.49-86.2-34.34-86.2-34.34-11.64-29.57-28.42-37.45-28.42-37.45-23.27-15.84 1.73-15.55 1.73-15.55 25.69 1.81 39.21 26.38 39.21 26.38 22.84 39.12 59.92 27.82 74.5 21.27 2.33-16.54 8.94-27.82 16.25-34.22-56.84-6.43-116.6-28.43-116.6-126.49 0-27.95 10-50.8 26.35-68.69-2.63-6.48-11.42-32.5 2.51-67.75 0 0 21.49-6.88 70.4 26.24a242.65 242.65 0 0 1 128.18 0c48.87-33.13 70.33-26.24 70.33-26.24 14 35.25 5.18 61.27 2.55 67.75 16.41 17.9 26.31 40.75 26.31 68.69 0 98.35-59.85 120-116.88 126.32 9.19 7.9 17.38 23.53 17.38 47.41 0 34.22-.31 61.83-.31 70.23 0 6.85 4.61 14.81 17.6 12.31C438.72 464.97 512 369.08 512 256.02 512 114.62 397.37 0 256 0z"/></svg></a> •
3937     <a href="https://twitter.com/imagemagick" target="_blank" rel="noopener" aria-label="Twitter"><svg xmlns="http://www.w3.org/2000/svg" class="navbar-nav-svg" viewBox="0 0 512 416.32" width="2%" height="2%" role="img" focusable="false"><title>Twitter</title><path fill="currentColor" d="M160.83 416.32c193.2 0 298.92-160.22 298.92-298.92 0-4.51 0-9-.2-13.52A214 214 0 0 0 512 49.38a212.93 212.93 0 0 1-60.44 16.6 105.7 105.7 0 0 0 46.3-58.19 209 209 0 0 1-66.79 25.37 105.09 105.09 0 0 0-181.73 71.91 116.12 116.12 0 0 0 2.66 24c-87.28-4.3-164.73-46.3-216.56-109.82A105.48 105.48 0 0 0 68 159.6a106.27 106.27 0 0 1-47.53-13.11v1.43a105.28 105.28 0 0 0 84.21 103.06 105.67 105.67 0 0 1-47.33 1.84 105.06 105.06 0 0 0 98.14 72.94A210.72 210.72 0 0 1 25 370.84a202.17 202.17 0 0 1-25-1.43 298.85 298.85 0 0 0 160.83 46.92"/></svg></a>
3938    <br/>
3939    <small>© 1999-2021 ImageMagick Studio LLC</small>
3940    </div>
3941  </footer>
3942
3943  <!-- Javascript assets -->
3944  <script src="../../assets/magick.js" ></script>
3945  </body>
3946</html>
3947