• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8" ?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6<title>Magick++ API: Drawing on Images</title>
7<link rel="stylesheet" href="magick.css" type="text/css" />
8</head>
9<body>
10<div class="doc-section">
11<h1 style="text-align:center">Magick::Drawable</h1>
12<p>Drawable provides a convenient interface for preparing vector, image, or text arguments for the Image::draw() method. Each instance of a Drawable sub-class represents a single drawable object. Drawable objects may be drawn "one-by-one" via multiple invocations of the Image <a href="Image++.html#draw">draw</a>() method, or may be drawn "all-at-once" by passing a list of Drawable objects to the Image <a href="Image++.html#draw">draw</a>() method. The one-by-one approach is convenient for simple drawings, while the list-based approach is appropriate for drawings which require more sophistication.</p>
13<p>The following is an example using the Drawable subclasses with a one-by-one approach to draw the following figure:</p>
14<p class="image"><font color="#000000"><font color="#000000"><img
15 src="Drawable_example_1.png" name="Graphic1" align="bottom" border="3"
16 height="200" width="300" alt="example" /></font></font>
17</p>
18<div class="viewport">
19#include &lt;string>
20#include &lt;iostream>
21#include &lt;Magick++.h>
22
23using namespace std;
24using namespace Magick;
25
26int main(int /*argc*/,char **argv)
27{
28  try {
29    InitializeMagick(*argv);
30
31    // Create base image (white image of 300 by 200 pixels)
32    Image image( Geometry(300,200), Color("white") );
33
34    // Set draw options
35    image.strokeColor("red"); // Outline color
36    image.fillColor("green"); // Fill color
37    image.strokeWidth(5);
38
39    // Draw a circle
40    image.draw( DrawableCircle(100,100, 50,100) );
41
42    // Draw a rectangle
43    image.draw( DrawableRectangle(200,200, 270,170) );
44
45    // Display the result
46    image.display( );
47  }
48  catch( exception &amp; error_ )
49    {
50      cout &lt;&lt; "Caught exception: " &lt;&lt; error_.what() &lt;&lt; endl;
51      return 1;
52    }
53
54  return 0;
55}
56</div>
57<p>Since Drawable is an object it may be saved in an array or a list for later (perhaps repeated) use. The following example shows how to draw the same figure using the list-based approach:</p>
58<div class="viewport">
59#include &lt;string>
60#include &lt;iostream>
61#include &lt;list>
62#include &lt;Magick++.h>
63
64using namespace std;
65using namespace Magick;
66
67int main(int /*argc*/,char **/*argv*/)
68{
69  try {
70
71    InitializeMagick(*argv);
72
73    // Create base image (white image of 300 by 200 pixels)
74    Image image( Geometry(300,200), Color("white") );
75
76    // Construct drawing list
77    std::list&lt;Magick::Drawable> drawList;
78
79    // Add some drawing options to drawing list
80    drawList.push_back(DrawableStrokeColor("red")); // Outline color
81    drawList.push_back(DrawableStrokeWidth(5)); // Stroke width
82    drawList.push_back(DrawableFillColor("green")); // Fill color
83
84    // Add a Circle to drawing list
85    drawList.push_back(DrawableCircle(100,100, 50,100));
86
87    // Add a Rectangle to drawing list
88    drawList.push_back(DrawableRectangle(200,100, 270,170));
89
90    // Draw everything using completed drawing list
91    image.draw(drawList);
92
93    // Display the result
94    image.display( );
95  }
96  catch( exception &amp; error_ )
97    {
98      cout &lt;&lt; "Caught exception: " &lt;&lt; error_.what() &lt;&lt; endl;
99      return 1;
100    }
101
102  return 0;
103}
104</div>
105<p>Drawable depends on the simple Coordinate structure which represents a pair of x,y coodinates. The methods provided by the Coordinate structure are shown in the following table:</p>
106<p style="text-align:center;margin-bottom: 0in"><b>Coordinate Structure Methods</b></p>
107<table width="100%" border="1" cellpadding="2" cellspacing="2">
108<tr>
109<th>
110<p class="western">Method/Member</p></th>
111<th>
112<p class="western">Signature</p></th>
113<th>
114<p class="western">Description</p></th></tr>
115<tr>
116<td rowspan="2">
117<p class="western" style="text-align:center">Coordinate</p></td>
118<td>
119<p class="western">void</p></td>
120<td>
121<p class="western">Default Constructor</p></td></tr>
122<tr>
123<td>
124<p class="western">double x_, double y_</p></td>
125<td>
126<p class="western">Constructor, setting <i>first</i> &amp; <i>second</i></p></td></tr>
127<tr>
128<td>
129<p class="western" style="text-align:center">x</p></td>
130<td>
131<p class="western">double x_</p></td>
132<td>
133<p class="western">x coordinate member</p></td></tr>
134<tr>
135<td>
136<p class="western" style="text-align:center">y</p></td>
137<td>
138<p class="western">double y_</p></td>
139<td>
140<p class="western">y coordinate member</p></td></tr></table>
141<p>The Drawable classes are shown in the following table. Only constructor signatures are documented here. Each Drawable class also provides methods by which each individual parameter may be adjusted.</p>
142<p style="text-align:center;margin-bottom: 0in"><b>Drawable Classes</b></p>
143<table width="100%" border="1" cellpadding="2" cellspacing="3">
144<col width="68*"/>
145<col width="55*"/>
146<col width="133*"/>
147<tr>
148<th width="27%">
149<p class="western">Sub-Class</p></th>
150<th width="21%">
151<p class="western">Constructor Signature</p></th>
152<th width="52%">
153<p class="western">Description</p></th></tr>
154<tr>
155<td rowspan="2" width="27%">
156<p class="western" style="text-align:center">DrawableAffine</p></td>
157<td width="21%">
158<p class="western">double sx_, double sy_, double rx_, double ry_, double tx_, double ty_</p></td>
159<td width="52%">
160<p class="western">Specify a transformation matrix to adjust scaling, rotation, and translation (coordinate transformation) for subsequently drawn objects in the same or decendent drawing context. The sx_ &amp; sy_ parameters represent the x &amp; y scale factors, the rx_ &amp; ry_ parameters represent the x &amp; y rotation, and the tx_ &amp; ty_ parameters represent the x &amp; y translation.</p></td></tr>
161<tr>
162<td width="21%">
163<p class="western">void</p></td>
164<td width="52%">
165<p class="western">Specify a transformation matrix to adjust scaling, rotation, and translation (coordinate transformation) for subsequently drawn objects in the same or decendent drawing context. Initialized to unity (no effect) affine values. Use class methods (not currently documented) to adjust individual parameters from their unity values.</p></td></tr>
166<tr>
167<td width="27%">
168<p class="western" style="text-align:center">DrawableAngle</p></td>
169<td width="21%">
170<p class="western">double angle_</p></td>
171<td width="52%">
172<p class="western">Set drawing angle</p></td></tr>
173<tr>
174<td width="27%">
175<p class="western" style="text-align:center">DrawableArc</p></td>
176<td width="21%">
177<p class="western">double startX_, double startY_, double endX_, double endY_, double startDegrees, double endDegrees_</p></td>
178<td width="52%">
179<p class="western">Draw an arc using the <i>stroke</i> color and based on the circle starting at coordinates <i>startX_</i>,<i>startY_,</i> and ending with coordinates <i>endX_,</i>endY_, and bounded by the rotational arc <i>startDegrees_,endDegrees_</i></p></td></tr>
180<tr>
181<td width="27%">
182<p class="western" style="text-align:center">DrawableBezier</p></td>
183<td width="21%">
184<p class="western">const std::list&lt;Magick::Coordinate&gt; &amp;coordinates_</p></td>
185<td width="52%">
186<p class="western">Draw a bezier curve using the <i>stroke</i> color and based on the coordinates specified by the <i>coordinates_</i> list.</p></td></tr>
187<tr>
188<td width="27%">
189<p class="western" style="text-align:center">DrawableClipPath</p></td>
190<td width="21%">
191<p class="western">const std::string &amp;id_</p></td>
192<td width="52%">
193<p class="western">Select a drawing clip path matching <em>id_.</em></p></td></tr>
194<tr>
195<td width="27%">
196<p class="western" style="text-align:center">DrawableCircle</p></td>
197<td width="21%">
198<p class="western">double originX_, double originY_, double perimX_, double perimY_</p></td>
199<td width="52%">
200<p class="western">Draw a circle using the <i>stroke</i> color and thickness using specified origin and perimeter coordinates. If a <i>fill</i> color is specified, then the object is filled.</p></td></tr>
201<tr>
202<td width="27%">
203<p class="western" style="text-align:center">DrawableColor</p></td>
204<td width="21%">
205<p class="western"><font size="2">double x_, double y_, <a href="Enumerations.html#PaintMethod">PaintMethod</a> paintMethod_</font></p></td>
206<td width="52%">
207<p class="western">Color image according to paintMethod. The point method recolors the target pixel. The replace method recolors any pixel that matches the color of the target pixel. Floodfill recolors any pixel that matches the color of the target pixel and is a neighbor, whereas filltoborder recolors any neighbor pixel that is not the border color. Finally, reset recolors all pixels.</p></td></tr>
208<tr>
209<td rowspan="6" width="27%">
210<p class="western" style="text-align:center">DrawableCompositeImage</p></td>
211<td width="21%">
212<p class="western">double x_, double y_, const std::string &amp;filename_</p></td>
213<td rowspan="2" width="52%">
214<p class="western">Composite current image with contents of specified image, at specified coordinates. If the <i>matte</i> attribute is set to <i>true</i>, then the image composition will consider an alpha channel, or transparency, present in the image file so that non-opaque portions allow part (or all) of the composite image to show through.</p></td></tr>
215<tr>
216<td width="21%">
217<p class="western">double x_, double y_, const Image &amp;image_</p></td></tr>
218<tr>
219<td width="21%">
220<p class="western">double x_, double y_, double width_, double height_, const std::string &amp;filename_</p></td>
221<td rowspan="2" width="52%">
222<p class="western">Composite current image with contents of specified image, rendered with specified width and height, at specified coordinates. If the <i>matte</i> attribute is set to <i>true</i>, then the image composition will consider an alpha channel, or transparency, present in the image file so that non-opaque portions allow part (or all) of the composite image to show through. If the specified <i>width</i> or <i>height</i> is zero, then the image is composited at its natural size, without enlargement or reduction.</p></td></tr>
223<tr>
224<td width="21%">
225<p class="western">double x_, double y_, double width_, double height_, const Image &amp;image_</p></td></tr>
226<tr>
227<td width="21%">
228<p class="western"><font size="2">double x_, double y_, double width_, double height_, const std::string &amp;filename_, <a href="Enumerations.html#CompositeOperator">CompositeOperator</a> composition_</font></p></td>
229<td rowspan="2" width="52%">
230<p class="western">Composite current image with contents of specified image, rendered with specified width and height, using specified composition algorithm, at specified coordinates. If the <i>matte</i> attribute is set to <i>true</i>, then the image composition will consider an alpha channel, or transparency, present in the image file so that non-opaque portions allow part (or all) of the composite image to show through. If the specified <i>width</i> or <i>height</i> is zero, then the image is composited at its natural size, without enlargement or reduction.</p></td></tr>
231<tr>
232<td width="21%">
233<p class="western"><font size="2">double x_, double y_, double width_, double height_, const Image &amp;image_, <a href="Enumerations.html#CompositeOperator">CompositeOperator</a> composition_</font></p></td></tr>
234<tr>
235<td width="27%">
236<p class="western" style="text-align:center">DrawableDashArray</p></td>
237<td width="21%">
238<p class="western">const double* dasharray_</p></td>
239<td width="52%">
240<p class="western">Specify the pattern of dashes and gaps used to stroke paths. The strokeDashArray represents a zero-terminated 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. A typical strokeDashArray_ array might contain the members 5 3 2 0, where the zero value indicates the end of the pattern array.</p></td></tr>
241<tr>
242<td width="27%">
243<p class="western" style="text-align:center">DrawableDashOffset</p></td>
244<td width="21%">
245<p class="western">double offset_</p></td>
246<td width="52%">
247<p class="western"><font size="2" style="font-size: 11pt">Specify the distance into the dash pattern to start the dash. See documentation on SVG's</font> <a href="http://www.w3.org/TR/SVG/painting.html#StrokeDashoffsetProperty"><font size="2" style="font-size: 11pt">stroke-dashoffset</font></a> <font size="2" style="font-size: 11pt">property for usage details.</font></p></td></tr>
248<tr>
249<td width="27%">
250<p class="western" style="text-align:center">DrawableEllipse</p></td>
251<td width="21%">
252<p class="western">double originX_, double originY_, double radiusX_, double radiusY_, double arcStart_, double arcEnd_</p></td>
253<td width="52%">
254<p class="western">Draw an ellipse using the <i>stroke</i> color and thickness, specified origin, x &amp; y radius, as well as specified start and end of arc in degrees. If a <i>fill</i> color is specified, then the object is filled.</p></td></tr>
255<tr>
256<td width="27%">
257<p class="western" style="text-align:center">DrawableFillColor</p></td>
258<td width="21%">
259<p class="western"><font size="2">const <a href="Color.html">Color</a> &amp;color_</font></p></td>
260<td width="52%">
261<p class="western">Specify drawing object fill color.</p></td></tr>
262<tr>
263<td width="27%">
264<p class="western" style="text-align:center">DrawableFillRule</p></td>
265<td width="21%">
266<p class="western"><font size="2"><a href="Enumerations.html#FillRule">FillRule</a> fillRule_</font></p></td>
267<td width="52%">
268<p class="western"><font size="2" style="font-size: 11pt">Specify the algorithm which is to be used to determine what parts of the canvas are included inside the shape. See documentation on SVG's</font> <a href="http://www.w3.org/TR/SVG/painting.html#FillRuleProperty"><font size="2" style="font-size: 11pt">fill-rule</font></a> <font size="2" style="font-size: 11pt">property for usage details.</font></p></td></tr>
269<tr>
270<td width="27%">
271<p class="western" style="text-align:center">DrawableFillOpacity</p></td>
272<td width="21%">
273<p class="western">double opacity_</p></td>
274<td width="52%">
275<p class="western">Specify opacity to use when drawing using fill color.</p></td></tr>
276<tr>
277<td rowspan="2" width="27%">
278<p class="western" style="text-align:center">DrawableFont</p></td>
279<td width="21%">
280<p class="western">const std::string &amp;font_</p></td>
281<td width="52%">
282<p class="western">Specify font name to use when drawing text.</p></td></tr>
283<tr>
284<td width="21%">
285<p class="western"><font size="2">const std::string &amp;family_,</font><br />
286<font size="2"><a href="Enumerations.html#StyleType">StyleType</a> style_,</font><br />
287<font size="2">unsigned int weight_,</font><br />
288<font size="2"><a href="Enumerations.html#StretchType">StretchType</a> stretch_</font></p></td>
289<td width="52%">
290<p class="western">Specify font family, style, weight (one of the set { 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 } with 400 being the normal size), and stretch to be used to select the font used when drawing text. Wildcard matches may be applied to style via the AnyStyle enumeration, applied to weight if weight is zero, and applied to stretch via the AnyStretch enumeration.</p></td></tr>
291<tr>
292<td width="27%">
293<p class="western" style="text-align:center">DrawableGravity</p></td>
294<td width="21%">
295<p class="western"><font size="2"><a href="Enumerations.html#GravityType">GravityType</a> gravity_</font></p></td>
296<td width="52%">
297<p class="western">Specify text positioning gravity.</p></td></tr>
298<tr>
299<td width="27%">
300<p class="western" style="text-align:center">DrawableLine</p></td>
301<td width="21%">
302<p class="western">double startX_, double startY_, double endX_, double endY_</p></td>
303<td width="52%">
304<p class="western">Draw a line using <i>stroke</i> color and thickness using starting and ending coordinates</p></td></tr>
305<tr>
306<td width="27%">
307<p class="western" style="text-align:center">DrawableMatte</p></td>
308<td width="21%">
309<p class="western"><font size="2">double x_, double y_, <a href="Enumerations.html#PaintMethod">PaintMethod</a> paintMethod_</font></p></td>
310<td width="52%">
311<p class="western">Change the pixel matte value to transparent. The point method changes the matte value of the target pixel. The replace method changes the matte value of any pixel that matches the color of the target pixel. Floodfill changes the matte value of any pixel that matches the color of the target pixel and is a neighbor, whereas filltoborder changes the matte value of any neighbor pixel that is not the border color, Finally reset changes the matte value of all pixels.</p></td></tr>
312<tr>
313<td width="27%">
314<p class="western" style="text-align:center">DrawableMiterLimit</p></td>
315<td width="21%">
316<p class="western">size_t miterLimit_</p></td>
317<td width="52%">
318<p class="western">Specify 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'. The default value of this parameter is 4.</p></td></tr>
319<tr>
320<td width="27%">
321<p class="western" style="text-align:center">DrawablePath</p></td>
322<td width="21%">
323<p class="western">const std::list&lt;Magick::VPath&gt; &amp;path_</p></td>
324<td width="52%">
325<p class="western">Draw on image using vector path.</p></td></tr>
326<tr>
327<td width="27%">
328<p class="western" style="text-align:center">DrawablePoint</p></td>
329<td width="21%">
330<p class="western">double x_, double y_</p></td>
331<td width="52%">
332<p class="western">Draw a point using <i>stroke</i> color and thickness at coordinate</p></td></tr>
333<tr>
334<td width="27%">
335<p class="western" style="text-align:center">DrawablePointSize</p></td>
336<td width="21%">
337<p class="western">double pointSize_</p></td>
338<td width="52%">
339<p class="western">Set font point size.</p></td></tr>
340<tr>
341<td width="27%">
342<p class="western" style="text-align:center">DrawablePolygon</p></td>
343<td width="21%">
344<p class="western">const std::list&lt;Magick::Coordinate&gt; &amp;coordinates_</p></td>
345<td width="52%">
346<p class="western">Draw an arbitrary polygon using <i>stroke</i> color and thickness consisting of three or more coordinates contained in an STL list. If a <i>fill</i> color is specified, then the object is filled.</p></td></tr>
347<tr>
348<td width="27%">
349<p class="western" style="text-align:center">DrawablePolyline</p></td>
350<td width="21%">
351<p class="western">const std::list&lt;Magick::Coordinate&gt; &amp;coordinates_</p></td>
352<td width="52%">
353<p class="western">Draw an arbitrary polyline using <i>stroke</i> color and thickness consisting of three or more coordinates contained in an STL list. If a <i>fill</i> color is specified, then the object is filled.</p></td></tr>
354<tr>
355<td width="27%">
356<p class="western" style="text-align:center">DrawablePopClipPath</p></td>
357<td width="21%">
358<p class="western">void</p></td>
359<td width="52%">
360<p class="western">Pop (terminate) clip path definition started by DrawablePushClipPath.</p></td></tr>
361<tr>
362<td width="27%">
363<p class="western" style="text-align:center">DrawablePopGraphicContext</p></td>
364<td width="21%">
365<p class="western">void</p></td>
366<td width="52%">
367<p class="western"><font size="2" style="font-size: 11pt">Pop Graphic Context. Removing the current graphic context from the graphic context stack restores the options to the values they had prior to the preceding</font> <a href="Drawable.html#DrawablePushGraphicContext"><i><font size="2" style="font-size: 11pt">DrawablePushGraphicContext</font></i></a> <font size="2" style="font-size: 11pt">operation.</font></p></td></tr>
368<tr>
369<td width="27%">
370<p class="western" style="text-align:center">DrawablePushClipPath</p></td>
371<td width="21%">
372<p class="western">const std::string &amp;id_</p></td>
373<td width="52%">
374<p class="western">Push (create) clip path definition with id_. Clip patch definition consists of subsequent drawing commands, terminated by DrawablePopClipPath.</p></td></tr>
375<tr>
376<td width="27%">
377<p class="western" style="text-align:center">DrawablePushGraphicContext</p></td>
378<td width="21%">
379<p class="western">void</p></td>
380<td width="52%">
381<p class="western"><font size="2" style="font-size: 11pt">Push Graphic Context. When a graphic context is pushed, options set after the context is pushed (such as coordinate transformations, color settings, etc.) are saved to a new graphic context. This allows related options to be saved on a graphic context "stack" in order to support heirarchical nesting of options. When</font> <a href="Drawable.html#DrawablePopGraphicContext"><i><font size="2" style="font-size: 11pt">DrawablePopGraphicContext</font></i></a> <font size="2" style="font-size: 11pt">is used to pop the current graphic context, the options in effect during the last <i>DrawablePushGraphicContext</i> operation are restored.</font></p></td></tr>
382<tr>
383<td width="27%">
384<p class="western" style="text-align:center">DrawablePushPattern</p></td>
385<td width="21%">
386<p class="western">std::string &amp;id_, ssize_t x_, ssize_t y_, size_t width_, size_t height_</p></td>
387<td width="52%">
388<p class="western"><font size="2" style="font-size: 11pt">Start a pattern definition with arbitrary pattern name specified by <i>id_</i>, pattern offset specified by <i>x_</i> and <i>y_</i>, and pattern size specified by <i>width_</i> and <i>height_</i>. The pattern is defined within the coordinate system defined by the specified offset and size. Arbitrary drawing objects (including</font> <a href="Drawable.html#DrawableCompositeImage"><font size="2" style="font-size: 11pt">DrawableCompositeImage</font></a><font size="2" style="font-size: 11pt">) may be specified between</font> <a href="Drawable.html#DrawablePushPattern"><font size="2" style="font-size: 11pt">DrawablePushPattern</font></a> <font size="2" style="font-size: 11pt">and</font> <a href="Drawable.html#DrawablePopPattern"><font size="2" style="font-size: 11pt">DrawablePopPattern</font></a> <font size="2" style="font-size: 11pt">in order to draw the pattern. Normally the pair</font> <a href="Drawable.html#DrawablePushGraphicContext"><font size="2" style=
389"font-size: 11pt">DrawablePushGraphicContext</font></a> <font size="2" style="font-size: 11pt">&amp;</font> <a href="Drawable.html#DrawablePopGraphicContext"><font size="2" style="font-size: 11pt">DrawablePopGraphicContext</font></a> <font size="2" style="font-size: 11pt">are used to enclose a pattern definition. Pattern definitions are terminated by a</font> <a href="Drawable.html#DrawablePopPattern"><font size="2" style="font-size: 11pt">DrawablePopPattern</font></a> <font size="2" style="font-size: 11pt">object.</font></p></td></tr>
390<tr>
391<td width="27%">
392<p class="western" style="text-align:center">DrawablePopPattern</p></td>
393<td width="21%">
394<p class="western">void</p></td>
395<td width="52%">
396<p class="western"><font size="2" style="font-size: 11pt">Terminate a pattern definition started via</font> <a href="Drawable.html#DrawablePushPattern"><font size="2" style="font-size: 11pt">DrawablePushPattern</font></a><font size="2" style="font-size: 11pt">.</font></p></td></tr>
397<tr>
398<td width="27%">
399<p class="western" style="text-align:center">DrawableRectangle</p></td>
400<td width="21%">
401<p class="western">double upperLeftX_, double upperLeftY_, double lowerRightX_, double lowerRightY</p></td>
402<td width="52%">
403<p class="western">Draw a rectangle using <i>stroke</i> color and thickness from upper-left coordinates to lower-right coordinates. If a <i>fill</i> color is specified, then the object is filled.</p></td></tr>
404<tr>
405<td width="27%">
406<p class="western" style="text-align:center">DrawableRotation</p></td>
407<td width="21%">
408<p class="western">double angle_</p></td>
409<td width="52%">
410<p class="western">Set rotation to use when drawing (coordinate transformation).</p></td></tr>
411<tr>
412<td width="27%">
413<p class="western" style="text-align:center">DrawableRoundRectangle</p></td>
414<td width="21%">
415<p class="western">double centerX_, double centerY_, double width_, double hight_, double cornerWidth_, double cornerHeight_</p></td>
416<td width="52%">
417<p class="western">Draw a rounded rectangle using <i>stroke</i> color and thickness, with specified center coordinate, specified width and height, and specified corner width and height. If a <i>fill</i> color is specified, then the object is filled.</p></td></tr>
418<tr>
419<td width="27%">
420<p class="western" style="text-align:center">DrawableScaling</p></td>
421<td width="21%">
422<p class="western">double x_, double y_</p></td>
423<td width="52%">
424<p class="western">Apply scaling in x and y direction while drawing objects (coordinate transformation).</p></td></tr>
425<tr>
426<td width="27%">
427<p class="western" style="text-align:center">DrawableSkewX</p></td>
428<td width="21%">
429<p class="western">double angle_</p></td>
430<td width="52%">
431<p class="western">Apply Skew in X direction (coordinate transformation)</p></td></tr>
432<tr>
433<td width="27%">
434<p class="western" style="text-align:center">DrawableSkewY</p></td>
435<td width="21%">
436<p class="western">double angle_</p></td>
437<td width="52%">
438<p class="western">Apply Skew in Y direction</p></td></tr>
439<tr>
440<td width="27%">
441<p class="western" style="text-align:center">DrawableStrokeAntialias</p></td>
442<td width="21%">
443<p class="western">bool flag_</p></td>
444<td width="52%">
445<p class="western">Antialias while drawing lines or object outlines.</p></td></tr>
446<tr>
447<td width="27%">
448<p class="western" style="text-align:center">DrawableStrokeColor</p></td>
449<td width="21%">
450<p class="western"><font size="2">const <a href="Color.html">Color</a> &amp;color_</font></p></td>
451<td width="52%">
452<p class="western">Set color to use when drawing lines or object outlines.</p></td></tr>
453<tr>
454<td width="27%">
455<p class="western" style="text-align:center">DrawableStrokeLineCap</p></td>
456<td width="21%">
457<p class="western"><font size="2"><a href="Enumerations.html#LineCap">LineCap</a> linecap_</font></p></td>
458<td width="52%">
459<p class="western">Specify 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></td></tr>
460<tr>
461<td width="27%">
462<p class="western" style="text-align:center">DrawableStrokeLineJoin</p></td>
463<td width="21%">
464<p class="western"><font size="2"><a href="Enumerations.html#LineJoin">LineJoin</a> linejoin_</font></p></td>
465<td width="52%">
466<p class="western">Specify 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></td></tr>
467<tr>
468<td width="27%">
469<p class="western" style="text-align:center">DrawableStrokeOpacity</p></td>
470<td width="21%">
471<p class="western">double opacity_</p></td>
472<td width="52%">
473<p class="western">Opacity to use when drawing lines or object outlines.</p></td></tr>
474<tr>
475<td width="27%">
476<p class="western" style="text-align:center">DrawableStrokeWidth</p></td>
477<td width="21%">
478<p class="western">double width_</p></td>
479<td width="52%">
480<p class="western">Set width to use when drawing lines or object outlines.</p></td></tr>
481<tr>
482<td rowspan="2" width="27%">
483<p class="western" style="text-align:center">DrawableText</p></td>
484<td width="21%">
485<p class="western">double x_, double y_, std::string text_</p></td>
486<td width="52%">
487<p class="western"><font size="2" style="font-size: 11pt">Annotate image with text using <i>stroke</i> color, font, font pointsize, and <i>box</i> color (text background color), at specified coordinates. If text contains</font> <a href="FormatCharacters.html"><font size="2" style="font-size: 11pt">special format characters</font></a> <font size="2" style="font-size: 11pt">the image filename, type, width, height, or other image attributes may be incorporated in the text (see label()).</font></p></td></tr>
488<tr>
489<td width="21%">
490<p class="western">const double x_, const double y_, const std::string &amp;text_, const std::string &amp;encoding_</p></td>
491<td width="52%">
492<p class="western"><font size="2" style="font-size: 11pt">Annotate image with text represented with text encoding, using current <i>stroke</i> color, font, font pointsize, and <i>box</i> color (text background color), at specified coordinates. If text contains</font> <a href="FormatCharacters.html"><font size="2" style="font-size: 11pt">special format characters</font></a> <font size="2" style="font-size: 11pt">the image filename, type, width, height, or other image attributes may be incorporated in the text (see label()).</font></p>
493<p class="western"><font size="2" style="font-size: 11pt">The text encoding specifies the code set to use for text annotations. The only character encoding which may be specified at this time is "<font face="Courier, monospace">UTF-8</font>" for representing</font> <a href="http://www.unicode.org/"><font size="2" style="font-size: 11pt">Unicode</font></a> <font size="2" style="font-size: 11pt">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.</font></p></td></tr>
494<tr>
495<td width="27%">
496<p class="western" style="text-align:center">DrawableTextAntialias</p></td>
497<td width="21%">
498<p class="western">bool flag_</p></td>
499<td width="52%">
500<p class="western">Antialias while drawing text (default true). The main reason to disable text antialiasing is to avoid adding new colors to the image.</p></td></tr>
501<tr>
502<td width="27%">
503<p class="western" style="text-align:center"><a name="DrawableTextDecoration"></a> DrawableTextDecoration</p></td>
504<td width="21%">
505<p class="western"><font size="2"><a href="Enumerations.html#DecorationType">DecorationType</a> decoration_</font></p></td>
506<td width="52%">
507<p class="western">Specify decoration (e.g. UnderlineDecoration) to apply to text.</p></td></tr>
508<tr>
509<td width="27%">
510<p class="western" style="text-align:center">DrawableTextUnderColor</p></td>
511<td width="21%">
512<p class="western">const Color &amp;color_</p></td>
513<td width="52%">
514<p class="western">Draw a box under rendered text using the specified color.</p></td></tr>
515<tr>
516<td width="27%">
517<p class="western" style="text-align:center">DrawableTranslation</p></td>
518<td width="21%">
519<p class="western">double x_, double y_</p></td>
520<td width="52%">
521<p class="western">Apply coordinate translation (set new coordinate origin).</p></td></tr>
522<tr>
523<td width="27%">
524<p class="western" style="text-align:center">DrawableViewbox</p></td>
525<td width="21%">
526<p class="western">ssize_t x1_, ssize_t y1_, ssize_t x2_, ssize_t y2_</p></td>
527<td width="52%">
528<p class="western">Dimensions of the output viewbox. If the image is to be written to a vector format (e.g. MVG or SVG), then a DrawablePushGraphicContext() object should be pushed to the head of the list, followed by a DrawableViewbox() statement to establish the output canvas size. A matching DrawablePopGraphicContext() object should be pushed to the tail of the list.</p></td></tr></table>
529<h2 style="text-align:center">Vector Path Classes</h2>
530<p>The vector paths supported by Magick++ are based on those supported by the <a href="http://www.w3.org/TR/SVG/paths.html">SVG XML specification</a>. Vector paths are not directly drawable, they must first be supplied as a constructor argument to the <a href="Drawable.html#DrawablePath">DrawablePath</a> class in order to create a drawable object. The <a href="Drawable.html#DrawablePath">DrawablePath</a> class effectively creates a drawable compound component which may be replayed as desired. If the drawable compound component consists only of vector path objects using relative coordinates then the object may be positioned on the image by preceding it with a <i>DrawablePath</i> which sets the current drawing coordinate. Alternatively coordinate transforms may be used to <a href="Drawable.html#DrawableTranslation">translate the origin</a> in order to position the object, <a href="Drawable.html#DrawableRotation">rotate</a> it, <a href="Drawable.html#DrawableSkewX">skew</a> it, or <a href="Drawable.html#DrawableScaling">scale</a> it.</p>
531<h3>The "moveto" commands</h3>
532<p style="margin-bottom: 0in">The "moveto" commands establish a new current point. The effect is as if the "pen" were lifted and moved to a new location. A path data segment must begin with either one of the "moveto" commands or one of the "arc" commands. Subsequent "moveto" commands (i.e., when the "moveto" is not the first command) represent the start of a new subpath:</p>
533<p style="margin-bottom: 0in;text-align:center"><b>Moveto Classes</b></p>
534<table width="100%" border="1" cellpadding="2" cellspacing="3">
535<col width="37*" />
536<col width="43*" />
537<col width="177*" />
538<tr>
539<th width="14%">
540<p class="western">Sub-Class</p></th>
541<th width="17%">
542<p class="western">Constructor Signature</p></th>
543<th width="69%">
544<p class="western">Description</p></th></tr>
545<tr>
546<td rowspan="2" width="14%">
547<p class="western" style="text-align:center"><a name="PathMovetoAbs"></a>PathMovetoAbs</p></td>
548<td width="17%">
549<p class="western">const Magick::Coordinate &amp;coordinate_</p></td>
550<td rowspan="4" width="69%">
551<p class="western">Start a new sub-path at the given coordinate. <i>PathMovetoAbs</i> indicates that absolute coordinates will follow; <i>PathMovetoRel</i> indicates that relative coordinates will follow. If a relative moveto appears as the first element of the path, then it is treated as a pair of absolute coordinates. If a moveto is followed by multiple pairs of coordinates, the subsequent pairs are treated as implicit lineto commands.</p></td></tr>
552<tr>
553<td width="17%">
554<p class="western">const std::list&lt;Magick::Coordinate&gt; &amp;coordinates_</p></td></tr>
555<tr>
556<td rowspan="2" width="14%">
557<p class="western" style="text-align:center"><a name="PathMovetoRel"></a>PathMovetoRel</p></td>
558<td width="17%">
559<p class="western">const Magick::Coordinate &amp;coordinate_</p></td></tr>
560<tr>
561<td width="17%">
562<p class="western">const std::list&lt;Magick::Coordinate&gt; &amp;coordinates_</p></td></tr></table>
563<h3>The "closepath" command</h3>
564<p style="margin-bottom: 0in">The "closepath" command causes an automatic straight line to be drawn from the current point to the initial point of the current subpath:</p>
565<p style="text-align:center;margin-bottom: 0in"><b>Closepath Classes</b></p>
566<table width="100%" border="1" cellpadding="2" cellspacing="3">
567<col width="37*" />
568<col width="41*" />
569<col width="178*" />
570<tr>
571<th width="14%">
572<p class="western">Sub-Class</p></th>
573<th width="16%">
574<p class="western">Constructor Signature</p></th>
575<th width="69%">
576<p class="western">Description</p></th></tr>
577<tr>
578<td width="14%">
579<p class="western" style="text-align:center"><a name="PathClosePath"></a>PathClosePath</p></td>
580<td width="16%">
581<p class="western">void</p></td>
582<td width="69%">
583<p class="western">Close the current subpath by drawing a straight line from the current point to current subpath's most recent starting point (usually, the most recent moveto point).</p></td></tr></table>
584<h3>The "lineto" commands</h3>
585<p style="margin-bottom: 0in">The various "lineto" commands draw straight lines from the current point to a new point:</p>
586<p style="text-align:center;margin-bottom: 0in"><b>Lineto Classes</b></p>
587<table width="100%" border="1" cellpadding="2" cellspacing="3">
588<col width="56*" />
589<col width="39*" />
590<col width="161*" />
591<tr>
592<th width="22%">
593<p class="western">Sub-Class</p></th>
594<th width="15%">
595<p class="western">Constructor Signature</p></th>
596<th width="63%">
597<p class="western">Description</p></th></tr>
598<tr>
599<td rowspan="2" width="22%">
600<p class="western" style="text-align:center"><a name="PathLinetoAbs"></a>PathLinetoAbs</p></td>
601<td width="15%">
602<p class="western">const Magick::Coordinate&amp; coordinate_</p></td>
603<td rowspan="4" width="63%">
604<p class="western">Draw a line from the current point to the given coordinate which becomes the new current point. <i>PathLinetoAbs</i> indicates that absolute coordinates are used; <i>PathLinetoRel</i> indicates that relative coordinates are used. A number of coordinates pairs may be specified in a list to draw a polyline. At the end of the command, the new current point is set to the final set of coordinates provided.</p></td></tr>
605<tr>
606<td width="15%">
607<p class="western">const std::list&lt;Magick::Coordinate&gt; &amp;coordinates_</p></td></tr>
608<tr>
609<td rowspan="2" width="22%">
610<p class="western" style="text-align:center"><a name="PathLinetoRel"></a>PathLinetoRel</p></td>
611<td width="15%">
612<p class="western">const Magick::Coordinate&amp; coordinate_</p></td></tr>
613<tr>
614<td width="15%">
615<p class="western">const std::list&lt;Magick::Coordinate&gt; &amp;coordinates_</p></td></tr>
616<tr>
617<td width="22%">
618<p class="western" style="text-align:center"><a name="PathLinetoHorizontalAbs"></a> PathLinetoHorizontalAbs</p></td>
619<td width="15%">
620<p class="western">double x_</p></td>
621<td rowspan="2" width="63%">
622<p class="western">Draws a horizontal line from the current point (cpx, cpy) to (x, cpy). <i>PathLinetoHorizontalAbs</i> indicates that absolute coordinates are supplied; <i>PathLinetoHorizontalRel</i> indicates that relative coordinates are supplied. At the end of the command, the new current point becomes (x, cpy) for the final value of x.</p></td></tr>
623<tr>
624<td width="22%">
625<p class="western" style="text-align:center"><a name="PathLinetoHorizontalRel"></a> PathLinetoHorizontalRel</p></td>
626<td width="15%">
627<p class="western">double x_</p></td></tr>
628<tr>
629<td width="22%">
630<p class="western" style="text-align:center"><a name="PathLinetoVerticalAbs"></a> PathLinetoVerticalAbs</p></td>
631<td width="15%">
632<p class="western">double y_</p></td>
633<td rowspan="2" width="63%">
634<p class="western">Draws a vertical line from the current point (cpx, cpy) to (cpx, y). <i>PathLinetoVerticalAbs</i> indicates that absolute coordinates are supplied; <i>PathLinetoVerticalRel</i> indicates that relative coordinates are supplied. At the end of the command, the new current point becomes (cpx, y) for the final value of y.</p></td></tr>
635<tr>
636<td width="22%">
637<p class="western" style="text-align:center"><a name="PathLinetoVerticalRel"></a> PathLinetoVerticalRel</p></td>
638<td width="15%">
639<p class="western">double y_</p></td></tr></table>
640<h3>The curve commands</h3>
641<p>These three groups of commands draw curves:</p>
642<ul>
643<li>
644<p style="margin-bottom: 0in"><a href="Drawable.html#cubic%20Bezier">Cubic Bézier commands.</a> A cubic Bézier segment is defined by a start point, an end point, and two control points.</p></li>
645<li>
646<p style="margin-bottom: 0in"><a href="Drawable.html#quadratic%20Bezier">Quadratic Bézier commands.</a> A quadratic Bézier segment is defined by a start point, an end point, and one control point.</p></li>
647<li>
648<p><a href="Drawable.html#elliptical%20arc">Elliptical arc commands.</a> An elliptical arc segment draws a segment of an ellipse.</p></li></ul>
649<h3><a name="cubic Bezier"></a>The cubic Bézier curve commands</h3>
650<p>The cubic Bézier commands depend on the <i>PathCurvetoArgs</i> argument class, which has the constructor signature</p>
651<pre class="code">
652  PathCurvetoArgs( double x1_, double y1_,
653                   double x2_, double y2_,
654                   double x_, double y_ );
655</pre>
656<p style="margin-bottom: 0in">The commands are as follows:</p>
657<p style="text-align:center;margin-bottom: 0in"><b>Cubic Bézier Curve Classes</b></p>
658<table width="100%" border="1" cellpadding="2" cellspacing="3">
659<col width="54*" />
660<col width="58*" />
661<col width="144*" />
662<tr>
663<th width="21%">
664<p class="western">Sub-Class</p></th>
665<th width="23%">
666<p class="western">Constructor Signature</p></th>
667<th width="56%">
668<p class="western">Description</p></th></tr>
669<tr>
670<td rowspan="2" width="21%">
671<p class="western" style="text-align:center"><a name="PathCurvetoAbs"></a>PathCurvetoAbs</p></td>
672<td width="23%">
673<p class="western">const Magick::PathCurvetoArgs &amp;args_</p></td>
674<td rowspan="4" width="56%">
675<p class="western">Draws a cubic Bézier 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. <i>PathCurvetoAbs</i> indicates that absolutecoordinates will follow; <i>PathCurvetoRel</i> indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></td></tr>
676<tr>
677<td width="23%">
678<p class="western">const std::list&lt;Magick::PathCurvetoArgs&gt; &amp;args_</p></td></tr>
679<tr>
680<td rowspan="2" width="21%">
681<p class="western" style="text-align:center"><a name="PathCurvetoRel"></a>PathCurvetoRel</p></td>
682<td width="23%">
683<p class="western">const Magick::PathCurvetoArgs &amp;args_</p></td></tr>
684<tr>
685<td width="23%">
686<p class="western">const std::list&lt;Magick::PathCurvetoArgs&gt; &amp;args_</p></td></tr>
687<tr>
688<td rowspan="2" width="21%">
689<p class="western" style="text-align:center"><a name="PathSmoothCurvetoAbs"></a> PathSmoothCurvetoAbs</p></td>
690<td width="23%">
691<p class="western">const Magick::Coordinate &amp;coordinates_</p></td>
692<td rowspan="4" width="56%">
693<p class="western">Draws a cubic Bézier curve from the current point to (x,y). 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 <i>PathCurvetoAbs</i>, <i>PathCurvetoRel</i>, <i>PathSmoothCurvetoAbs</i> or <i>PathSmoothCurvetoRel</i>, 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). <i>PathSmoothCurvetoAbs</i> indicates that absolute coordinates will follow; <i>PathSmoothCurvetoRel</i> indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></td></tr>
694<tr>
695<td width="23%">
696<p class="western">const std::list&lt;Magick::Coordinate&gt; &amp;coordinates_</p></td></tr>
697<tr>
698<td rowspan="2" width="21%">
699<p class="western" style="text-align:center"><a name="PathSmoothCurvetoRel"></a> PathSmoothCurvetoRel</p></td>
700<td width="23%">
701<p class="western">const Magick::Coordinate &amp;coordinates_</p></td></tr>
702<tr>
703<td width="23%">
704<p class="western">const std::list&lt;Magick::Coordinate&gt; &amp;coordinates_</p></td></tr></table>
705<h3><a name="quadratic Bezier"></a>The quadratic Bézier curve commands</h3>
706<p>The quadratic Bézier commands depend on the <i>PathQuadraticCurvetoArgs</i> argument class, which has the constructor signature:</p>
707<pre class="code">
708  PathQuadraticCurvetoArgs( double x1_, double y1_,
709                            double x_, double y_ );
710</pre>
711<p style="margin-bottom: 0in">The quadratic Bézier commands are as follows:</p>
712<p style="text-align:center;margin-bottom: 0in"><b>Quadratic Bézier Curve Classes</b></p>
713<table width="100%" border="1" cellpadding="2" cellspacing="2">
714<tr>
715<th>
716<p class="western">Sub-Class</p></th>
717<th>
718<p class="western">Constructor Signature</p></th>
719<th>
720<p class="western">Description</p></th></tr>
721<tr>
722<td rowspan="2">
723<p class="western" style="text-align:center"><a name="PathQuadraticCurvetoAbs"></a> PathQuadraticCurvetoAbs</p></td>
724<td>
725<p class="western">const Magick::PathQuadraticCurvetoArgs &amp;args_</p></td>
726<td rowspan="4">
727<p class="western">Draws a quadratic Bézier curve from the current point to (x,y) using (x1,y1) as the control point. <i>PathQuadraticCurvetoAbs</i> indicates that absolute coordinates will follow; <i>PathQuadraticCurvetoRel</i> indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></td></tr>
728<tr>
729<td>
730<p class="western">const std::list&lt;Magick::PathQuadraticCurvetoArgs&gt; &amp;args_</p></td></tr>
731<tr>
732<td rowspan="2">
733<p class="western" style="text-align:center"><a name="PathQuadraticCurvetoRel"></a> PathQuadraticCurvetoRel</p></td>
734<td>
735<p class="western">const Magick::PathQuadraticCurvetoArgs &amp;args_</p></td></tr>
736<tr>
737<td>
738<p class="western">const std::list&lt;Magick::PathQuadraticCurvetoArgs&gt; &amp;args_</p></td></tr>
739<tr>
740<td rowspan="2">
741<p class="western" style="text-align:center"><a name="PathSmoothQuadraticCurvetoAbs"></a> PathSmoothQuadraticCurvetoAbs</p></td>
742<td>
743<p class="western">const Magick::Coordinate &amp;coordinate_</p></td>
744<td rowspan="4">
745<p class="western">Draws a quadratic Bézier curve from the current point to (x,y). The control point is assumed to be the reflection of the control point on the previous<br />
746command relative to the current point. (If there is no previous command or if the previous command was not a <i>PathQuadraticCurvetoAbs</i>, <i>PathQuadraticCurvetoRel</i>, <i>PathSmoothQuadraticCurvetoAbs</i> or <i>PathSmoothQuadraticCurvetoRel</i>, assume the control point is coincident with the current point.) <i>PathSmoothQuadraticCurvetoAbs</i> indicates that absolute coordinates will follow; <i>PathSmoothQuadraticCurvetoRel</i> indicates that relative coordinates will follow. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></td></tr>
747<tr>
748<td>
749<p class="western">const std::list&lt;Magick::Coordinate&gt; &amp;coordinates_</p></td></tr>
750<tr>
751<td rowspan="2">
752<p class="western" style="text-align:center"><a name="PathSmoothQuadraticCurvetoRel"></a> PathSmoothQuadraticCurvetoRel</p></td>
753<td>
754<p class="western">const Magick::Coordinate &amp;coordinate_</p></td></tr>
755<tr>
756<td>
757<p class="western">const std::list&lt;Magick::Coordinate&gt; &amp;coordinates_</p></td></tr></table>
758<h3><a name="elliptical arc"></a>The elliptical arc curve commands</h3>
759<p>The elliptical arc curve commands depend on the <i>PathArcArgs</i> argument class, which has the constructor signature:</p>
760<pre class="code">
761   PathArcArgs( double radiusX_, double radiusY_,
762                double xAxisRotation_, bool largeArcFlag_,
763                bool sweepFlag_, double x_, double y_ );
764</pre>
765<p style="margin-bottom: 0in">The elliptical arc commands are as follows:</p>
766<p style="text-align:center;margin-bottom: 0in"><b>Elliptical Arc Curve Classes</b></p>
767<table width="100%" border="1" cellpadding="2" cellspacing="3">
768<col width="35*" />
769<col width="46*" />
770<col width="175*" />
771<tr>
772<th width="14%">
773<p class="western">Sub-Class</p></th>
774<th width="18%">
775<p class="western">Constructor Signature</p></th>
776<th width="68%">
777<p class="western">Description</p></th></tr>
778<tr>
779<td rowspan="2" width="14%">
780<p class="western" style="text-align:center"><a name="PathArcAbs"></a>PathArcAbs</p></td>
781<td width="18%">
782<p class="western">const Magick::PathArcArgs &amp;coordinates_</p></td>
783<td rowspan="4" width="68%">
784<p class="western">Draws an elliptical arc from the current point to (x, y). The size and orientation of the ellipse are defined by two radii (<i>radiusX</i>, <i>radiusY</i>) and an <i>xAxisRotation</i>, 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. <i>largeArcFlag</i> and <i>sweepFlag</i> contribute to the automatic calculations and help determine how the arc is drawn. If <i>largeArcFlag</i> is true then draw the larger of the available arcs. If <i>sweepFlag</i> is true, then draw the arc matching a clock-wise rotation.</p></td></tr>
785<tr>
786<td width="18%">
787<p class="western">const std::list&lt;Magick::PathArcArgs&gt; &amp;coordinates_</p></td></tr>
788<tr>
789<td rowspan="2" width="14%">
790<p class="western" style="text-align:center"><a name="PathArcRel"></a>PathArcRel</p></td>
791<td width="18%">
792<p class="western">const Magick::PathArcArgs &amp;coordinates_</p></td></tr>
793<tr>
794<td width="18%">
795<p class="western">const std::list&lt;Magick::PathArcArgs&gt; &amp;coordinates_</p></td></tr></table>
796</div>
797</body>
798</html>
799