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