Debian Codegraph @

www/api/drawing-wand.html

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