1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5 <meta name="verify-v1" content="g222frIIxcQTrvDR3NBRUSKP3AnMNoqxOkIniCEkV7U=" />
6 <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf" />
7 <style type="text/css" media="screen,projection"><!--
8 @import url("../../www/magick.css");
10 <link rel="shortcut icon" href="../../images/wand.ico" type="images/vnd.microsoft.icon"/>
11 <title>ImageMagick: MagickWand, C API for ImageMagick: Drawing Wand Methods</title>
12 <meta http-equiv="Content-Language" content="en-US"/>
13 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
14 <meta http-equiv="Reply-to" content="magick-users@imagemagick.org"/>
15 <meta name="Generator" content="PHP"/>
16 <meta name="Keywords" content="magickwc, api, for, imagemagick:, drawing, wmethods, ImageMagick, ImageMagic, MagickCore, MagickWand, PerlMagick, Magick++, RMagick, PythonMagick, JMagick, TclMagick, Image, Magick, Magic, Wand, ImageMagickObject, Swiss, Army, Knife, Image, Processing"/>
17 <meta name="Description" content="ImageMagick® is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (about 100) including GIF, JPEG, JPEG-2000, PNG, PDF, PhotoCD, TIFF, and DPX. Use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves. ImageMagick is free software delivered as a ready-to-run binary distribution or as source code that you can freely use, copy, modify, and distribute. Its license is compatible with the GPL. It runs on all major operating systems. The functionality of ImageMagick is typically utilized from the command line or you can use the features from programs written in your favorite programming language. Choose from these interfaces: MagickCore (C), MagickWand (C), ChMagick (Ch), Magick++ (C++), JMagick (Java), L-Magick (Lisp), PascalMagick (Pascal), PerlMagick (Perl), MagickWand for PHP (PHP), PythonMagick (Python), RMagick (Ruby), or TclMagick (Tcl/TK). With a language interface, use ImageMagick to modify or create images automagically and dynamically."/>
18 <meta name="Rating" content="GENERAL"/>
19 <meta name="Robots" content="INDEX, FOLLOW"/>
20 <meta name="Generator" content="ImageMagick Studio LLC"/>
21 <meta name="Author" content="ImageMagick Studio LLC"/>
22 <meta name="Revisit-after" content="2 DAYS"/>
23 <meta name="Resource-type" content="document"/>
24 <meta name="Copyright" content="Copyright (c) 1999-2009 ImageMagick Studio LLC"/>
25 <meta name="Distribution" content="Global"/>
28 <body id="www-imagemagick-org">
29 <div class="titlebar">
30 <a href="../../index.html">
31 <img src="../../images/script.png" alt="[ImageMagick]"
32 style="width: 350px; height: 60px; margin: 28px auto; float: left;" /></a>
33 <a href="http://www.networkredux.com">
34 <img src="../../images/networkredux.png" alt="[sponsor]"
35 style="margin: 45px auto; border: 0px; float: left;" /></a>
36 <a href="http://www.imagemagick.org/discourse-server/">
37 <img src="../../images/logo.jpg" alt=""
38 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
39 <a href="../../index.html">
40 <img src="../../images/sprite.jpg" alt=""
41 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
47 <a href="../../index.html">About ImageMagick</a>
49 <div class="sep"></div>
51 <a href="../../www/command-line-tools.html">Command-line Tools</a>
54 <a href="../../www/command-line-processing.html">Processing</a>
57 <a href="../../www/command-line-options.html">Options</a>
60 <a href="http://www.imagemagick.org/Usage/">Usage</a>
63 <a href="../../www/api.html">Program Interfaces</a>
66 <a href="../../www/magick-wand.html">MagickWand</a>
69 <a href="../../www/magick-core.html">MagickCore</a>
72 <a href="../../www/perl-magick.html">PerlMagick</a>
75 <a href="../../Magick++/">Magick++</a>
78 <a href="../../www/architecture.html">Architecture</a>
80 <div class="sep"></div>
82 <a href="../../www/install-source.html">Install from Source</a>
85 <a href="../../www/install-source.html#unix">Unix</a>
88 <a href="../../www/install-source.html#windows">Windows</a>
91 <a href="../../www/binary-releases.html">Binary Releases</a>
94 <a href="../../www/binary-releases.html#unix">Unix</a>
97 <a href="../../www/binary-releases.html#macosx">Mac OS X</a>
100 <a href="../../www/binary-releases.html#windows">Windows</a>
103 <a href="../../www/resources.html">Resources</a>
105 <div class="sep"></div>
107 <a href="../../www/download.html">Download</a>
109 <div class="sep"></div>
111 <a href="../http://www.imagemagick.org/script/search.php">Search</a>
113 <div class="sep"></div>
115 <a href="../../www/sitemap.html">Site Map</a>
118 <a href="../../www/links.html">Links</a>
120 <div class="sep"></div>
122 <a href="../../www/sponsors.html">Sponsors:</a>
124 <div class="sponsbox">
125 <div class="sponsor">
126 <a href="http://www.allesdruck.de">Druckerei Online</a><!-- 201012001200 allesdruck.de-->
128 <div class="sponsor">
129 <a href="http://www.blumenversender.com">Blumenversand</a><!-- 200911010120 -->
131 <div class="sponsor">
132 <a href="http://www.print24.de/">Druckerei</a><!-- 200911010480 -->
134 <div class="sponsor">
135 <a href="http://www.who-sells-it.com/">Free Catalogs</a><!-- 201002010000 -->
137 <div class="sponsor">
138 <a href="http://www.online-kredit-index.de">Kredit</a><!-- 201001010120 Buchhorn -->
148 <p class="navigation-index">[<a href="#ClearDrawingWand">ClearDrawingWand</a> • <a href="#CloneDrawingWand">CloneDrawingWand</a> • <a href="#DestroyDrawingWand">DestroyDrawingWand</a> • <a href="#DrawAffine">DrawAffine</a> • <a href="#DrawAnnotation">DrawAnnotation</a> • <a href="#DrawArc">DrawArc</a> • <a href="#DrawBezier">DrawBezier</a> • <a href="#DrawCircle">DrawCircle</a> • <a href="#DrawClearException">DrawClearException</a> • <a href="#DrawComposite">DrawComposite</a> • <a href="#DrawColor">DrawColor</a> • <a href="#DrawComment">DrawComment</a> • <a href="#DrawEllipse">DrawEllipse</a> • <a href="#DrawGetBorderColor">DrawGetBorderColor</a> • <a href="#DrawGetClipPath">DrawGetClipPath</a> • <a href="#DrawGetClipRule">DrawGetClipRule</a> • <a href="#DrawGetClipUnits">DrawGetClipUnits</a> • <a href="#DrawGetException">DrawGetException</a> • <a href="#DrawGetExceptionType">DrawGetExceptionType</a> • <a href="#DrawGetFillColor">DrawGetFillColor</a> • <a href="#DrawGetFillOpacity">DrawGetFillOpacity</a> • <a href="#DrawGetFillRule">DrawGetFillRule</a> • <a href="#DrawGetFont">DrawGetFont</a> • <a href="#DrawGetFontFamily">DrawGetFontFamily</a> • <a href="#DrawGetFontSize">DrawGetFontSize</a> • <a href="#DrawGetFontStretch">DrawGetFontStretch</a> • <a href="#DrawGetFontStyle">DrawGetFontStyle</a> • <a href="#DrawGetFontWeight">DrawGetFontWeight</a> • <a href="#DrawGetGravity">DrawGetGravity</a> • <a href="#DrawGetOpacity">DrawGetOpacity</a> • <a href="#DrawGetStrokeAntialias">DrawGetStrokeAntialias</a> • <a href="#DrawGetStrokeColor">DrawGetStrokeColor</a> • <a href="#DrawGetStrokeDashArray">DrawGetStrokeDashArray</a> • <a href="#DrawGetStrokeDashOffset">DrawGetStrokeDashOffset</a> • <a href="#DrawGetStrokeLineCap">DrawGetStrokeLineCap</a> • <a href="#DrawGetStrokeLineJoin">DrawGetStrokeLineJoin</a> • <a href="#DrawGetStrokeMiterLimit">DrawGetStrokeMiterLimit</a> • <a href="#DrawGetStrokeOpacity">DrawGetStrokeOpacity</a> • <a href="#DrawGetStrokeWidth">DrawGetStrokeWidth</a> • <a href="#DrawGetTextAlignment">DrawGetTextAlignment</a> • <a href="#DrawGetTextAntialias">DrawGetTextAntialias</a> • <a href="#DrawGetTextDecoration">DrawGetTextDecoration</a> • <a href="#DrawGetTextEncoding">DrawGetTextEncoding</a> • <a href="#DrawGetTextKerning">DrawGetTextKerning</a> • <a href="#DrawGetTextInterwordSpacing">DrawGetTextInterwordSpacing</a> • <a href="#DrawGetVectorGraphics">DrawGetVectorGraphics</a> • <a href="#DrawGetTextUnderColor">DrawGetTextUnderColor</a> • <a href="#DrawLine">DrawLine</a> • <a href="#DrawMatte">DrawMatte</a> • <a href="#DrawPathClose">DrawPathClose</a> • <a href="#DrawPathCurveToAbsolute">DrawPathCurveToAbsolute</a> • <a href="#DrawPathCurveToRelative">DrawPathCurveToRelative</a> • <a href="#DrawPathCurveToQuadraticBezierAbsolute">DrawPathCurveToQuadraticBezierAbsolute</a> • <a href="#DrawPathCurveToQuadraticBezierRelative">DrawPathCurveToQuadraticBezierRelative</a> • <a href="#DrawPathCurveToQuadraticBezierSmoothAbsolute">DrawPathCurveToQuadraticBezierSmoothAbsolute</a> • <a href="#DrawPathCurveToQuadraticBezierSmoothAbsolute">DrawPathCurveToQuadraticBezierSmoothAbsolute</a> • <a href="#DrawPathCurveToSmoothAbsolute">DrawPathCurveToSmoothAbsolute</a> • <a href="#DrawPathCurveToSmoothRelative">DrawPathCurveToSmoothRelative</a> • <a href="#DrawPathEllipticArcAbsolute">DrawPathEllipticArcAbsolute</a> • <a href="#DrawPathEllipticArcRelative">DrawPathEllipticArcRelative</a> • <a href="#DrawPathFinish">DrawPathFinish</a> • <a href="#DrawPathLineToAbsolute">DrawPathLineToAbsolute</a> • <a href="#DrawPathLineToRelative">DrawPathLineToRelative</a> • <a href="#DrawPathLineToHorizontalAbsolute">DrawPathLineToHorizontalAbsolute</a> • <a href="#DrawPathLineToHorizontalRelative">DrawPathLineToHorizontalRelative</a> • <a href="#DrawPathLineToVerticalAbsolute">DrawPathLineToVerticalAbsolute</a> • <a href="#DrawPathLineToVerticalRelative">DrawPathLineToVerticalRelative</a> • <a href="#DrawPathMoveToAbsolute">DrawPathMoveToAbsolute</a> • <a href="#DrawPathMoveToRelative">DrawPathMoveToRelative</a> • <a href="#DrawPathStart">DrawPathStart</a> • <a href="#DrawPoint">DrawPoint</a> • <a href="#DrawPolygon">DrawPolygon</a> • <a href="#DrawPolyline">DrawPolyline</a> • <a href="#DrawPopClipPath">DrawPopClipPath</a> • <a href="#DrawPopDefs">DrawPopDefs</a> • <a href="#DrawPopPattern">DrawPopPattern</a> • <a href="#DrawPushClipPath">DrawPushClipPath</a> • <a href="#DrawPushDefs">DrawPushDefs</a> • <a href="#DrawPushPattern">DrawPushPattern</a> • <a href="#DrawRectangle">DrawRectangle</a> • <a href="#DrawResetVectorGraphics">DrawResetVectorGraphics</a> • <a href="#DrawRotate">DrawRotate</a> • <a href="#DrawRoundRectangle">DrawRoundRectangle</a> • <a href="#DrawScale">DrawScale</a> • <a href="#DrawSetBorderColor">DrawSetBorderColor</a> • <a href="#DrawSetClipPath">DrawSetClipPath</a> • <a href="#DrawSetClipRule">DrawSetClipRule</a> • <a href="#DrawSetClipUnits">DrawSetClipUnits</a> • <a href="#DrawSetFillColor">DrawSetFillColor</a> • <a href="#DrawSetFillOpacity">DrawSetFillOpacity</a> • <a href="#DrawSetOpacity">DrawSetOpacity</a> • <a href="#DrawSetFillPatternURL">DrawSetFillPatternURL</a> • <a href="#DrawSetFillRule">DrawSetFillRule</a> • <a href="#DrawSetFont">DrawSetFont</a> • <a href="#DrawSetFontFamily">DrawSetFontFamily</a> • <a href="#DrawSetFontSize">DrawSetFontSize</a> • <a href="#DrawSetFontStretch">DrawSetFontStretch</a> • <a href="#DrawSetFontStyle">DrawSetFontStyle</a> • <a href="#DrawSetFontWeight">DrawSetFontWeight</a> • <a href="#DrawSetGravity">DrawSetGravity</a> • <a href="#DrawSetStrokeColor">DrawSetStrokeColor</a> • <a href="#DrawSetStrokePatternURL">DrawSetStrokePatternURL</a> • <a href="#DrawSetStrokeAntialias">DrawSetStrokeAntialias</a> • <a href="#DrawSetStrokeDashArray">DrawSetStrokeDashArray</a> • <a href="#DrawSetStrokeDashOffset">DrawSetStrokeDashOffset</a> • <a href="#DrawSetStrokeLineCap">DrawSetStrokeLineCap</a> • <a href="#DrawSetStrokeLineJoin">DrawSetStrokeLineJoin</a> • <a href="#DrawSetStrokeMiterLimit">DrawSetStrokeMiterLimit</a> • <a href="#DrawSetStrokeOpacity">DrawSetStrokeOpacity</a> • <a href="#DrawSetStrokeWidth">DrawSetStrokeWidth</a> • <a href="#DrawSetTextAlignment">DrawSetTextAlignment</a> • <a href="#DrawSetTextAntialias">DrawSetTextAntialias</a> • <a href="#DrawSetTextDecoration">DrawSetTextDecoration</a> • <a href="#DrawSetTextEncoding">DrawSetTextEncoding</a> • <a href="#DrawSetTextKerning">DrawSetTextKerning</a> • <a href="#DrawSetTextInterwordSpacing">DrawSetTextInterwordSpacing</a> • <a href="#DrawSetTextUnderColor">DrawSetTextUnderColor</a> • <a href="#DrawSetVectorGraphics">DrawSetVectorGraphics</a> • <a href="#DrawSkewX">DrawSkewX</a> • <a href="#DrawSkewY">DrawSkewY</a> • <a href="#DrawTranslate">DrawTranslate</a> • <a href="#DrawSetViewbox">DrawSetViewbox</a> • <a href="#IsDrawingWand">IsDrawingWand</a> • <a href="#NewDrawingWand">NewDrawingWand</a> • <a href="#PeekDrawingWand">PeekDrawingWand</a> • <a href="#PopDrawingWand">PopDrawingWand</a> • <a href="#PushDrawingWand">PushDrawingWand</a>]</p>
150 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
151 _8c.html" target="source" name="ClearDrawingWand">ClearDrawingWand</a></h2>
152 <div class="doc-section">
154 <p>ClearDrawingWand() clear resources associated with the drawing wand.</p></ol>
156 <p>The format of the ClearDrawingWand method is:</p>
159 DrawingWand *ClearDrawingWand(DrawingWand *wand)
162 <p>A description of each parameter follows:</p></ol>
165 <ol><p>the drawing wand. to destroy</p></ol>
168 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
169 _8c.html" target="source" name="CloneDrawingWand">CloneDrawingWand</a></h2>
170 <div class="doc-section">
172 <p>CloneDrawingWand() makes an exact copy of the specified wand.</p></ol>
174 <p>The format of the CloneDrawingWand method is:</p>
177 DrawingWand *CloneDrawingWand(const DrawingWand *wand)
180 <p>A description of each parameter follows:</p></ol>
183 <ol><p>the magick wand.</p></ol>
186 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
187 _8c.html" target="source" name="DestroyDrawingWand">DestroyDrawingWand</a></h2>
188 <div class="doc-section">
190 <p>DestroyDrawingWand() frees all resources associated with the drawing wand. Once the drawing wand has been freed, it should not be used and further unless it re-allocated.</p></ol>
192 <p>The format of the DestroyDrawingWand method is:</p>
195 DrawingWand *DestroyDrawingWand(DrawingWand *wand)
198 <p>A description of each parameter follows:</p></ol>
201 <ol><p>the drawing wand. to destroy</p></ol>
204 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
205 _8c.html" target="source" name="DrawAffine">DrawAffine</a></h2>
206 <div class="doc-section">
208 <p>DrawAffine() adjusts the current affine transformation matrix with the specified affine transformation matrix. Note that the current affine transform is adjusted rather than replaced.</p></ol>
210 <p>The format of the DrawAffine method is:</p>
213 void DrawAffine(DrawingWand *wand,const AffineMatrix *affine)
216 <p>A description of each parameter follows:</p></ol>
219 <ol><p>Drawing wand</p></ol>
222 <ol><p>Affine matrix parameters</p></ol>
225 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
226 _8c.html" target="source" name="DrawAnnotation">DrawAnnotation</a></h2>
227 <div class="doc-section">
229 <p>DrawAnnotation() draws text on the image.</p></ol>
231 <p>The format of the DrawAnnotation method is:</p>
234 void DrawAnnotation(DrawingWand *wand,const double x,
235 const double y,const unsigned char *text)
238 <p>A description of each parameter follows:</p></ol>
241 <ol><p>the drawing wand.</p></ol>
244 <ol><p>x ordinate to left of text</p></ol>
247 <ol><p>y ordinate to text baseline</p></ol>
250 <ol><p>text to draw</p></ol>
253 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
254 _8c.html" target="source" name="DrawArc">DrawArc</a></h2>
255 <div class="doc-section">
257 <p>DrawArc() draws an arc falling within a specified bounding rectangle on the image.</p></ol>
259 <p>The format of the DrawArc method is:</p>
262 void DrawArc(DrawingWand *wand,const double sx,const double sy,
263 const double ex,const double ey,const double sd,const double ed)
266 <p>A description of each parameter follows:</p></ol>
269 <ol><p>the drawing wand.</p></ol>
272 <ol><p>starting x ordinate of bounding rectangle</p></ol>
275 <ol><p>starting y ordinate of bounding rectangle</p></ol>
278 <ol><p>ending x ordinate of bounding rectangle</p></ol>
281 <ol><p>ending y ordinate of bounding rectangle</p></ol>
284 <ol><p>starting degrees of rotation</p></ol>
287 <ol><p>ending degrees of rotation</p></ol>
290 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
291 _8c.html" target="source" name="DrawBezier">DrawBezier</a></h2>
292 <div class="doc-section">
294 <p>DrawBezier() draws a bezier curve through a set of points on the image.</p></ol>
296 <p>The format of the DrawBezier method is:</p>
299 void DrawBezier(DrawingWand *wand,
300 const unsigned long number_coordinates,const PointInfo *coordinates)
303 <p>A description of each parameter follows:</p></ol>
306 <ol><p>the drawing wand.</p></ol>
308 <h5>number_coordinates</h5>
309 <ol><p>number of coordinates</p></ol>
312 <ol><p>coordinates</p></ol>
315 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
316 _8c.html" target="source" name="DrawCircle">DrawCircle</a></h2>
317 <div class="doc-section">
319 <p>DrawCircle() draws a circle on the image.</p></ol>
321 <p>The format of the DrawCircle method is:</p>
324 void DrawCircle(DrawingWand *wand,const double ox,
325 const double oy,const double px, const double py)
328 <p>A description of each parameter follows:</p></ol>
331 <ol><p>the drawing wand.</p></ol>
334 <ol><p>origin x ordinate</p></ol>
337 <ol><p>origin y ordinate</p></ol>
340 <ol><p>perimeter x ordinate</p></ol>
343 <ol><p>perimeter y ordinate</p></ol>
346 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
347 _8c.html" target="source" name="DrawClearException">DrawClearException</a></h2>
348 <div class="doc-section">
350 <p>DrawClearException() clear any exceptions associated with the wand.</p></ol>
352 <p>The format of the DrawClearException method is:</p>
355 MagickBooleanType DrawClearException(DrawWand *wand)
358 <p>A description of each parameter follows:</p></ol>
361 <ol><p>the drawing wand.</p></ol>
364 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
365 _8c.html" target="source" name="DrawComposite">DrawComposite</a></h2>
366 <div class="doc-section">
368 <p>DrawComposite() composites an image onto the current image, using the specified composition operator, specified position, and at the specified size.</p></ol>
370 <p>The format of the DrawComposite method is:</p>
373 MagickBooleanType DrawComposite(DrawingWand *wand,
374 const CompositeOperator compose,const double x,
375 const double y,const double width,const double height,
376 MagickWand *magick_wand)
379 <p>A description of each parameter follows:</p></ol>
382 <ol><p>the drawing wand.</p></ol>
385 <ol><p>composition operator</p></ol>
388 <ol><p>x ordinate of top left corner</p></ol>
391 <ol><p>y ordinate of top left corner</p></ol>
394 <ol><p>Width to resize image to prior to compositing. Specify zero to use existing width.</p></ol>
397 <ol><p>Height to resize image to prior to compositing. Specify zero to use existing height.</p></ol>
400 <ol><p>Image to composite is obtained from this wand.</p></ol>
403 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
404 _8c.html" target="source" name="DrawColor">DrawColor</a></h2>
405 <div class="doc-section">
407 <p>DrawColor() draws color on image using the current fill color, starting at specified position, and using specified paint method. The available paint methods are:</p>
410 PointMethod: Recolors the target pixel
411 ReplaceMethod: Recolor any pixel that matches the target pixel.
412 FloodfillMethod: Recolors target pixels and matching neighbors.
413 ResetMethod: Recolor all pixels.
416 <p>The format of the DrawColor method is:</p>
419 void DrawColor(DrawingWand *wand,const double x,const double y,
420 const PaintMethod paint_method)
423 <p>A description of each parameter follows:</p></ol>
426 <ol><p>the drawing wand.</p></ol>
429 <ol><p>x ordinate.</p></ol>
432 <ol><p>y ordinate.</p></ol>
434 <h5>paint_method</h5>
435 <ol><p>paint method.</p></ol>
438 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
439 _8c.html" target="source" name="DrawComment">DrawComment</a></h2>
440 <div class="doc-section">
442 <p>DrawComment() adds a comment to a vector output stream.</p></ol>
444 <p>The format of the DrawComment method is:</p>
447 void DrawComment(DrawingWand *wand,const char *comment)
450 <p>A description of each parameter follows:</p></ol>
453 <ol><p>the drawing wand.</p></ol>
456 <ol><p>comment text</p></ol>
459 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
460 _8c.html" target="source" name="DrawEllipse">DrawEllipse</a></h2>
461 <div class="doc-section">
463 <p>DrawEllipse() draws an ellipse on the image.</p></ol>
465 <p>The format of the DrawEllipse method is:</p>
468 void DrawEllipse(DrawingWand *wand,const double ox,const double oy,
469 const double rx,const double ry,const double start,const double end)
472 <p>A description of each parameter follows:</p></ol>
475 <ol><p>the drawing wand.</p></ol>
478 <ol><p>origin x ordinate</p></ol>
481 <ol><p>origin y ordinate</p></ol>
484 <ol><p>radius in x</p></ol>
487 <ol><p>radius in y</p></ol>
490 <ol><p>starting rotation in degrees</p></ol>
493 <ol><p>ending rotation in degrees</p></ol>
496 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
497 _8c.html" target="source" name="DrawGetBorderColor">DrawGetBorderColor</a></h2>
498 <div class="doc-section">
500 <p>DrawGetBorderColor() returns the border color used for drawing bordered objects.</p></ol>
502 <p>The format of the DrawGetBorderColor method is:</p>
505 void DrawGetBorderColor(const DrawingWand *wand,
506 PixelWand *border_color)
509 <p>A description of each parameter follows:</p></ol>
512 <ol><p>the drawing wand.</p></ol>
514 <h5>border_color</h5>
515 <ol><p>Return the border color.</p></ol>
518 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
519 _8c.html" target="source" name="DrawGetClipPath">DrawGetClipPath</a></h2>
520 <div class="doc-section">
522 <p>DrawGetClipPath() obtains the current clipping path ID. The value returned must be deallocated by the user when it is no longer needed.</p></ol>
524 <p>The format of the DrawGetClipPath method is:</p>
527 char *DrawGetClipPath(const DrawingWand *wand)
530 <p>A description of each parameter follows:</p></ol>
533 <ol><p>the drawing wand.</p></ol>
536 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
537 _8c.html" target="source" name="DrawGetClipRule">DrawGetClipRule</a></h2>
538 <div class="doc-section">
540 <p>DrawGetClipRule() returns the current polygon fill rule to be used by the clipping path.</p></ol>
542 <p>The format of the DrawGetClipRule method is:</p>
545 FillRule DrawGetClipRule(const DrawingWand *wand)
548 <p>A description of each parameter follows:</p></ol>
551 <ol><p>the drawing wand.</p></ol>
554 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
555 _8c.html" target="source" name="DrawGetClipUnits">DrawGetClipUnits</a></h2>
556 <div class="doc-section">
558 <p>DrawGetClipUnits() returns the interpretation of clip path units.</p></ol>
560 <p>The format of the DrawGetClipUnits method is:</p>
563 ClipPathUnits DrawGetClipUnits(const DrawingWand *wand)
566 <p>A description of each parameter follows:</p></ol>
569 <ol><p>the drawing wand.</p></ol>
572 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
573 _8c.html" target="source" name="DrawGetException">DrawGetException</a></h2>
574 <div class="doc-section">
576 <p>DrawGetException() returns the severity, reason, and description of any error that occurs when using other methods in this API.</p></ol>
578 <p>The format of the DrawGetException method is:</p>
581 char *DrawGetException(const DrawWand *wand,
582 ExceptionType *severity)
585 <p>A description of each parameter follows:</p></ol>
588 <ol><p>the drawing wand.</p></ol>
591 <ol><p>the severity of the error is returned here.</p></ol>
594 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
595 _8c.html" target="source" name="DrawGetExceptionType">DrawGetExceptionType</a></h2>
596 <div class="doc-section">
598 <p>DrawGetExceptionType() the exception type associated with the wand. If no exception has occurred, UndefinedExceptionType is returned.</p></ol>
600 <p>The format of the DrawGetExceptionType method is:</p>
603 ExceptionType DrawGetExceptionType(const DrawWand *wand)
606 <p>A description of each parameter follows:</p></ol>
609 <ol><p>the magick wand.</p></ol>
612 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
613 _8c.html" target="source" name="DrawGetFillColor">DrawGetFillColor</a></h2>
614 <div class="doc-section">
616 <p>DrawGetFillColor() returns the fill color used for drawing filled objects.</p></ol>
618 <p>The format of the DrawGetFillColor method is:</p>
621 void DrawGetFillColor(const DrawingWand *wand,
622 PixelWand *fill_color)
625 <p>A description of each parameter follows:</p></ol>
628 <ol><p>the drawing wand.</p></ol>
631 <ol><p>Return the fill color.</p></ol>
634 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
635 _8c.html" target="source" name="DrawGetFillOpacity">DrawGetFillOpacity</a></h2>
636 <div class="doc-section">
638 <p>DrawGetFillOpacity() returns the opacity used when drawing using the fill color or fill texture. Fully opaque is 1.0.</p></ol>
640 <p>The format of the DrawGetFillOpacity method is:</p>
643 double DrawGetFillOpacity(const DrawingWand *wand)
646 <p>A description of each parameter follows:</p></ol>
649 <ol><p>the drawing wand.</p></ol>
652 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
653 _8c.html" target="source" name="DrawGetFillRule">DrawGetFillRule</a></h2>
654 <div class="doc-section">
656 <p>DrawGetFillRule() returns the fill rule used while drawing polygons.</p></ol>
658 <p>The format of the DrawGetFillRule method is:</p>
661 FillRule DrawGetFillRule(const DrawingWand *wand)
664 <p>A description of each parameter follows:</p></ol>
667 <ol><p>the drawing wand.</p></ol>
670 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
671 _8c.html" target="source" name="DrawGetFont">DrawGetFont</a></h2>
672 <div class="doc-section">
674 <p>DrawGetFont() returns a null-terminaged string specifying the font used when annotating with text. The value returned must be freed by the user when no longer needed.</p></ol>
676 <p>The format of the DrawGetFont method is:</p>
679 char *DrawGetFont(const DrawingWand *wand)
682 <p>A description of each parameter follows:</p></ol>
685 <ol><p>the drawing wand.</p></ol>
688 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
689 _8c.html" target="source" name="DrawGetFontFamily">DrawGetFontFamily</a></h2>
690 <div class="doc-section">
692 <p>DrawGetFontFamily() returns the font family to use when annotating with text. The value returned must be freed by the user when it is no longer needed.</p></ol>
694 <p>The format of the DrawGetFontFamily method is:</p>
697 char *DrawGetFontFamily(const DrawingWand *wand)
700 <p>A description of each parameter follows:</p></ol>
703 <ol><p>the drawing wand.</p></ol>
706 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
707 _8c.html" target="source" name="DrawGetFontSize">DrawGetFontSize</a></h2>
708 <div class="doc-section">
710 <p>DrawGetFontSize() returns the font pointsize used when annotating with text.</p></ol>
712 <p>The format of the DrawGetFontSize method is:</p>
715 double DrawGetFontSize(const DrawingWand *wand)
718 <p>A description of each parameter follows:</p></ol>
721 <ol><p>the drawing wand.</p></ol>
724 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
725 _8c.html" target="source" name="DrawGetFontStretch">DrawGetFontStretch</a></h2>
726 <div class="doc-section">
728 <p>DrawGetFontStretch() returns the font stretch used when annotating with text.</p></ol>
730 <p>The format of the DrawGetFontStretch method is:</p>
733 StretchType DrawGetFontStretch(const DrawingWand *wand)
736 <p>A description of each parameter follows:</p></ol>
739 <ol><p>the drawing wand.</p></ol>
742 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
743 _8c.html" target="source" name="DrawGetFontStyle">DrawGetFontStyle</a></h2>
744 <div class="doc-section">
746 <p>DrawGetFontStyle() returns the font style used when annotating with text.</p></ol>
748 <p>The format of the DrawGetFontStyle method is:</p>
751 StyleType DrawGetFontStyle(const DrawingWand *wand)
754 <p>A description of each parameter follows:</p></ol>
757 <ol><p>the drawing wand.</p></ol>
760 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
761 _8c.html" target="source" name="DrawGetFontWeight">DrawGetFontWeight</a></h2>
762 <div class="doc-section">
764 <p>DrawGetFontWeight() returns the font weight used when annotating with text.</p></ol>
766 <p>The format of the DrawGetFontWeight method is:</p>
769 unsigned long DrawGetFontWeight(const DrawingWand *wand)
772 <p>A description of each parameter follows:</p></ol>
775 <ol><p>the drawing wand.</p></ol>
778 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
779 _8c.html" target="source" name="DrawGetGravity">DrawGetGravity</a></h2>
780 <div class="doc-section">
782 <p>DrawGetGravity() returns the text placement gravity used when annotating with text.</p></ol>
784 <p>The format of the DrawGetGravity method is:</p>
787 GravityType DrawGetGravity(const DrawingWand *wand)
790 <p>A description of each parameter follows:</p></ol>
793 <ol><p>the drawing wand.</p></ol>
796 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
797 _8c.html" target="source" name="DrawGetOpacity">DrawGetOpacity</a></h2>
798 <div class="doc-section">
800 <p>DrawGetOpacity() returns the opacity used when drawing with the fill or stroke color or texture. Fully opaque is 1.0.</p></ol>
802 <p>The format of the DrawGetOpacity method is:</p>
805 double DrawGetOpacity(const DrawingWand *wand)
808 <p>A description of each parameter follows:</p></ol>
811 <ol><p>the drawing wand.</p></ol>
814 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
815 _8c.html" target="source" name="DrawGetStrokeAntialias">DrawGetStrokeAntialias</a></h2>
816 <div class="doc-section">
818 <p>DrawGetStrokeAntialias() returns the current stroke antialias setting. Stroked outlines are antialiased by default. When antialiasing is disabled stroked pixels are thresholded to determine if the stroke color or underlying canvas color should be used.</p></ol>
820 <p>The format of the DrawGetStrokeAntialias method is:</p>
823 MagickBooleanType DrawGetStrokeAntialias(const DrawingWand *wand)
826 <p>A description of each parameter follows:</p></ol>
829 <ol><p>the drawing wand.</p></ol>
832 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
833 _8c.html" target="source" name="DrawGetStrokeColor">DrawGetStrokeColor</a></h2>
834 <div class="doc-section">
836 <p>DrawGetStrokeColor() returns the color used for stroking object outlines.</p></ol>
838 <p>The format of the DrawGetStrokeColor method is:</p>
841 void DrawGetStrokeColor(const DrawingWand *wand,
842 $ PixelWand *stroke_color)
845 <p>A description of each parameter follows:</p></ol>
848 <ol><p>the drawing wand.</p></ol>
850 <h5>stroke_color</h5>
851 <ol><p>Return the stroke color.</p></ol>
854 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
855 _8c.html" target="source" name="DrawGetStrokeDashArray">DrawGetStrokeDashArray</a></h2>
856 <div class="doc-section">
858 <p>DrawGetStrokeDashArray() returns an array representing the pattern of dashes and gaps used to stroke paths (see DrawSetStrokeDashArray). The array must be freed once it is no longer required by the user.</p></ol>
860 <p>The format of the DrawGetStrokeDashArray method is:</p>
863 double *DrawGetStrokeDashArray(const DrawingWand *wand,
864 unsigned long *number_elements)
867 <p>A description of each parameter follows:</p></ol>
870 <ol><p>the drawing wand.</p></ol>
872 <h5>number_elements</h5>
873 <ol><p>address to place number of elements in dash array</p></ol>
876 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
877 _8c.html" target="source" name="DrawGetStrokeDashOffset">DrawGetStrokeDashOffset</a></h2>
878 <div class="doc-section">
880 <p>DrawGetStrokeDashOffset() returns the offset into the dash pattern to start the dash.</p></ol>
882 <p>The format of the DrawGetStrokeDashOffset method is:</p>
885 double DrawGetStrokeDashOffset(const DrawingWand *wand)
888 <p>A description of each parameter follows:</p></ol>
891 <ol><p>the drawing wand.</p></ol>
894 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
895 _8c.html" target="source" name="DrawGetStrokeLineCap">DrawGetStrokeLineCap</a></h2>
896 <div class="doc-section">
898 <p>DrawGetStrokeLineCap() returns the shape to be used at the end of open subpaths when they are stroked. Values of LineCap are UndefinedCap, ButtCap, RoundCap, and SquareCap.</p></ol>
900 <p>The format of the DrawGetStrokeLineCap method is:</p>
903 LineCap DrawGetStrokeLineCap(const DrawingWand *wand)
906 <p>A description of each parameter follows:</p></ol>
909 <ol><p>the drawing wand.</p></ol>
912 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
913 _8c.html" target="source" name="DrawGetStrokeLineJoin">DrawGetStrokeLineJoin</a></h2>
914 <div class="doc-section">
916 <p>DrawGetStrokeLineJoin() returns the shape to be used at the corners of paths (or other vector shapes) when they are stroked. Values of LineJoin are UndefinedJoin, MiterJoin, RoundJoin, and BevelJoin.</p></ol>
918 <p>The format of the DrawGetStrokeLineJoin method is:</p>
921 LineJoin DrawGetStrokeLineJoin(const DrawingWand *wand)
924 <p>A description of each parameter follows:</p></ol>
927 <ol><p>the drawing wand.</p></ol>
930 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
931 _8c.html" target="source" name="DrawGetStrokeMiterLimit">DrawGetStrokeMiterLimit</a></h2>
932 <div class="doc-section">
934 <p>DrawGetStrokeMiterLimit() returns the miter limit. When two line segments meet at a sharp angle and miter joins have been specified for 'lineJoin', it is possible for the miter to extend far beyond the thickness of the line stroking the path. The miterLimit' imposes a limit on the ratio of the miter length to the 'lineWidth'.</p></ol>
936 <p>The format of the DrawGetStrokeMiterLimit method is:</p>
939 unsigned long DrawGetStrokeMiterLimit(const DrawingWand *wand)
942 <p>A description of each parameter follows:</p></ol>
945 <ol><p>the drawing wand.</p></ol>
948 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
949 _8c.html" target="source" name="DrawGetStrokeOpacity">DrawGetStrokeOpacity</a></h2>
950 <div class="doc-section">
952 <p>DrawGetStrokeOpacity() returns the opacity of stroked object outlines.</p></ol>
954 <p>The format of the DrawGetStrokeOpacity method is:</p>
957 double DrawGetStrokeOpacity(const DrawingWand *wand)
960 <p>A description of each parameter follows:</p></ol>
963 <ol><p>the drawing wand.</p></ol>
966 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
967 _8c.html" target="source" name="DrawGetStrokeWidth">DrawGetStrokeWidth</a></h2>
968 <div class="doc-section">
970 <p>DrawGetStrokeWidth() returns the width of the stroke used to draw object outlines.</p></ol>
972 <p>The format of the DrawGetStrokeWidth method is:</p>
975 double DrawGetStrokeWidth(const DrawingWand *wand)
978 <p>A description of each parameter follows:</p></ol>
981 <ol><p>the drawing wand.</p></ol>
984 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
985 _8c.html" target="source" name="DrawGetTextAlignment">DrawGetTextAlignment</a></h2>
986 <div class="doc-section">
988 <p>DrawGetTextAlignment() returns the alignment applied when annotating with text.</p></ol>
990 <p>The format of the DrawGetTextAlignment method is:</p>
993 AlignType DrawGetTextAlignment(DrawingWand *wand)
996 <p>A description of each parameter follows:</p></ol>
999 <ol><p>the drawing wand.</p></ol>
1002 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1003 _8c.html" target="source" name="DrawGetTextAntialias">DrawGetTextAntialias</a></h2>
1004 <div class="doc-section">
1006 <p>DrawGetTextAntialias() returns the current text antialias setting, which determines whether text is antialiased. Text is antialiased by default.</p></ol>
1008 <p>The format of the DrawGetTextAntialias method is:</p>
1011 MagickBooleanType DrawGetTextAntialias(const DrawingWand *wand)
1014 <p>A description of each parameter follows:</p></ol>
1017 <ol><p>the drawing wand.</p></ol>
1020 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1021 _8c.html" target="source" name="DrawGetTextDecoration">DrawGetTextDecoration</a></h2>
1022 <div class="doc-section">
1024 <p>DrawGetTextDecoration() returns the decoration applied when annotating with text.</p></ol>
1026 <p>The format of the DrawGetTextDecoration method is:</p>
1029 DecorationType DrawGetTextDecoration(DrawingWand *wand)
1032 <p>A description of each parameter follows:</p></ol>
1035 <ol><p>the drawing wand.</p></ol>
1038 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1039 _8c.html" target="source" name="DrawGetTextEncoding">DrawGetTextEncoding</a></h2>
1040 <div class="doc-section">
1042 <p>DrawGetTextEncoding() returns a null-terminated string which specifies the code set used for text annotations. The string must be freed by the user once it is no longer required.</p></ol>
1044 <p>The format of the DrawGetTextEncoding method is:</p>
1047 char *DrawGetTextEncoding(const DrawingWand *wand)
1050 <p>A description of each parameter follows:</p></ol>
1053 <ol><p>the drawing wand.</p></ol>
1056 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1057 _8c.html" target="source" name="DrawGetTextKerning">DrawGetTextKerning</a></h2>
1058 <div class="doc-section">
1060 <p>DrawGetTextKerning() gets the spacing between characters in text.</p></ol>
1062 <p>The format of the DrawSetFontKerning method is:</p>
1065 double DrawGetTextKerning(DrawingWand *wand)
1068 <p>A description of each parameter follows:</p></ol>
1071 <ol><p>the drawing wand.</p></ol>
1074 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1075 _8c.html" target="source" name="DrawGetTextInterwordSpacing">DrawGetTextInterwordSpacing</a></h2>
1076 <div class="doc-section">
1078 <p>DrawGetTextInterwordSpacing() gets the spacing between words in text.</p></ol>
1080 <p>The format of the DrawSetFontKerning method is:</p>
1083 double DrawGetTextInterwordSpacing(DrawingWand *wand)
1086 <p>A description of each parameter follows:</p></ol>
1089 <ol><p>the drawing wand.</p></ol>
1092 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1093 _8c.html" target="source" name="DrawGetVectorGraphics">DrawGetVectorGraphics</a></h2>
1094 <div class="doc-section">
1096 <p>DrawGetVectorGraphics() returns a null-terminated string which specifies the vector graphics generated by any graphics calls made since the wand was instantiated. The string must be freed by the user once it is no longer required.</p></ol>
1098 <p>The format of the DrawGetVectorGraphics method is:</p>
1101 char *DrawGetVectorGraphics(const DrawingWand *wand)
1104 <p>A description of each parameter follows:</p></ol>
1107 <ol><p>the drawing wand.</p></ol>
1110 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1111 _8c.html" target="source" name="DrawGetTextUnderColor">DrawGetTextUnderColor</a></h2>
1112 <div class="doc-section">
1114 <p>DrawGetTextUnderColor() returns the color of a background rectangle to place under text annotations.</p></ol>
1116 <p>The format of the DrawGetTextUnderColor method is:</p>
1119 void DrawGetTextUnderColor(const DrawingWand *wand,
1120 PixelWand *under_color)
1123 <p>A description of each parameter follows:</p></ol>
1126 <ol><p>the drawing wand.</p></ol>
1128 <h5>under_color</h5>
1129 <ol><p>Return the under color.</p></ol>
1132 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1133 _8c.html" target="source" name="DrawLine">DrawLine</a></h2>
1134 <div class="doc-section">
1136 <p>DrawLine() draws a line on the image using the current stroke color, stroke opacity, and stroke width.</p></ol>
1138 <p>The format of the DrawLine method is:</p>
1141 void DrawLine(DrawingWand *wand,const double sx,const double sy,
1142 const double ex,const double ey)
1145 <p>A description of each parameter follows:</p></ol>
1148 <ol><p>the drawing wand.</p></ol>
1151 <ol><p>starting x ordinate</p></ol>
1154 <ol><p>starting y ordinate</p></ol>
1157 <ol><p>ending x ordinate</p></ol>
1160 <ol><p>ending y ordinate</p></ol>
1163 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1164 _8c.html" target="source" name="DrawMatte">DrawMatte</a></h2>
1165 <div class="doc-section">
1167 <p>DrawMatte() paints on the image's opacity channel in order to set effected pixels to transparent. to influence the opacity of pixels. The available paint methods are:</p>
1170 PointMethod: Select the target pixel
1171 ReplaceMethod: Select any pixel that matches the target pixel.
1172 FloodfillMethod: Select the target pixel and matching neighbors.
1173 FillToBorderMethod: Select the target pixel and neighbors not matching
1175 ResetMethod: Select all pixels.
1178 <p>The format of the DrawMatte method is:</p>
1181 void DrawMatte(DrawingWand *wand,const double x,const double y,
1182 const PaintMethod paint_method)
1185 <p>A description of each parameter follows:</p></ol>
1188 <ol><p>the drawing wand.</p></ol>
1191 <ol><p>x ordinate</p></ol>
1194 <ol><p>y ordinate</p></ol>
1196 <h5>paint_method</h5>
1197 <ol><p>paint method.</p></ol>
1200 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1201 _8c.html" target="source" name="DrawPathClose">DrawPathClose</a></h2>
1202 <div class="doc-section">
1204 <p>DrawPathClose() adds a path element to the current path which closes the current subpath by drawing a straight line from the current point to the current subpath's most recent starting point (usually, the most recent moveto point).</p></ol>
1206 <p>The format of the DrawPathClose method is:</p>
1209 void DrawPathClose(DrawingWand *wand)
1212 <p>A description of each parameter follows:</p></ol>
1215 <ol><p>the drawing wand.</p></ol>
1218 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1219 _8c.html" target="source" name="DrawPathCurveToAbsolute">DrawPathCurveToAbsolute</a></h2>
1220 <div class="doc-section">
1222 <p>DrawPathCurveToAbsolute() draws a cubic Bezier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve using absolute coordinates. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></ol>
1224 <p>The format of the DrawPathCurveToAbsolute method is:</p>
1227 void DrawPathCurveToAbsolute(DrawingWand *wand,const double x1,
1228 const double y1,const double x2,const double y2,const double x,
1232 <p>A description of each parameter follows:</p></ol>
1235 <ol><p>the drawing wand.</p></ol>
1238 <ol><p>x ordinate of control point for curve beginning</p></ol>
1241 <ol><p>y ordinate of control point for curve beginning</p></ol>
1244 <ol><p>x ordinate of control point for curve ending</p></ol>
1247 <ol><p>y ordinate of control point for curve ending</p></ol>
1250 <ol><p>x ordinate of the end of the curve</p></ol>
1253 <ol><p>y ordinate of the end of the curve</p></ol>
1256 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1257 _8c.html" target="source" name="DrawPathCurveToRelative">DrawPathCurveToRelative</a></h2>
1258 <div class="doc-section">
1260 <p>DrawPathCurveToRelative() draws a cubic Bezier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve using relative coordinates. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></ol>
1262 <p>The format of the DrawPathCurveToRelative method is:</p>
1265 void DrawPathCurveToRelative(DrawingWand *wand,const double x1,
1266 const double y1,const double x2,const double y2,const double x,
1270 <p>A description of each parameter follows:</p></ol>
1273 <ol><p>the drawing wand.</p></ol>
1276 <ol><p>x ordinate of control point for curve beginning</p></ol>
1279 <ol><p>y ordinate of control point for curve beginning</p></ol>
1282 <ol><p>x ordinate of control point for curve ending</p></ol>
1285 <ol><p>y ordinate of control point for curve ending</p></ol>
1288 <ol><p>x ordinate of the end of the curve</p></ol>
1291 <ol><p>y ordinate of the end of the curve</p></ol>
1294 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1295 _8c.html" target="source" name="DrawPathCurveToQuadraticBezierAbsolute">DrawPathCurveToQuadraticBezierAbsolute</a></h2>
1296 <div class="doc-section">
1298 <p>DrawPathCurveToQuadraticBezierAbsolute() draws a quadratic Bezier curve from the current point to (x,y) using (x1,y1) as the control point using absolute coordinates. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></ol>
1300 <p>The format of the DrawPathCurveToQuadraticBezierAbsolute method is:</p>
1303 void DrawPathCurveToQuadraticBezierAbsolute(DrawingWand *wand,
1304 const double x1,const double y1,onst double x,const double y)
1307 <p>A description of each parameter follows:</p></ol>
1310 <ol><p>the drawing wand.</p></ol>
1313 <ol><p>x ordinate of the control point</p></ol>
1316 <ol><p>y ordinate of the control point</p></ol>
1319 <ol><p>x ordinate of final point</p></ol>
1322 <ol><p>y ordinate of final point</p></ol>
1325 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1326 _8c.html" target="source" name="DrawPathCurveToQuadraticBezierRelative">DrawPathCurveToQuadraticBezierRelative</a></h2>
1327 <div class="doc-section">
1329 <p>DrawPathCurveToQuadraticBezierRelative() draws a quadratic Bezier curve from the current point to (x,y) using (x1,y1) as the control point using relative coordinates. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></ol>
1331 <p>The format of the DrawPathCurveToQuadraticBezierRelative method is:</p>
1334 void DrawPathCurveToQuadraticBezierRelative(DrawingWand *wand,
1335 const double x1,const double y1,const double x,const double y)
1338 <p>A description of each parameter follows:</p></ol>
1341 <ol><p>the drawing wand.</p></ol>
1344 <ol><p>x ordinate of the control point</p></ol>
1347 <ol><p>y ordinate of the control point</p></ol>
1350 <ol><p>x ordinate of final point</p></ol>
1353 <ol><p>y ordinate of final point</p></ol>
1356 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1357 _8c.html" target="source" name="DrawPathCurveToQuadraticBezierSmoothAbsolute">DrawPathCurveToQuadraticBezierSmoothAbsolute</a></h2>
1358 <div class="doc-section">
1360 <p>DrawPathCurveToQuadraticBezierSmoothAbsolute() draws a quadratic Bezier curve (using absolute coordinates) from the current point to (x,y). The control point is assumed to be the reflection of the control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not a DrawPathCurveToQuadraticBezierAbsolute, DrawPathCurveToQuadraticBezierRelative, DrawPathCurveToQuadraticBezierSmoothAbsolute or DrawPathCurveToQuadraticBezierSmoothRelative, assume the control point is coincident with the current point.). At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></ol>
1362 <p>The format of the DrawPathCurveToQuadraticBezierSmoothAbsolute method is:</p>
1365 void DrawPathCurveToQuadraticBezierSmoothAbsolute(
1366 DrawingWand *wand,const double x,const double y)
1369 <p>A description of each parameter follows:</p></ol>
1372 <ol><p>the drawing wand.</p></ol>
1375 <ol><p>x ordinate of final point</p></ol>
1378 <ol><p>y ordinate of final point</p></ol>
1381 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1382 _8c.html" target="source" name="DrawPathCurveToQuadraticBezierSmoothAbsolute">DrawPathCurveToQuadraticBezierSmoothAbsolute</a></h2>
1383 <div class="doc-section">
1385 <p>DrawPathCurveToQuadraticBezierSmoothAbsolute() draws a quadratic Bezier curve (using relative coordinates) from the current point to (x,y). The control point is assumed to be the reflection of the control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not a DrawPathCurveToQuadraticBezierAbsolute, DrawPathCurveToQuadraticBezierRelative, DrawPathCurveToQuadraticBezierSmoothAbsolute or DrawPathCurveToQuadraticBezierSmoothRelative, assume the control point is coincident with the current point.). At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></ol>
1387 <p>The format of the DrawPathCurveToQuadraticBezierSmoothRelative method is:</p>
1390 void DrawPathCurveToQuadraticBezierSmoothRelative(DrawingWand *wand,
1391 const double x,const double y)
1394 <p>A description of each parameter follows:</p></ol>
1397 <ol><p>the drawing wand.</p></ol>
1400 <ol><p>x ordinate of final point</p></ol>
1403 <ol><p>y ordinate of final point</p></ol>
1406 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1407 _8c.html" target="source" name="DrawPathCurveToSmoothAbsolute">DrawPathCurveToSmoothAbsolute</a></h2>
1408 <div class="doc-section">
1410 <p>DrawPathCurveToSmoothAbsolute() draws a cubic Bezier curve from the current point to (x,y) using absolute coordinates. The first control point is assumed to be the reflection of the second control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not an DrawPathCurveToAbsolute, DrawPathCurveToRelative, DrawPathCurveToSmoothAbsolute or DrawPathCurveToSmoothRelative, assume the first control point is coincident with the current point.) (x2,y2) is the second control point (i.e., the control point at the end of the curve). At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></ol>
1412 <p>The format of the DrawPathCurveToSmoothAbsolute method is:</p>
1415 void DrawPathCurveToSmoothAbsolute(DrawingWand *wand,
1416 const double x2const double y2,const double x,const double y)
1419 <p>A description of each parameter follows:</p></ol>
1422 <ol><p>the drawing wand.</p></ol>
1425 <ol><p>x ordinate of second control point</p></ol>
1428 <ol><p>y ordinate of second control point</p></ol>
1431 <ol><p>x ordinate of termination point</p></ol>
1434 <ol><p>y ordinate of termination point</p></ol>
1437 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1438 _8c.html" target="source" name="DrawPathCurveToSmoothRelative">DrawPathCurveToSmoothRelative</a></h2>
1439 <div class="doc-section">
1441 <p>DrawPathCurveToSmoothRelative() draws a cubic Bezier curve from the current point to (x,y) using relative coordinates. The first control point is assumed to be the reflection of the second control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not an DrawPathCurveToAbsolute, DrawPathCurveToRelative, DrawPathCurveToSmoothAbsolute or DrawPathCurveToSmoothRelative, assume the first control point is coincident with the current point.) (x2,y2) is the second control point (i.e., the control point at the end of the curve). At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></ol>
1443 <p>The format of the DrawPathCurveToSmoothRelative method is:</p>
1446 void DrawPathCurveToSmoothRelative(DrawingWand *wand,
1447 const double x2,const double y2,const double x,const double y)
1450 <p>A description of each parameter follows:</p></ol>
1453 <ol><p>the drawing wand.</p></ol>
1456 <ol><p>x ordinate of second control point</p></ol>
1459 <ol><p>y ordinate of second control point</p></ol>
1462 <ol><p>x ordinate of termination point</p></ol>
1465 <ol><p>y ordinate of termination point</p></ol>
1468 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1469 _8c.html" target="source" name="DrawPathEllipticArcAbsolute">DrawPathEllipticArcAbsolute</a></h2>
1470 <div class="doc-section">
1472 <p>DrawPathEllipticArcAbsolute() draws an elliptical arc from the current point to (x, y) using absolute coordinates. The size and orientation of the ellipse are defined by two radii (rx, ry) and an xAxisRotation, which indicates how the ellipse as a whole is rotated relative to the current coordinate system. The center (cx, cy) of the ellipse is calculated automagically to satisfy the constraints imposed by the other parameters. largeArcFlag and sweepFlag contribute to the automatic calculations and help determine how the arc is drawn. If largeArcFlag is true then draw the larger of the available arcs. If sweepFlag is true, then draw the arc matching a clock-wise rotation.</p></ol>
1474 <p>The format of the DrawPathEllipticArcAbsolute method is:</p>
1477 void DrawPathEllipticArcAbsolute(DrawingWand *wand,
1478 const double rx,const double ry,const double x_axis_rotation,
1479 const MagickBooleanType large_arc_flag,
1480 const MagickBooleanType sweep_flag,const double x,const double y)
1483 <p>A description of each parameter follows:</p></ol>
1486 <ol><p>the drawing wand.</p></ol>
1489 <ol><p>x radius</p></ol>
1492 <ol><p>y radius</p></ol>
1494 <h5>x_axis_rotation</h5>
1495 <ol><p>indicates how the ellipse as a whole is rotated relative to the current coordinate system</p></ol>
1497 <h5>large_arc_flag</h5>
1498 <ol><p>If non-zero (true) then draw the larger of the available arcs</p></ol>
1501 <ol><p>If non-zero (true) then draw the arc matching a clock-wise rotation</p></ol>
1505 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1506 _8c.html" target="source" name="DrawPathEllipticArcRelative">DrawPathEllipticArcRelative</a></h2>
1507 <div class="doc-section">
1509 <p>DrawPathEllipticArcRelative() draws an elliptical arc from the current point to (x, y) using relative coordinates. The size and orientation of the ellipse are defined by two radii (rx, ry) and an xAxisRotation, which indicates how the ellipse as a whole is rotated relative to the current coordinate system. The center (cx, cy) of the ellipse is calculated automagically to satisfy the constraints imposed by the other parameters. largeArcFlag and sweepFlag contribute to the automatic calculations and help determine how the arc is drawn. If largeArcFlag is true then draw the larger of the available arcs. If sweepFlag is true, then draw the arc matching a clock-wise rotation.</p></ol>
1511 <p>The format of the DrawPathEllipticArcRelative method is:</p>
1514 void DrawPathEllipticArcRelative(DrawingWand *wand,
1515 const double rx,const double ry,const double x_axis_rotation,
1516 const MagickBooleanType large_arc_flag,
1517 const MagickBooleanType sweep_flag,const double x,const double y)
1520 <p>A description of each parameter follows:</p></ol>
1523 <ol><p>the drawing wand.</p></ol>
1526 <ol><p>x radius</p></ol>
1529 <ol><p>y radius</p></ol>
1531 <h5>x_axis_rotation</h5>
1532 <ol><p>indicates how the ellipse as a whole is rotated relative to the current coordinate system</p></ol>
1534 <h5>large_arc_flag</h5>
1535 <ol><p>If non-zero (true) then draw the larger of the available arcs</p></ol>
1538 <ol><p>If non-zero (true) then draw the arc matching a clock-wise rotation</p></ol>
1541 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1542 _8c.html" target="source" name="DrawPathFinish">DrawPathFinish</a></h2>
1543 <div class="doc-section">
1545 <p>DrawPathFinish() terminates the current path.</p></ol>
1547 <p>The format of the DrawPathFinish method is:</p>
1550 void DrawPathFinish(DrawingWand *wand)
1553 <p>A description of each parameter follows:</p></ol>
1556 <ol><p>the drawing wand.</p></ol>
1559 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1560 _8c.html" target="source" name="DrawPathLineToAbsolute">DrawPathLineToAbsolute</a></h2>
1561 <div class="doc-section">
1563 <p>DrawPathLineToAbsolute() draws a line path from the current point to the given coordinate using absolute coordinates. The coordinate then becomes the new current point.</p></ol>
1565 <p>The format of the DrawPathLineToAbsolute method is:</p>
1568 void DrawPathLineToAbsolute(DrawingWand *wand,const double x,
1572 <p>A description of each parameter follows:</p></ol>
1575 <ol><p>the drawing wand.</p></ol>
1578 <ol><p>target x ordinate</p></ol>
1581 <ol><p>target y ordinate</p></ol>
1584 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1585 _8c.html" target="source" name="DrawPathLineToRelative">DrawPathLineToRelative</a></h2>
1586 <div class="doc-section">
1588 <p>DrawPathLineToRelative() draws a line path from the current point to the given coordinate using relative coordinates. The coordinate then becomes the new current point.</p></ol>
1590 <p>The format of the DrawPathLineToRelative method is:</p>
1593 void DrawPathLineToRelative(DrawingWand *wand,const double x,
1597 <p>A description of each parameter follows:</p></ol>
1600 <ol><p>the drawing wand.</p></ol>
1603 <ol><p>target x ordinate</p></ol>
1606 <ol><p>target y ordinate</p></ol>
1609 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1610 _8c.html" target="source" name="DrawPathLineToHorizontalAbsolute">DrawPathLineToHorizontalAbsolute</a></h2>
1611 <div class="doc-section">
1613 <p>DrawPathLineToHorizontalAbsolute() draws a horizontal line path from the current point to the target point using absolute coordinates. The target point then becomes the new current point.</p></ol>
1615 <p>The format of the DrawPathLineToHorizontalAbsolute method is:</p>
1618 void DrawPathLineToHorizontalAbsolute(DrawingWand *wand,
1619 const PathMode mode,const double x)
1622 <p>A description of each parameter follows:</p></ol>
1625 <ol><p>the drawing wand.</p></ol>
1628 <ol><p>target x ordinate</p></ol>
1631 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1632 _8c.html" target="source" name="DrawPathLineToHorizontalRelative">DrawPathLineToHorizontalRelative</a></h2>
1633 <div class="doc-section">
1635 <p>DrawPathLineToHorizontalRelative() draws a horizontal line path from the current point to the target point using relative coordinates. The target point then becomes the new current point.</p></ol>
1637 <p>The format of the DrawPathLineToHorizontalRelative method is:</p>
1640 void DrawPathLineToHorizontalRelative(DrawingWand *wand,
1644 <p>A description of each parameter follows:</p></ol>
1647 <ol><p>the drawing wand.</p></ol>
1650 <ol><p>target x ordinate</p></ol>
1653 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1654 _8c.html" target="source" name="DrawPathLineToVerticalAbsolute">DrawPathLineToVerticalAbsolute</a></h2>
1655 <div class="doc-section">
1657 <p>DrawPathLineToVerticalAbsolute() draws a vertical line path from the current point to the target point using absolute coordinates. The target point then becomes the new current point.</p></ol>
1659 <p>The format of the DrawPathLineToVerticalAbsolute method is:</p>
1662 void DrawPathLineToVerticalAbsolute(DrawingWand *wand,
1666 <p>A description of each parameter follows:</p></ol>
1669 <ol><p>the drawing wand.</p></ol>
1672 <ol><p>target y ordinate</p></ol>
1675 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1676 _8c.html" target="source" name="DrawPathLineToVerticalRelative">DrawPathLineToVerticalRelative</a></h2>
1677 <div class="doc-section">
1679 <p>DrawPathLineToVerticalRelative() draws a vertical line path from the current point to the target point using relative coordinates. The target point then becomes the new current point.</p></ol>
1681 <p>The format of the DrawPathLineToVerticalRelative method is:</p>
1684 void DrawPathLineToVerticalRelative(DrawingWand *wand,
1688 <p>A description of each parameter follows:</p></ol>
1691 <ol><p>the drawing wand.</p></ol>
1694 <ol><p>target y ordinate</p></ol>
1697 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1698 _8c.html" target="source" name="DrawPathMoveToAbsolute">DrawPathMoveToAbsolute</a></h2>
1699 <div class="doc-section">
1701 <p>DrawPathMoveToAbsolute() starts a new sub-path at the given coordinate using absolute coordinates. The current point then becomes the specified coordinate.</p></ol>
1703 <p>The format of the DrawPathMoveToAbsolute method is:</p>
1706 void DrawPathMoveToAbsolute(DrawingWand *wand,const double x,
1710 <p>A description of each parameter follows:</p></ol>
1713 <ol><p>the drawing wand.</p></ol>
1716 <ol><p>target x ordinate</p></ol>
1719 <ol><p>target y ordinate</p></ol>
1722 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1723 _8c.html" target="source" name="DrawPathMoveToRelative">DrawPathMoveToRelative</a></h2>
1724 <div class="doc-section">
1726 <p>DrawPathMoveToRelative() starts a new sub-path at the given coordinate using relative coordinates. The current point then becomes the specified coordinate.</p></ol>
1728 <p>The format of the DrawPathMoveToRelative method is:</p>
1731 void DrawPathMoveToRelative(DrawingWand *wand,const double x,
1735 <p>A description of each parameter follows:</p></ol>
1738 <ol><p>the drawing wand.</p></ol>
1741 <ol><p>target x ordinate</p></ol>
1744 <ol><p>target y ordinate</p></ol>
1747 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1748 _8c.html" target="source" name="DrawPathStart">DrawPathStart</a></h2>
1749 <div class="doc-section">
1751 <p>DrawPathStart() declares the start of a path drawing list which is terminated by a matching DrawPathFinish() command. All other DrawPath commands must be enclosed between a DrawPathStart() and a DrawPathFinish() command. This is because path drawing commands are subordinate commands and they do not function by themselves.</p></ol>
1753 <p>The format of the DrawPathStart method is:</p>
1756 void DrawPathStart(DrawingWand *wand)
1759 <p>A description of each parameter follows:</p></ol>
1762 <ol><p>the drawing wand.</p></ol>
1765 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1766 _8c.html" target="source" name="DrawPoint">DrawPoint</a></h2>
1767 <div class="doc-section">
1769 <p>DrawPoint() draws a point using the current fill color.</p></ol>
1771 <p>The format of the DrawPoint method is:</p>
1774 void DrawPoint(DrawingWand *wand,const double x,const double y)
1777 <p>A description of each parameter follows:</p></ol>
1780 <ol><p>the drawing wand.</p></ol>
1783 <ol><p>target x coordinate</p></ol>
1786 <ol><p>target y coordinate</p></ol>
1789 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1790 _8c.html" target="source" name="DrawPolygon">DrawPolygon</a></h2>
1791 <div class="doc-section">
1793 <p>DrawPolygon() draws a polygon using the current stroke, stroke width, and fill color or texture, using the specified array of coordinates.</p></ol>
1795 <p>The format of the DrawPolygon method is:</p>
1798 void DrawPolygon(DrawingWand *wand,
1799 const unsigned long number_coordinates,const PointInfo *coordinates)
1802 <p>A description of each parameter follows:</p></ol>
1805 <ol><p>the drawing wand.</p></ol>
1807 <h5>number_coordinates</h5>
1808 <ol><p>number of coordinates</p></ol>
1810 <h5>coordinates</h5>
1811 <ol><p>coordinate array</p></ol>
1814 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1815 _8c.html" target="source" name="DrawPolyline">DrawPolyline</a></h2>
1816 <div class="doc-section">
1818 <p>DrawPolyline() draws a polyline using the current stroke, stroke width, and fill color or texture, using the specified array of coordinates.</p></ol>
1820 <p>The format of the DrawPolyline method is:</p>
1823 void DrawPolyline(DrawingWand *wand,
1824 const unsigned long number_coordinates,const PointInfo *coordinates)
1827 <p>A description of each parameter follows:</p></ol>
1830 <ol><p>the drawing wand.</p></ol>
1832 <h5>number_coordinates</h5>
1833 <ol><p>number of coordinates</p></ol>
1835 <h5>coordinates</h5>
1836 <ol><p>coordinate array</p></ol>
1839 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1840 _8c.html" target="source" name="DrawPopClipPath">DrawPopClipPath</a></h2>
1841 <div class="doc-section">
1843 <p>DrawPopClipPath() terminates a clip path definition.</p></ol>
1845 <p>The format of the DrawPopClipPath method is:</p>
1848 void DrawPopClipPath(DrawingWand *wand)
1851 <p>A description of each parameter follows:</p></ol>
1854 <ol><p>the drawing wand.</p></ol>
1857 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1858 _8c.html" target="source" name="DrawPopDefs">DrawPopDefs</a></h2>
1859 <div class="doc-section">
1861 <p>DrawPopDefs() terminates a definition list.</p></ol>
1863 <p>The format of the DrawPopDefs method is:</p>
1866 void DrawPopDefs(DrawingWand *wand)
1869 <p>A description of each parameter follows:</p></ol>
1872 <ol><p>the drawing wand.</p></ol>
1875 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1876 _8c.html" target="source" name="DrawPopPattern">DrawPopPattern</a></h2>
1877 <div class="doc-section">
1879 <p>DrawPopPattern() terminates a pattern definition.</p></ol>
1881 <p>The format of the DrawPopPattern method is:</p>
1884 MagickBooleanType DrawPopPattern(DrawingWand *wand)
1887 <p>A description of each parameter follows:</p></ol>
1890 <ol><p>the drawing wand.</p></ol>
1893 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1894 _8c.html" target="source" name="DrawPushClipPath">DrawPushClipPath</a></h2>
1895 <div class="doc-section">
1897 <p>DrawPushClipPath() starts a clip path definition which is comprized of any number of drawing commands and terminated by a DrawPopClipPath() command.</p></ol>
1899 <p>The format of the DrawPushClipPath method is:</p>
1902 void DrawPushClipPath(DrawingWand *wand,const char *clip_mask_id)
1905 <p>A description of each parameter follows:</p></ol>
1908 <ol><p>the drawing wand.</p></ol>
1910 <h5>clip_mask_id</h5>
1911 <ol><p>string identifier to associate with the clip path for later use.</p></ol>
1914 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1915 _8c.html" target="source" name="DrawPushDefs">DrawPushDefs</a></h2>
1916 <div class="doc-section">
1918 <p>DrawPushDefs() indicates that commands up to a terminating DrawPopDefs() command create named elements (e.g. clip-paths, textures, etc.) which may safely be processed earlier for the sake of efficiency.</p></ol>
1920 <p>The format of the DrawPushDefs method is:</p>
1923 void DrawPushDefs(DrawingWand *wand)
1926 <p>A description of each parameter follows:</p></ol>
1929 <ol><p>the drawing wand.</p></ol>
1932 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1933 _8c.html" target="source" name="DrawPushPattern">DrawPushPattern</a></h2>
1934 <div class="doc-section">
1936 <p>DrawPushPattern() indicates that subsequent commands up to a DrawPopPattern() command comprise the definition of a named pattern. The pattern space is assigned top left corner coordinates, a width and height, and becomes its own drawing space. Anything which can be drawn may be used in a pattern definition. Named patterns may be used as stroke or brush definitions.</p></ol>
1938 <p>The format of the DrawPushPattern method is:</p>
1941 MagickBooleanType DrawPushPattern(DrawingWand *wand,
1942 const char *pattern_id,const double x,const double y,
1943 const double width,const double height)
1946 <p>A description of each parameter follows:</p></ol>
1949 <ol><p>the drawing wand.</p></ol>
1952 <ol><p>pattern identification for later reference</p></ol>
1955 <ol><p>x ordinate of top left corner</p></ol>
1958 <ol><p>y ordinate of top left corner</p></ol>
1961 <ol><p>width of pattern space</p></ol>
1964 <ol><p>height of pattern space</p></ol>
1967 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1968 _8c.html" target="source" name="DrawRectangle">DrawRectangle</a></h2>
1969 <div class="doc-section">
1971 <p>DrawRectangle() draws a rectangle given two coordinates and using the current stroke, stroke width, and fill settings.</p></ol>
1973 <p>The format of the DrawRectangle method is:</p>
1976 void DrawRectangle(DrawingWand *wand,const double x1,
1977 const double y1,const double x2,const double y2)
1980 <p>A description of each parameter follows:</p></ol>
1983 <ol><p>x ordinate of first coordinate</p></ol>
1986 <ol><p>y ordinate of first coordinate</p></ol>
1989 <ol><p>x ordinate of second coordinate</p></ol>
1992 <ol><p>y ordinate of second coordinate</p></ol>
1995 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
1996 _8c.html" target="source" name="DrawResetVectorGraphics">DrawResetVectorGraphics</a></h2>
1997 <div class="doc-section">
1999 <p>DrawResetVectorGraphics() resets the vector graphics associated with the specified wand.</p></ol>
2001 <p>The format of the DrawResetVectorGraphics method is:</p>
2004 void DrawResetVectorGraphics(DrawingWand *wand)
2007 <p>A description of each parameter follows:</p></ol>
2010 <ol><p>the drawing wand.</p></ol>
2013 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2014 _8c.html" target="source" name="DrawRotate">DrawRotate</a></h2>
2015 <div class="doc-section">
2017 <p>DrawRotate() applies the specified rotation to the current coordinate space.</p></ol>
2019 <p>The format of the DrawRotate method is:</p>
2022 void DrawRotate(DrawingWand *wand,const double degrees)
2025 <p>A description of each parameter follows:</p></ol>
2028 <ol><p>the drawing wand.</p></ol>
2031 <ol><p>degrees of rotation</p></ol>
2034 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2035 _8c.html" target="source" name="DrawRoundRectangle">DrawRoundRectangle</a></h2>
2036 <div class="doc-section">
2038 <p>DrawRoundRectangle() draws a rounted rectangle given two coordinates, x & y corner radiuses and using the current stroke, stroke width, and fill settings.</p></ol>
2040 <p>The format of the DrawRoundRectangle method is:</p>
2043 void DrawRoundRectangle(DrawingWand *wand,double x1,double y1,
2044 double x2,double y2,double rx,double ry)
2047 <p>A description of each parameter follows:</p></ol>
2050 <ol><p>the drawing wand.</p></ol>
2053 <ol><p>x ordinate of first coordinate</p></ol>
2056 <ol><p>y ordinate of first coordinate</p></ol>
2059 <ol><p>x ordinate of second coordinate</p></ol>
2062 <ol><p>y ordinate of second coordinate</p></ol>
2065 <ol><p>radius of corner in horizontal direction</p></ol>
2068 <ol><p>radius of corner in vertical direction</p></ol>
2071 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2072 _8c.html" target="source" name="DrawScale">DrawScale</a></h2>
2073 <div class="doc-section">
2075 <p>DrawScale() adjusts the scaling factor to apply in the horizontal and vertical directions to the current coordinate space.</p></ol>
2077 <p>The format of the DrawScale method is:</p>
2080 void DrawScale(DrawingWand *wand,const double x,const double y)
2083 <p>A description of each parameter follows:</p></ol>
2086 <ol><p>the drawing wand.</p></ol>
2089 <ol><p>horizontal scale factor</p></ol>
2092 <ol><p>vertical scale factor</p></ol>
2095 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2096 _8c.html" target="source" name="DrawSetBorderColor">DrawSetBorderColor</a></h2>
2097 <div class="doc-section">
2099 <p>DrawSetBorderColor() sets the border color to be used for drawing bordered objects.</p></ol>
2101 <p>The format of the DrawSetBorderColor method is:</p>
2104 void DrawSetBorderColor(DrawingWand *wand,const PixelWand *border_wand)
2107 <p>A description of each parameter follows:</p></ol>
2110 <ol><p>the drawing wand.</p></ol>
2112 <h5>border_wand</h5>
2113 <ol><p>border wand.</p></ol>
2116 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2117 _8c.html" target="source" name="DrawSetClipPath">DrawSetClipPath</a></h2>
2118 <div class="doc-section">
2120 <p>DrawSetClipPath() associates a named clipping path with the image. Only the areas drawn on by the clipping path will be modified as long as it remains in effect.</p></ol>
2122 <p>The format of the DrawSetClipPath method is:</p>
2125 MagickBooleanType DrawSetClipPath(DrawingWand *wand,
2126 const char *clip_mask)
2129 <p>A description of each parameter follows:</p></ol>
2132 <ol><p>the drawing wand.</p></ol>
2135 <ol><p>name of clipping path to associate with image</p></ol>
2138 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2139 _8c.html" target="source" name="DrawSetClipRule">DrawSetClipRule</a></h2>
2140 <div class="doc-section">
2142 <p>DrawSetClipRule() set the polygon fill rule to be used by the clipping path.</p></ol>
2144 <p>The format of the DrawSetClipRule method is:</p>
2147 void DrawSetClipRule(DrawingWand *wand,const FillRule fill_rule)
2150 <p>A description of each parameter follows:</p></ol>
2153 <ol><p>the drawing wand.</p></ol>
2156 <ol><p>fill rule (EvenOddRule or NonZeroRule)</p></ol>
2159 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2160 _8c.html" target="source" name="DrawSetClipUnits">DrawSetClipUnits</a></h2>
2161 <div class="doc-section">
2163 <p>DrawSetClipUnits() sets the interpretation of clip path units.</p></ol>
2165 <p>The format of the DrawSetClipUnits method is:</p>
2168 void DrawSetClipUnits(DrawingWand *wand,
2169 const ClipPathUnits clip_units)
2172 <p>A description of each parameter follows:</p></ol>
2175 <ol><p>the drawing wand.</p></ol>
2178 <ol><p>units to use (UserSpace, UserSpaceOnUse, or ObjectBoundingBox)</p></ol>
2181 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2182 _8c.html" target="source" name="DrawSetFillColor">DrawSetFillColor</a></h2>
2183 <div class="doc-section">
2185 <p>DrawSetFillColor() sets the fill color to be used for drawing filled objects.</p></ol>
2187 <p>The format of the DrawSetFillColor method is:</p>
2190 void DrawSetFillColor(DrawingWand *wand,const PixelWand *fill_wand)
2193 <p>A description of each parameter follows:</p></ol>
2196 <ol><p>the drawing wand.</p></ol>
2199 <ol><p>fill wand.</p></ol>
2202 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2203 _8c.html" target="source" name="DrawSetFillOpacity">DrawSetFillOpacity</a></h2>
2204 <div class="doc-section">
2206 <p>DrawSetFillOpacity() sets the opacity to use when drawing using the fill color or fill texture. Fully opaque is 1.0.</p></ol>
2208 <p>The format of the DrawSetFillOpacity method is:</p>
2211 void DrawSetFillOpacity(DrawingWand *wand,const double fill_opacity)
2214 <p>A description of each parameter follows:</p></ol>
2217 <ol><p>the drawing wand.</p></ol>
2219 <h5>fill_opacity</h5>
2220 <ol><p>fill opacity</p></ol>
2223 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2224 _8c.html" target="source" name="DrawSetOpacity">DrawSetOpacity</a></h2>
2225 <div class="doc-section">
2227 <p>DrawSetOpacity() sets the opacity to use when drawing using the fill or stroke color or texture. Fully opaque is 1.0.</p></ol>
2229 <p>The format of the DrawSetOpacity method is:</p>
2232 void DrawSetOpacity(DrawingWand *wand,const double opacity)
2235 <p>A description of each parameter follows:</p></ol>
2238 <ol><p>the drawing wand.</p></ol>
2241 <ol><p>fill opacity</p></ol>
2244 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2245 _8c.html" target="source" name="DrawSetFillPatternURL">DrawSetFillPatternURL</a></h2>
2246 <div class="doc-section">
2248 <p>DrawSetFillPatternURL() sets the URL to use as a fill pattern for filling objects. Only local URLs ("#identifier") are supported at this time. These local URLs are normally created by defining a named fill pattern with DrawPushPattern/DrawPopPattern.</p></ol>
2250 <p>The format of the DrawSetFillPatternURL method is:</p>
2253 MagickBooleanType DrawSetFillPatternURL(DrawingWand *wand,
2254 const char *fill_url)
2257 <p>A description of each parameter follows:</p></ol>
2260 <ol><p>the drawing wand.</p></ol>
2263 <ol><p>URL to use to obtain fill pattern.</p></ol>
2266 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2267 _8c.html" target="source" name="DrawSetFillRule">DrawSetFillRule</a></h2>
2268 <div class="doc-section">
2270 <p>DrawSetFillRule() sets the fill rule to use while drawing polygons.</p></ol>
2272 <p>The format of the DrawSetFillRule method is:</p>
2275 void DrawSetFillRule(DrawingWand *wand,const FillRule fill_rule)
2278 <p>A description of each parameter follows:</p></ol>
2281 <ol><p>the drawing wand.</p></ol>
2284 <ol><p>fill rule (EvenOddRule or NonZeroRule)</p></ol>
2287 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2288 _8c.html" target="source" name="DrawSetFont">DrawSetFont</a></h2>
2289 <div class="doc-section">
2291 <p>DrawSetFont() sets the fully-sepecified font to use when annotating with text.</p></ol>
2293 <p>The format of the DrawSetFont method is:</p>
2296 MagickBooleanType DrawSetFont(DrawingWand *wand,const char *font_name)
2299 <p>A description of each parameter follows:</p></ol>
2302 <ol><p>the drawing wand.</p></ol>
2305 <ol><p>font name</p></ol>
2308 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2309 _8c.html" target="source" name="DrawSetFontFamily">DrawSetFontFamily</a></h2>
2310 <div class="doc-section">
2312 <p>DrawSetFontFamily() sets the font family to use when annotating with text.</p></ol>
2314 <p>The format of the DrawSetFontFamily method is:</p>
2317 MagickBooleanType DrawSetFontFamily(DrawingWand *wand,
2318 const char *font_family)
2321 <p>A description of each parameter follows:</p></ol>
2324 <ol><p>the drawing wand.</p></ol>
2326 <h5>font_family</h5>
2327 <ol><p>font family</p></ol>
2330 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2331 _8c.html" target="source" name="DrawSetFontSize">DrawSetFontSize</a></h2>
2332 <div class="doc-section">
2334 <p>DrawSetFontSize() sets the font pointsize to use when annotating with text.</p></ol>
2336 <p>The format of the DrawSetFontSize method is:</p>
2339 void DrawSetFontSize(DrawingWand *wand,const double pointsize)
2342 <p>A description of each parameter follows:</p></ol>
2345 <ol><p>the drawing wand.</p></ol>
2348 <ol><p>text pointsize</p></ol>
2351 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2352 _8c.html" target="source" name="DrawSetFontStretch">DrawSetFontStretch</a></h2>
2353 <div class="doc-section">
2355 <p>DrawSetFontStretch() sets the font stretch to use when annotating with text. The AnyStretch enumeration acts as a wild-card "don't care" option.</p></ol>
2357 <p>The format of the DrawSetFontStretch method is:</p>
2360 void DrawSetFontStretch(DrawingWand *wand,
2361 const StretchType font_stretch)
2364 <p>A description of each parameter follows:</p></ol>
2367 <ol><p>the drawing wand.</p></ol>
2369 <h5>font_stretch</h5>
2370 <ol><p>font stretch (NormalStretch, UltraCondensedStretch, CondensedStretch, SemiCondensedStretch, SemiExpandedStretch, ExpandedStretch, ExtraExpandedStretch, UltraExpandedStretch, AnyStretch)</p></ol>
2373 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2374 _8c.html" target="source" name="DrawSetFontStyle">DrawSetFontStyle</a></h2>
2375 <div class="doc-section">
2377 <p>DrawSetFontStyle() sets the font style to use when annotating with text. The AnyStyle enumeration acts as a wild-card "don't care" option.</p></ol>
2379 <p>The format of the DrawSetFontStyle method is:</p>
2382 void DrawSetFontStyle(DrawingWand *wand,const StyleType style)
2385 <p>A description of each parameter follows:</p></ol>
2388 <ol><p>the drawing wand.</p></ol>
2391 <ol><p>font style (NormalStyle, ItalicStyle, ObliqueStyle, AnyStyle)</p></ol>
2394 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2395 _8c.html" target="source" name="DrawSetFontWeight">DrawSetFontWeight</a></h2>
2396 <div class="doc-section">
2398 <p>DrawSetFontWeight() sets the font weight to use when annotating with text.</p></ol>
2400 <p>The format of the DrawSetFontWeight method is:</p>
2403 void DrawSetFontWeight(DrawingWand *wand,
2404 const unsigned long font_weight)
2407 <p>A description of each parameter follows:</p></ol>
2410 <ol><p>the drawing wand.</p></ol>
2412 <h5>font_weight</h5>
2413 <ol><p>font weight (valid range 100-900)</p></ol>
2416 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2417 _8c.html" target="source" name="DrawSetGravity">DrawSetGravity</a></h2>
2418 <div class="doc-section">
2420 <p>DrawSetGravity() sets the text placement gravity to use when annotating with text.</p></ol>
2422 <p>The format of the DrawSetGravity method is:</p>
2425 void DrawSetGravity(DrawingWand *wand,const GravityType gravity)
2428 <p>A description of each parameter follows:</p></ol>
2431 <ol><p>the drawing wand.</p></ol>
2434 <ol><p>positioning gravity (NorthWestGravity, NorthGravity, NorthEastGravity, WestGravity, CenterGravity, EastGravity, SouthWestGravity, SouthGravity, SouthEastGravity)</p></ol>
2437 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2438 _8c.html" target="source" name="DrawSetStrokeColor">DrawSetStrokeColor</a></h2>
2439 <div class="doc-section">
2441 <p>DrawSetStrokeColor() sets the color used for stroking object outlines.</p></ol>
2443 <p>The format of the DrawSetStrokeColor method is:</p>
2446 void DrawSetStrokeColor(DrawingWand *wand,
2447 const PixelWand *stroke_wand)
2450 <p>A description of each parameter follows:</p></ol>
2453 <ol><p>the drawing wand.</p></ol>
2455 <h5>stroke_wand</h5>
2456 <ol><p>stroke wand.</p></ol>
2459 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2460 _8c.html" target="source" name="DrawSetStrokePatternURL">DrawSetStrokePatternURL</a></h2>
2461 <div class="doc-section">
2463 <p>DrawSetStrokePatternURL() sets the pattern used for stroking object outlines.</p></ol>
2465 <p>The format of the DrawSetStrokePatternURL method is:</p>
2468 MagickBooleanType DrawSetStrokePatternURL(DrawingWand *wand,
2469 const char *stroke_url)
2472 <p>A description of each parameter follows:</p></ol>
2475 <ol><p>the drawing wand.</p></ol>
2478 <ol><p>URL specifying pattern ID (e.g. "#pattern_id")</p></ol>
2481 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2482 _8c.html" target="source" name="DrawSetStrokeAntialias">DrawSetStrokeAntialias</a></h2>
2483 <div class="doc-section">
2485 <p>DrawSetStrokeAntialias() controls whether stroked outlines are antialiased. Stroked outlines are antialiased by default. When antialiasing is disabled stroked pixels are thresholded to determine if the stroke color or underlying canvas color should be used.</p></ol>
2487 <p>The format of the DrawSetStrokeAntialias method is:</p>
2490 void DrawSetStrokeAntialias(DrawingWand *wand,
2491 const MagickBooleanType stroke_antialias)
2494 <p>A description of each parameter follows:</p></ol>
2497 <ol><p>the drawing wand.</p></ol>
2499 <h5>stroke_antialias</h5>
2500 <ol><p>set to false (zero) to disable antialiasing</p></ol>
2503 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2504 _8c.html" target="source" name="DrawSetStrokeDashArray">DrawSetStrokeDashArray</a></h2>
2505 <div class="doc-section">
2507 <p>DrawSetStrokeDashArray() specifies the pattern of dashes and gaps used to stroke paths. The stroke dash array represents an array of numbers that specify the lengths of alternating dashes and gaps in pixels. If an odd number of values is provided, then the list of values is repeated to yield an even number of values. To remove an existing dash array, pass a zero number_elements argument and null dash_array. A typical stroke dash array might contain the members 5 3 2.</p></ol>
2509 <p>The format of the DrawSetStrokeDashArray method is:</p>
2512 MagickBooleanType DrawSetStrokeDashArray(DrawingWand *wand,
2513 const unsigned long number_elements,const double *dash_array)
2516 <p>A description of each parameter follows:</p></ol>
2519 <ol><p>the drawing wand.</p></ol>
2521 <h5>number_elements</h5>
2522 <ol><p>number of elements in dash array</p></ol>
2525 <ol><p>dash array values</p></ol>
2528 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2529 _8c.html" target="source" name="DrawSetStrokeDashOffset">DrawSetStrokeDashOffset</a></h2>
2530 <div class="doc-section">
2532 <p>DrawSetStrokeDashOffset() specifies the offset into the dash pattern to start the dash.</p></ol>
2534 <p>The format of the DrawSetStrokeDashOffset method is:</p>
2537 void DrawSetStrokeDashOffset(DrawingWand *wand,
2538 const double dash_offset)
2541 <p>A description of each parameter follows:</p></ol>
2544 <ol><p>the drawing wand.</p></ol>
2546 <h5>dash_offset</h5>
2547 <ol><p>dash offset</p></ol>
2550 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2551 _8c.html" target="source" name="DrawSetStrokeLineCap">DrawSetStrokeLineCap</a></h2>
2552 <div class="doc-section">
2554 <p>DrawSetStrokeLineCap() specifies the shape to be used at the end of open subpaths when they are stroked. Values of LineCap are UndefinedCap, ButtCap, RoundCap, and SquareCap.</p></ol>
2556 <p>The format of the DrawSetStrokeLineCap method is:</p>
2559 void DrawSetStrokeLineCap(DrawingWand *wand,
2560 const LineCap linecap)
2563 <p>A description of each parameter follows:</p></ol>
2566 <ol><p>the drawing wand.</p></ol>
2569 <ol><p>linecap style</p></ol>
2572 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2573 _8c.html" target="source" name="DrawSetStrokeLineJoin">DrawSetStrokeLineJoin</a></h2>
2574 <div class="doc-section">
2576 <p>DrawSetStrokeLineJoin() specifies the shape to be used at the corners of paths (or other vector shapes) when they are stroked. Values of LineJoin are UndefinedJoin, MiterJoin, RoundJoin, and BevelJoin.</p></ol>
2578 <p>The format of the DrawSetStrokeLineJoin method is:</p>
2581 void DrawSetStrokeLineJoin(DrawingWand *wand,
2582 const LineJoin linejoin)
2585 <p>A description of each parameter follows:</p></ol>
2588 <ol><p>the drawing wand.</p></ol>
2591 <ol><p>line join style</p></ol>
2594 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2595 _8c.html" target="source" name="DrawSetStrokeMiterLimit">DrawSetStrokeMiterLimit</a></h2>
2596 <div class="doc-section">
2598 <p>DrawSetStrokeMiterLimit() specifies the miter limit. When two line segments meet at a sharp angle and miter joins have been specified for 'lineJoin', it is possible for the miter to extend far beyond the thickness of the line stroking the path. The miterLimit' imposes a limit on the ratio of the miter length to the 'lineWidth'.</p></ol>
2600 <p>The format of the DrawSetStrokeMiterLimit method is:</p>
2603 void DrawSetStrokeMiterLimit(DrawingWand *wand,
2604 const unsigned long miterlimit)
2607 <p>A description of each parameter follows:</p></ol>
2610 <ol><p>the drawing wand.</p></ol>
2613 <ol><p>miter limit</p></ol>
2616 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2617 _8c.html" target="source" name="DrawSetStrokeOpacity">DrawSetStrokeOpacity</a></h2>
2618 <div class="doc-section">
2620 <p>DrawSetStrokeOpacity() specifies the opacity of stroked object outlines.</p></ol>
2622 <p>The format of the DrawSetStrokeOpacity method is:</p>
2625 void DrawSetStrokeOpacity(DrawingWand *wand,
2626 const double stroke_opacity)
2629 <p>A description of each parameter follows:</p></ol>
2632 <ol><p>the drawing wand.</p></ol>
2634 <h5>stroke_opacity</h5>
2635 <ol><p>stroke opacity. The value 1.0 is opaque.</p></ol>
2638 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2639 _8c.html" target="source" name="DrawSetStrokeWidth">DrawSetStrokeWidth</a></h2>
2640 <div class="doc-section">
2642 <p>DrawSetStrokeWidth() sets the width of the stroke used to draw object outlines.</p></ol>
2644 <p>The format of the DrawSetStrokeWidth method is:</p>
2647 void DrawSetStrokeWidth(DrawingWand *wand,
2648 const double stroke_width)
2651 <p>A description of each parameter follows:</p></ol>
2654 <ol><p>the drawing wand.</p></ol>
2656 <h5>stroke_width</h5>
2657 <ol><p>stroke width</p></ol>
2660 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2661 _8c.html" target="source" name="DrawSetTextAlignment">DrawSetTextAlignment</a></h2>
2662 <div class="doc-section">
2664 <p>DrawSetTextAlignment() specifies a text alignment to be applied when annotating with text.</p></ol>
2666 <p>The format of the DrawSetTextAlignment method is:</p>
2669 void DrawSetTextAlignment(DrawingWand *wand,const AlignType alignment)
2672 <p>A description of each parameter follows:</p></ol>
2675 <ol><p>the drawing wand.</p></ol>
2678 <ol><p>text alignment. One of UndefinedAlign, LeftAlign, CenterAlign, or RightAlign.</p></ol>
2681 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2682 _8c.html" target="source" name="DrawSetTextAntialias">DrawSetTextAntialias</a></h2>
2683 <div class="doc-section">
2685 <p>DrawSetTextAntialias() controls whether text is antialiased. Text is antialiased by default.</p></ol>
2687 <p>The format of the DrawSetTextAntialias method is:</p>
2690 void DrawSetTextAntialias(DrawingWand *wand,
2691 const MagickBooleanType text_antialias)
2694 <p>A description of each parameter follows:</p></ol>
2697 <ol><p>the drawing wand.</p></ol>
2699 <h5>text_antialias</h5>
2700 <ol><p>antialias boolean. Set to false (0) to disable antialiasing.</p></ol>
2703 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2704 _8c.html" target="source" name="DrawSetTextDecoration">DrawSetTextDecoration</a></h2>
2705 <div class="doc-section">
2707 <p>DrawSetTextDecoration() specifies a decoration to be applied when annotating with text.</p></ol>
2709 <p>The format of the DrawSetTextDecoration method is:</p>
2712 void DrawSetTextDecoration(DrawingWand *wand,
2713 const DecorationType decoration)
2716 <p>A description of each parameter follows:</p></ol>
2719 <ol><p>the drawing wand.</p></ol>
2722 <ol><p>text decoration. One of NoDecoration, UnderlineDecoration, OverlineDecoration, or LineThroughDecoration</p></ol>
2725 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2726 _8c.html" target="source" name="DrawSetTextEncoding">DrawSetTextEncoding</a></h2>
2727 <div class="doc-section">
2729 <p>DrawSetTextEncoding() specifies the code set to use for text annotations. The only character encoding which may be specified at this time is "UTF-8" for representing Unicode as a sequence of bytes. Specify an empty string to set text encoding to the system's default. Successful text annotation using Unicode may require fonts designed to support Unicode.</p></ol>
2731 <p>The format of the DrawSetTextEncoding method is:</p>
2734 void DrawSetTextEncoding(DrawingWand *wand,const char *encoding)
2737 <p>A description of each parameter follows:</p></ol>
2740 <ol><p>the drawing wand.</p></ol>
2743 <ol><p>character string specifying text encoding</p></ol>
2746 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2747 _8c.html" target="source" name="DrawSetTextKerning">DrawSetTextKerning</a></h2>
2748 <div class="doc-section">
2750 <p>DrawSetTextKerning() sets the spacing between characters in text.</p></ol>
2752 <p>The format of the DrawSetTextKerning method is:</p>
2755 void DrawSetTextKerning(DrawingWand *wand,const double kerning)
2758 <p>A description of each parameter follows:</p></ol>
2761 <ol><p>the drawing wand.</p></ol>
2764 <ol><p>text kerning</p></ol>
2767 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2768 _8c.html" target="source" name="DrawSetTextInterwordSpacing">DrawSetTextInterwordSpacing</a></h2>
2769 <div class="doc-section">
2771 <p>DrawSetTextInterwordSpacing() sets the spacing between words in text.</p></ol>
2773 <p>The format of the DrawSetInterwordSpacing method is:</p>
2776 void DrawSetTextInterwordSpacing(DrawingWand *wand,
2777 const double interword_spacing)
2780 <p>A description of each parameter follows:</p></ol>
2783 <ol><p>the drawing wand.</p></ol>
2785 <h5>interword_spacing</h5>
2786 <ol><p>text word spacing</p></ol>
2789 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2790 _8c.html" target="source" name="DrawSetTextUnderColor">DrawSetTextUnderColor</a></h2>
2791 <div class="doc-section">
2793 <p>DrawSetTextUnderColor() specifies the color of a background rectangle to place under text annotations.</p></ol>
2795 <p>The format of the DrawSetTextUnderColor method is:</p>
2798 void DrawSetTextUnderColor(DrawingWand *wand,
2799 const PixelWand *under_wand)
2802 <p>A description of each parameter follows:</p></ol>
2805 <ol><p>the drawing wand.</p></ol>
2808 <ol><p>text under wand.</p></ol>
2811 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2812 _8c.html" target="source" name="DrawSetVectorGraphics">DrawSetVectorGraphics</a></h2>
2813 <div class="doc-section">
2815 <p>DrawSetVectorGraphics() sets the vector graphics associated with the specified wand. Use this method with DrawGetVectorGraphics() as a method to persist the vector graphics state.</p></ol>
2817 <p>The format of the DrawSetVectorGraphics method is:</p>
2820 MagickBooleanType DrawSetVectorGraphics(DrawingWand *wand,
2824 <p>A description of each parameter follows:</p></ol>
2827 <ol><p>the drawing wand.</p></ol>
2830 <ol><p>the drawing wand XML.</p></ol>
2833 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2834 _8c.html" target="source" name="DrawSkewX">DrawSkewX</a></h2>
2835 <div class="doc-section">
2837 <p>DrawSkewX() skews the current coordinate system in the horizontal direction.</p></ol>
2839 <p>The format of the DrawSkewX method is:</p>
2842 void DrawSkewX(DrawingWand *wand,const double degrees)
2845 <p>A description of each parameter follows:</p></ol>
2848 <ol><p>the drawing wand.</p></ol>
2851 <ol><p>number of degrees to skew the coordinates</p></ol>
2854 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2855 _8c.html" target="source" name="DrawSkewY">DrawSkewY</a></h2>
2856 <div class="doc-section">
2858 <p>DrawSkewY() skews the current coordinate system in the vertical direction.</p></ol>
2860 <p>The format of the DrawSkewY method is:</p>
2863 void DrawSkewY(DrawingWand *wand,const double degrees)
2866 <p>A description of each parameter follows:</p></ol>
2869 <ol><p>the drawing wand.</p></ol>
2872 <ol><p>number of degrees to skew the coordinates</p></ol>
2875 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2876 _8c.html" target="source" name="DrawTranslate">DrawTranslate</a></h2>
2877 <div class="doc-section">
2879 <p>DrawTranslate() applies a translation to the current coordinate system which moves the coordinate system origin to the specified coordinate.</p></ol>
2881 <p>The format of the DrawTranslate method is:</p>
2884 void DrawTranslate(DrawingWand *wand,const double x,
2888 <p>A description of each parameter follows:</p></ol>
2891 <ol><p>the drawing wand.</p></ol>
2894 <ol><p>new x ordinate for coordinate system origin</p></ol>
2897 <ol><p>new y ordinate for coordinate system origin</p></ol>
2900 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2901 _8c.html" target="source" name="DrawSetViewbox">DrawSetViewbox</a></h2>
2902 <div class="doc-section">
2904 <p>DrawSetViewbox() sets the overall canvas size to be recorded with the drawing vector data. Usually this will be specified using the same size as the canvas image. When the vector data is saved to SVG or MVG formats, the viewbox is use to specify the size of the canvas image that a viewer will render the vector data on.</p></ol>
2906 <p>The format of the DrawSetViewbox method is:</p>
2909 void DrawSetViewbox(DrawingWand *wand,unsigned long x1,
2910 unsigned long y1,unsigned long x2,unsigned long y2)
2913 <p>A description of each parameter follows:</p></ol>
2916 <ol><p>the drawing wand.</p></ol>
2919 <ol><p>left x ordinate</p></ol>
2922 <ol><p>top y ordinate</p></ol>
2925 <ol><p>right x ordinate</p></ol>
2928 <ol><p>bottom y ordinate</p></ol>
2931 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2932 _8c.html" target="source" name="IsDrawingWand">IsDrawingWand</a></h2>
2933 <div class="doc-section">
2935 <p>IsDrawingWand() returns MagickTrue if the wand is verified as a drawing wand.</p></ol>
2937 <p>The format of the IsDrawingWand method is:</p>
2940 MagickBooleanType IsDrawingWand(const DrawingWand *wand)
2943 <p>A description of each parameter follows:</p></ol>
2946 <ol><p>the drawing wand.</p></ol>
2949 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2950 _8c.html" target="source" name="NewDrawingWand">NewDrawingWand</a></h2>
2951 <div class="doc-section">
2953 <p>NewDrawingWand() returns a drawing wand required for all other methods in the API.</p></ol>
2955 <p>The format of the NewDrawingWand method is:</p>
2958 DrawingWand NewDrawingWand(void)
2962 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2963 _8c.html" target="source" name="PeekDrawingWand">PeekDrawingWand</a></h2>
2964 <div class="doc-section">
2966 <p>PeekDrawingWand() returns the current drawing wand.</p></ol>
2968 <p>The format of the PeekDrawingWand method is:</p>
2971 DrawInfo *PeekDrawingWand(const DrawingWand *wand)
2974 <p>A description of each parameter follows:</p></ol>
2977 <ol><p>the drawing wand.</p></ol>
2980 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2981 _8c.html" target="source" name="PopDrawingWand">PopDrawingWand</a></h2>
2982 <div class="doc-section">
2984 <p>PopDrawingWand() destroys the current drawing wand and returns to the previously pushed drawing wand. Multiple drawing wands may exist. It is an error to attempt to pop more drawing wands than have been pushed, and it is proper form to pop all drawing wands which have been pushed.</p></ol>
2986 <p>The format of the PopDrawingWand method is:</p>
2989 MagickBooleanType PopDrawingWand(DrawingWand *wand)
2992 <p>A description of each parameter follows:</p></ol>
2995 <ol><p>the drawing wand.</p></ol>
2998 <h2><a href="http://www.imagemagick.org/api/MagickWand/drawing-wand
2999 _8c.html" target="source" name="PushDrawingWand">PushDrawingWand</a></h2>
3000 <div class="doc-section">
3002 <p>PushDrawingWand() clones the current drawing wand to create a new drawing wand. The original drawing wand(s) may be returned to by invoking PopDrawingWand(). The drawing wands are stored on a drawing wand stack. For every Pop there must have already been an equivalent Push.</p></ol>
3004 <p>The format of the PushDrawingWand method is:</p>
3007 MagickBooleanType PushDrawingWand(DrawingWand *wand)
3010 <p>A description of each parameter follows:</p></ol>
3013 <ol><p>the drawing wand.</p></ol>
3020 <!-- <span id="linkbar-west"> </span> -->
3021 <span id="linkbar-center">
3022 <a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> •
3023 <a href="../../www/mailing-list.html">Mailing Lists</a> •
3024 <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
3026 <span id="linkbar-east"> </span>
3028 <div class="footer">
3029 <span id="footer-west">© 1999-2009 ImageMagick Studio LLC</span>
3030 <span id="footer-east"> <a href="../http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
3032 <div style="clear: both; margin: 0; width: 100%; "></div>