Debian Codegraph @

www/api/drawing-wand.html

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