@@ -33,65 +33,60 @@ be used instead.
33
33
34
34
The graphics language is simple, and uses the following commands:
35
35
36
- \[ [ \# ] ( #comment ) \| [ move] ( #move ) \| [ draw] ( #draw ) \|
37
- [ polygon] ( #polygon ) \| [ polyline] ( #polyline ) \| [ color] ( #color ) \|
38
- [ text] ( #text ) \| [ size] ( #size ) \| [ symbol] ( #symbol ) \|
39
- [ rotation] ( #rotation ) \| [ icon] ( #icon ) \| [ width] ( #width ) \]
40
-
41
- <span id =" comment " ></span >** \# ** * comment*
36
+ ** \# ** * comment*
42
37
A line of comment which is ignored in the processing.
43
38
44
- < span id = " move " ></ span > ** move** * xpos ypos*
39
+ ** move** * xpos ypos*
45
40
The current location is updated to * xpos ypos* . Unless the ** -m** flag
46
41
is used, values are stated as a percent of the active display frame's
47
42
horizontal (* xpos* ) and vertical (* ypos* ) size, and may be floating
48
43
point values. Values are between 0-100. ** Note.** A space must separate
49
44
* xpos* and * ypos* .
50
45
51
- < span id = " draw " ></ span > ** draw** * xpos ypos*
46
+ ** draw** * xpos ypos*
52
47
A line is drawn in the current color from the current location to the
53
48
new location * xpos ypos* , which then becomes the current location.
54
49
Unless the ** -m** flag is used, values are stated as a percent of the
55
50
active display frame's horizontal (* xpos* ) and vertical (* ypos* ) size,
56
51
and may be floating point values. Values are between 0-100. ** Note.** A
57
52
space must separate * xpos* and * ypos* .
58
53
59
- < span id = " polygon " ></ span > ** polygon**
54
+ ** polygon**
60
55
* xpos ypos*
61
56
* xpos ypos*
62
57
...
63
58
The coordinates appearing beneath the word * polygon* , one pair per line,
64
59
circumscribe a polygon that is to be filled with the current color.
65
60
66
- < span id = " polyline " ></ span > ** polyline**
61
+ ** polyline**
67
62
* xpos ypos*
68
63
* xpos ypos*
69
64
...
70
65
The coordinates appearing beneath the word * polyline* , one pair per
71
66
line, circumscribe a polygon that is not to be filled with color.
72
67
73
- < span id = " color " ></ span > ** color** * color*
68
+ ** color** * color*
74
69
Sets the current color to that stated; subsequent graphics will be drawn
75
70
in the stated color, until the current color is set to a different
76
71
color. Options are * red* , * orange* , * yellow* , * green* , * blue* , * indigo* ,
77
72
* violet* , * brown* , * magenta* , * gray* , * white* , * black* , an R:G: B triplet
78
73
(separated by colons), or the word "none" (draws in the default
79
74
background color).
80
75
81
- < span id = " text " ></ span > ** text** * line-of-text*
76
+ ** text** * line-of-text*
82
77
The stated text is drawn at the current location using the current
83
78
color, and the new current location is then positioned at the end of the
84
79
text string.
85
80
86
- < span id = " size " ></ span > ** size** * xper yper*
81
+ ** size** * xper yper*
87
82
Subsequent text will be drawn such that the text is * xper* percent of
88
83
the graphics monitor display frame wide and * yper* percent of the frame
89
84
high. By default, the text size is set to 5 percent of the active
90
85
frame's width and 5 percent of the frame's height. If only one value is
91
- given, then that value will be used for both x and y scaling.
92
- ** Note. ** A space must separate * xper* and * yper* .
86
+ given, then that value will be used for both x and y scaling.
87
+ A space must separate * xper* and * yper* .
93
88
94
- < span id = " symbol " ></ span > ** symbol** * type size xper yper \[ line_color \[ fill_color\]\] *
89
+ ** symbol** * type size xper yper \[ line_color \[ fill_color\]\] *
95
90
A symbol is drawn at the given size on the display monitor. The * xper*
96
91
and * yper* options define the center of the icon and are given as a
97
92
percentage of the display frame (` 0,0 ` is lower left). The symbol can be
@@ -102,15 +97,15 @@ name, an R:G:B triplet, or "none". If using an R:G:B triplet, each color
102
97
value can range from 0-255. If not specified the default * line_color* is
103
98
black and the default * fill_color* is grey.
104
99
105
- < span id = " rotation " ></ span > ** rotation** * angle*
100
+ ** rotation** * angle*
106
101
Subsequent text and symbols will be drawn such that they are rotated
107
102
* angle* degrees counter-clockwise from east.
108
103
109
- < span id = " icon " ></ span > ** icon** * type size x y*
104
+ ** icon** * type size x y*
110
105
Draws an icon of types * o* , * x* , or * +* with specified * size* (in %) at
111
106
location * x,y* . Note: type * o* designates a square.
112
107
113
- < span id = " width " ></ span > ** width** * value*
108
+ ** width** * value*
114
109
Subsequent lines (including non-FreeType text) will be drawn with the
115
110
given pixel thickness.
116
111
The default value is 0.
0 commit comments