"Fossies" - the Fresh Open Source Software Archive 
Member "MagickStudio-1.9.6/Draw.html" (14 Feb 2021, 2856 Bytes) of package /linux/www/MagickStudio-1.9.6.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <meta content="HTML Tidy for Linux/x86 (vers 1st March 2003), see www.w3.org"
6 name="generator" />
7 <title>Draw Image</title>
8 <link rel="StyleSheet" href="style/magick.css" type="text/css" />
9 </head>
10 <body bgcolor="#FFFFFF" text="#000000" link="#0085C0"
11 vlink="#800080" alink="#0085C0">
12 <center><img src="images/magick.png" align="bottom" width="114"
13 height="113" /></center>
14 <hr />
15 <p>The draw tools annotates your image with one or more graphic
16 primitives.</p>
17 <p>Choose from these graphic primitives:</p>
18 <pre class="text">
19 point
20 line
21 rectangle
22 roundRectangle
23 arc
24 ellipse
25 circle
26 polyline
27 polygon
28 bezier
29 path
30 </pre>
31 <p><b>Point</b> and <b>line</b> each require a single coordinate.
32 <b>Line</b> requires a start and end coordinate, while
33 <b>rectangle</b> expects an upper left and lower right coordinate.
34 <b>roundRectangle</b> has a center coordinate, a width and height,
35 and the width and height of the corners. <b>Circle</b> has a center
36 coordinate and a coordinate for the outer edge. Use <b>Arc</b> to
37 circumscribe an arc within a rectangle. Arcs require a start and
38 end point as well as the degree of rotation (e.g. 130,30 200,100
39 45,90). Use <b>Ellipse</b> to draw a partial ellipse centered at
40 the given point, specified width and height, and start and end of
41 arc in degrees (e.g. 100,100 100,150 0,360). Finally,
42 <b>polyline</b> and <b>polygon</b> require three or more
43 coordinates to define its boundaries. Coordinates are integers
44 separated by an optional comma. For example, to define a circle
45 centered at 100,100 that extends to 150,150 use:</p>
46 <pre class="text">
47 100,100 150,150
48 </pre>
49 <p>An equivalent format is</p>
50 <pre class="text">
51 +100+100 +150+150
52 </pre>
53 <p>
54 <a href="http://www.w3.org/TR/2000/03/WD-SVG-20000303/paths.html#PathDataGeneralInformation">
55 Paths</a> represent an outline of an object which is defined in
56 terms of moveto (set a new current point), lineto (draw a straight
57 line), curveto (draw a curve using a cubic bezier), arc (elliptical
58 or circular arc) and closepath (close the current shape by drawing
59 a line to the last moveto) elements. Compound paths (i.e., a path
60 with subpaths, each consisting of a single moveto followed by one
61 or more line or curve operations) are possible to allow effects
62 such as "donut holes" in objects.</p>
63 <p>You also have the option of setting the primitive color, line
64 width, x and y translation, degree of rotation, or fill the
65 interior of the primitive.</p>
66 <hr />
67 <p>
68 <a href="scripts/MagickStudio.cgi/?Action=mogrify&ToolType=Comment&SessionID=null&Path=null"
69 target="Comment"><img alt="[comment]" src="images/mail.png"
70 border="0" /></a></p>
71 </body>
72 </html>