Subversion Repositories wimsdev

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
20 reyssat 1
<p>
2
!! This file is automatically generated! Do not edit by hand.
3
Each command takes one line.<p>
4
In the following table, <tt>[color]</tt>
5
may be either a color name, or 3 integers between 0 and 255, separated by commas,
6
for the values of red,green,blue.
7
<p>$table_header
8
<caption>Drawing commands</caption>
83 bpr 9
$table_hdtr<th colspan=5>Name and syntax
10
$table_hdtr<th colspan=2>Synonymes
11
<th colspan=3>Meaning</th></tr><tr><td><td colspan=5>
20 reyssat 12
 
13
$table_tr<td colspan=5 nowrap><tt>affine a,b,c,d,tx,ty</tt></td></tr>
14
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 15
<td colspan=3> Make an affine transformation for the subsequent objets: (x;y) -> [a,b;c,d](x;y)+(tx;ty).</td></tr><tr><td colspan=5>
20 reyssat 16
$table_tr<td colspan=5 nowrap><tt>animate fra,del,rep</tt></td></tr>
17
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 18
<td colspan=3> This command is only available for WIMS OEF and doc, and MUST appear on the first line. Set up animation for fra frames, with del seconds between frames, and rep repetitions (rep=0 means infinite repetition).<br> Frame control is done via two variables: <tt>animstep</tt> (integer) going from 1 to frame count, and <tt>s</tt> going from 0 to 1.</td></tr><tr><td colspan=5>
20 reyssat 19
$table_tr<td colspan=5 nowrap><tt>animstep n</tt></td></tr>
20
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 21
<td colspan=3> Set up an integer which can be called in any evaluation. Used for animation. Direct use of this command must be avoided under WIMS.</td></tr><tr><td colspan=5>
20 reyssat 22
$table_tr<td colspan=5 nowrap><tt>arc x,y,w,h,a1,a2,[color]</tt></td></tr>
23
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 24
<td colspan=3> Arc segment of an ellipse of width w and hight h centered at (x,y), from angle a1 to angle a2 (in degrees).</td></tr><tr><td colspan=5>
20 reyssat 25
$table_tr<td colspan=5 nowrap><tt>arrow x1,y1,x2,y2,l,[color]</tt></td></tr>
26
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 27
<td colspan=3> Arrow (x1,y1)--->(x2,y2), where l is the length (in pixels) of arrowhead.</td></tr><tr><td colspan=5>
20 reyssat 28
$table_tr<td colspan=5 nowrap><tt>circle x,y,d,[color]</tt></td></tr>
29
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 30
<td colspan=3> Circle of center (x,y) and diameter d (in pixels).</td></tr><tr><td colspan=5>
20 reyssat 31
$table_tr<td colspan=5 nowrap><tt>comment</tt></td></tr>
32
$table_tr<td colspan=2><tt> &nbsp;</tt></td>
83 bpr 33
<td colspan=3> Does nothing.</td></tr><tr><td colspan=5>
20 reyssat 34
$table_tr<td colspan=5 nowrap><tt>copy x,y,x1,y1,x2,y2,[filename]</tt></td></tr>
35
$table_tr<td colspan=2><tt> insert&nbsp;</tt></td>
83 bpr 36
<td colspan=3> Insert the region from (x1,y1) to (x2,y2) (in pixels) of [filename] to (x,y). If x1=y1=x2=y2=-1, the whole [filename] is copied.</td></tr><tr><td colspan=5>
20 reyssat 37
$table_tr<td colspan=5 nowrap><tt>copyresized x1,y1,x2,y2,dx1,dy1,dx2,dy2,[filename]</tt></td></tr>
38
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 39
<td colspan=3> Insert the region from (x1,y1) to (x2,y2) (in pixels) of [filename], possibly resized, to the region of (dx1,dy1) to (dx2,dy2). If x1=y1=x2=y2=-1, the whole [filename] is copied and resized.</td></tr><tr><td colspan=5>
20 reyssat 40
$table_tr<td colspan=5 nowrap><tt>darrow x1,y1,x2,y2,l,[color]</tt></td></tr>
41
$table_tr<td colspan=2><tt> dasharrow dashedarrow&nbsp;</tt></td>
83 bpr 42
<td colspan=3> Dashed arrow (x1,y1)- - ->(x2,y2), where l is the length (in pixels) of arrowhead.</td></tr><tr><td colspan=5>
20 reyssat 43
$table_tr<td colspan=5 nowrap><tt>dhline x,y,[color]</tt></td></tr>
44
$table_tr<td colspan=2><tt> dashedhorizontalline dashhorizontalline hdline horizontaldashedline&nbsp;</tt></td>
83 bpr 45
<td colspan=3> Dashed horizontal line through (x,y).</td></tr><tr><td colspan=5>
20 reyssat 46
$table_tr<td colspan=5 nowrap><tt>diamondfill x,y,nx,ny,[color]</tt></td></tr>
47
$table_tr<td colspan=2><tt> diafill&nbsp;</tt></td>
83 bpr 48
<td colspan=3> Flood fill the region containing (x,y) with the same original color by double hatching (parallel lines), (nx,ny) being the horizontal and vertical distance between adjacent lines (in pixels).</td></tr><tr><td colspan=5>
20 reyssat 49
$table_tr<td colspan=5 nowrap><tt>dline x1,y1,x2,y2,[color]</tt></td></tr>
50
$table_tr<td colspan=2><tt> dashedline dashline&nbsp;</tt></td>
83 bpr 51
<td colspan=3> Dashed line segment (x1,y1)---(x2,y2).</td></tr><tr><td colspan=5>
20 reyssat 52
$table_tr<td colspan=5 nowrap><tt>dlines [color],x1,y1,x2,y2,x3,y3...</tt></td></tr>
53
$table_tr<td colspan=2><tt> dashedlines dashlines&nbsp;</tt></td>
83 bpr 54
<td colspan=3> n dashed line segments (x1,y1)---(x2,y2)---(x3,y3)...</td></tr><tr><td colspan=5>
20 reyssat 55
$table_tr<td colspan=5 nowrap><tt>dotfill x,y,nx,ny,[color]</tt></td></tr>
56
$table_tr<td colspan=2><tt> pointfill diskfill&nbsp;</tt></td>
83 bpr 57
<td colspan=3> Flood fill the region containing (x,y) with the same original color by (fat) dots at each (nx,ny) pixels.</td></tr><tr><td colspan=5>
20 reyssat 58
$table_tr<td colspan=5 nowrap><tt>dvline x,y,[color]</tt></td></tr>
59
$table_tr<td colspan=2><tt> dashedverticaline dashverticalline vdline verticaldashedline&nbsp;</tt></td>
83 bpr 60
<td colspan=3> Dashed vertical line through (x,y).</td></tr><tr><td colspan=5>
20 reyssat 61
$table_tr<td colspan=5 nowrap><tt>ellipse x,y,w,h,[color]</tt></td></tr>
62
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 63
<td colspan=3> Ellipse with center (x,y), width w and height h.</td></tr><tr><td colspan=5>
20 reyssat 64
$table_tr<td colspan=5 nowrap><tt>fcircle x,y,d,[color]</tt></td></tr>
65
$table_tr<td colspan=2><tt> ball disk filledcircle&nbsp;</tt></td>
83 bpr 66
<td colspan=3> Filled circle of center (x,y) and diameter d (in pixels).</td></tr><tr><td colspan=5>
20 reyssat 67
$table_tr<td colspan=5 nowrap><tt>fellipse x,y,w,h,[color]</tt></td></tr>
68
$table_tr<td colspan=2><tt> filledellipse&nbsp;</tt></td>
83 bpr 69
<td colspan=3> Filled ellipse with center (x,y), width w and height h.</td></tr><tr><td colspan=5>
20 reyssat 70
$table_tr<td colspan=5 nowrap><tt>fill x,y,[color]</tt></td></tr>
71
$table_tr<td colspan=2><tt> flood floodfill&nbsp;</tt></td>
83 bpr 72
<td colspan=3> Flood fill the region containing (x,y) with the same original color, by color.</td></tr><tr><td colspan=5>
20 reyssat 73
$table_tr<td colspan=5 nowrap><tt>filltoborder x,y,[color1],[color2]</tt></td></tr>
74
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 75
<td colspan=3> Flood fill by color2 the region containing (x,y) and bounded by color1.</td></tr><tr><td colspan=5>
20 reyssat 76
$table_tr<td colspan=5 nowrap><tt>fpoly [color],x1,y1,x2,y2,x3,y3...</tt></td></tr>
77
$table_tr<td colspan=2><tt> filledpoly filledpolygon fpolygon&nbsp;</tt></td>
83 bpr 78
<td colspan=3> Filled polygon (x1,y1)-(x2,y2)-(x3,y3)...</td></tr><tr><td colspan=5>
20 reyssat 79
$table_tr<td colspan=5 nowrap><tt>frect x1,y1,x2,y2,[color]</tt></td></tr>
80
$table_tr<td colspan=2><tt> filledrect fillecrectangle frectangle&nbsp;</tt></td>
83 bpr 81
<td colspan=3> Filled rectangle with corners (x1,y1) and (x2,y2).</td></tr><tr><td colspan=5>
20 reyssat 82
$table_tr<td colspan=5 nowrap><tt>fsquare x,y,s,[color]</tt></td></tr>
83
$table_tr<td colspan=2><tt> filledsquare&nbsp;</tt></td>
83 bpr 84
<td colspan=3> Filled square with sides s (in pixels) and first corner at (x,y).</td></tr><tr><td colspan=5>
20 reyssat 85
$table_tr<td colspan=5 nowrap><tt>ftriangle x1,y1,x2,y2,x3,y3,[color]</tt></td></tr>
86
$table_tr<td colspan=2><tt> filledtriangle&nbsp;</tt></td>
83 bpr 87
<td colspan=3> Filled triangle with vertices (x1,y1),(x2,y2),(x3,y3).</td></tr><tr><td colspan=5>
20 reyssat 88
$table_tr<td colspan=5 nowrap><tt>gridfill x,y,nx,ny,[color]</tt></td></tr>
89
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 90
<td colspan=3> Flood fill the region containing (x,y) with the same original color by a grid of horizontal and vertical lines with distance (nx,ny) (in pixels).</td></tr><tr><td colspan=5>
20 reyssat 91
$table_tr<td colspan=5 nowrap><tt>hatchfill x,y,nx,ny,[color]</tt></td></tr>
92
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 93
<td colspan=3> Flood fill the region containing (x,y) with the same original color by hatching (parallel lines), (nx,ny) being the horizontal and vertical displacement of adjacent lines (in pixels).</td></tr><tr><td colspan=5>
20 reyssat 94
$table_tr<td colspan=5 nowrap><tt>hline x,y,[color]</tt></td></tr>
95
$table_tr<td colspan=2><tt> horizontalline&nbsp;</tt></td>
83 bpr 96
<td colspan=3> Horizontal line through (x,y).</td></tr><tr><td colspan=5>
20 reyssat 97
$table_tr<td colspan=5 nowrap><tt>interlace</tt></td></tr>
98
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 99
<td colspan=3> Set interlaced image</td></tr><tr><td colspan=5>
20 reyssat 100
$table_tr<td colspan=5 nowrap><tt>killaffine</tt></td></tr>
101
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 102
<td colspan=3> Reset affine transformation to identity.</td></tr><tr><td colspan=5>
20 reyssat 103
$table_tr<td colspan=5 nowrap><tt>killbrush</tt></td></tr>
104
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 105
<td colspan=3> Turns off brush selection for line drawing.</td></tr><tr><td colspan=5>
20 reyssat 106
$table_tr<td colspan=5 nowrap><tt>killlinear</tt></td></tr>
107
$table_tr<td colspan=2><tt> killrotation,killrotate&nbsp;</tt></td>
83 bpr 108
<td colspan=3> Reset linear transformation to identity.</td></tr><tr><td colspan=5>
20 reyssat 109
$table_tr<td colspan=5 nowrap><tt>killtile</tt></td></tr>
110
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 111
<td colspan=3> Turns off tile selection for filling.</td></tr><tr><td colspan=5>
20 reyssat 112
$table_tr<td colspan=5 nowrap><tt>killtranslation</tt></td></tr>
113
$table_tr<td colspan=2><tt> killtranslate&nbsp;</tt></td>
83 bpr 114
<td colspan=3> Reset translation to identity.</td></tr><tr><td colspan=5>
20 reyssat 115
$table_tr<td colspan=5 nowrap><tt>lattice x0,y0,x1,y1,x2,y2,n1,n2,[color]</tt></td></tr>
116
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 117
<td colspan=3> A lattice of n1xn2 points starting with (x0,y0), with n1 rows in direction of (x1,y1) and n2 rows in direction of (x2,y2).</td></tr><tr><td colspan=5>
20 reyssat 118
$table_tr<td colspan=5 nowrap><tt>levelcurve [color],expression,l1,l2,...</tt></td></tr>
119
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 120
<td colspan=3> Draws level curves for expression, with levels l1, l2,...</td></tr><tr><td colspan=5>
20 reyssat 121
$table_tr<td colspan=5 nowrap><tt>levelstep n</tt></td></tr>
122
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 123
<td colspan=3> Set the number of pixel steps in levelcurve plotting. Between 1 and 16, defaults to 4.</td></tr><tr><td colspan=5>
20 reyssat 124
$table_tr<td colspan=5 nowrap><tt>line x1,y1,x2,y2,[color]</tt></td></tr>
125
$table_tr<td colspan=2><tt> seg segment&nbsp;</tt></td>
83 bpr 126
<td colspan=3> Line segment (x1,y1)---(x2,y2).</td></tr><tr><td colspan=5>
20 reyssat 127
$table_tr<td colspan=5 nowrap><tt>linear a,b,c,d</tt></td></tr>
128
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 129
<td colspan=3> Make an linear transformation for the subsequent objets: (x;y) -> [a,b;c,d](x;y).</td></tr><tr><td colspan=5>
20 reyssat 130
$table_tr<td colspan=5 nowrap><tt>lines [color],x1,y1,x2,y2,x3,y3...</tt></td></tr>
131
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 132
<td colspan=3> n line segments (x1,y1)---(x2,y2)---(x3,y3)...</td></tr><tr><td colspan=5>
20 reyssat 133
$table_tr<td colspan=5 nowrap><tt>linewidth w</tt></td></tr>
134
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 135
<td colspan=3> Set line width to w (in pixels) for line drawing.</td></tr><tr><td colspan=5>
20 reyssat 136
$table_tr<td colspan=5 nowrap><tt>multicopy n1,n2,...,nk, [filename]</tt></td></tr>
137
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 138
<td colspan=3>Copy the image [filename] in the parallelogram given by parallelogram command (with deformation) and apply to it the transformations n_1, ..., n_k (up to 19). If no n1 ... are given, all the transformations are applied. So setparallelogram and some setvector or setmatrix or settransform must be previously defined.</td></tr><tr><td colspan=5>
20 reyssat 139
$table_tr<td colspan=5 nowrap><tt>new x,y</tt></td></tr>
140
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 141
<td colspan=3> Set a new image of size x,y.</td></tr><tr><td colspan=5>
20 reyssat 142
$table_tr<td colspan=5 nowrap><tt>output [filename]</tt></td></tr>
143
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 144
<td colspan=3> Output the current image to [filename].</td></tr><tr><td colspan=5>
20 reyssat 145
$table_tr<td colspan=5 nowrap><tt>parallel x1,y1,x2,y2,xv,yv,n,[color]</tt></td></tr>
146
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 147
<td colspan=3> n parallel lines starting from (x1,y1)---(x2,y2), with displacement (xv,yv).</td></tr><tr><td colspan=5>
20 reyssat 148
$table_tr<td colspan=5 nowrap><tt>pixels [color],x1,y1,x2,y2,...</tt></td></tr>
149
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 150
<td colspan=3> Points (all of diameter 1) at (x1,y1), (x2,y2), ...</td></tr><tr><td colspan=5>
20 reyssat 151
$table_tr<td colspan=5 nowrap><tt>plot [color],[formula]</tt></td></tr>
152
$table_tr<td colspan=2><tt> curve&nbsp;</tt></td>
83 bpr 153
<td colspan=3> Plot a curve according to [formula] which can be either an explicit function of x, or a pair of parametric functions in t.</td></tr><tr><td colspan=5>
20 reyssat 154
$table_tr<td colspan=5 nowrap><tt>plotjump j</tt></td></tr>
155
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 156
<td colspan=3> Plotted curve will jump is two consecutive points have distance more than j pixels. Useful to avoid plotting discontinuous functions as continuous. Default value: 200.</td></tr><tr><td colspan=5>
20 reyssat 157
$table_tr<td colspan=5 nowrap><tt>plotstep n</tt></td></tr>
158
$table_tr<td colspan=2><tt> plotsteps tstep tsteps&nbsp;</tt></td>
83 bpr 159
<td colspan=3> Set the number of point computations in curve plot. Defaults to 100.</td></tr><tr><td colspan=5>
20 reyssat 160
$table_tr<td colspan=5 nowrap><tt>point x,y,[color]</tt></td></tr>
161
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 162
<td colspan=3> A (fat) point at (x,y), whose diameter is equal to linewidth.</td></tr><tr><td colspan=5>
20 reyssat 163
$table_tr<td colspan=5 nowrap><tt>points [color],x1,y1,x2,y2,...</tt></td></tr>
164
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 165
<td colspan=3> (Fat) points at (x1,y1), (x2,y2), ..., whose diameters are equal to linewidth.</td></tr><tr><td colspan=5>
20 reyssat 166
$table_tr<td colspan=5 nowrap><tt>poly [color],x1,y1,x2,y2,x3,y3...</tt></td></tr>
167
$table_tr<td colspan=2><tt> polygon&nbsp;</tt></td>
83 bpr 168
<td colspan=3> Polygon (x1,y1)-(x2,y2)-(x3,y3)...</td></tr><tr><td colspan=5>
20 reyssat 169
$table_tr<td colspan=5 nowrap><tt>range x1,x2,y1,y2</tt></td></tr>
170
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 171
<td colspan=3> Set the drawing range to [x1,x2] horizontally and [y1,y2] vertically. Note that by default, horizontal range is [0,xsize-1] and vertical range is [ysize-1,0].</td></tr><tr><td colspan=5>
20 reyssat 172
$table_tr<td colspan=5 nowrap><tt>rays [color],x0,y0,x1,y1,x2,y2...</tt></td></tr>
173
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 174
<td colspan=3> Line segments (x0,y0)---(x1,y1), (x0,y0)---(x2,y2), ...</td></tr><tr><td colspan=5>
20 reyssat 175
$table_tr<td colspan=5 nowrap><tt>rect x1,y1,x2,y2,[color]</tt></td></tr>
176
$table_tr<td colspan=2><tt> rectangle&nbsp;</tt></td>
83 bpr 177
<td colspan=3> Rectangle with corners (x1,y1) and (x2,y2).</td></tr><tr><td colspan=5>
20 reyssat 178
$table_tr<td colspan=5 nowrap><tt>resetmatrix n</tt></td></tr>
179
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 180
<td colspan=3>Reset n-th linear or affine transformation to identity.</td></tr><tr><td colspan=5>
20 reyssat 181
$table_tr<td colspan=5 nowrap><tt>resetparallelogram</tt></td></tr>
182
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 183
<td colspan=3>kill setparallelogram</td></tr><tr><td colspan=5>
20 reyssat 184
$table_tr<td colspan=5 nowrap><tt>resetvector n</tt></td></tr>
185
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 186
<td colspan=3>Reset n-th translation to identity.</td></tr><tr><td colspan=5>
20 reyssat 187
$table_tr<td colspan=5 nowrap><tt>resettransform n</tt></td></tr>
188
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 189
<td colspan=3>Reset n-th linear, affine transformation and n-th translation to initial values (identity or null vector).</td></tr><tr><td colspan=5>
20 reyssat 190
$table_tr<td colspan=5 nowrap><tt>rotation d</tt></td></tr>
191
$table_tr<td colspan=2><tt> rotate&nbsp;</tt></td>
83 bpr 192
<td colspan=3> Make a rotation of degree d counter-clockwise (centered at (0,0)), for the subsequent objets.</td></tr><tr><td colspan=5>
20 reyssat 193
$table_tr<td colspan=5 nowrap><tt>setbrush [filename]</tt></td></tr>
194
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 195
<td colspan=3> Use the image [filename] as a brush for all line draws.</td></tr><tr><td colspan=5>
20 reyssat 196
$table_tr<td colspan=5 nowrap><tt>setpixel x,y,[color]</tt></td></tr>
197
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 198
<td colspan=3> A point (of diameter 1 pixel) at (x,y).</td></tr><tr><td colspan=5>
20 reyssat 199
$table_tr<td colspan=5 nowrap><tt>setstyle [color1],[color2],...</tt></td></tr>
200
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 201
<td colspan=3> Set the line style to color1,color2,...</td></tr><tr><td colspan=5>
20 reyssat 202
$table_tr<td colspan=5 nowrap><tt>setmatrix n,a,b,c,d</tt></td></tr>
203
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 204
<td colspan=3>Make the n-th linear transformation for multicopy objects: (x;y) -> [a,b;c,d](x;y).</td></tr><tr><td colspan=5>
20 reyssat 205
$table_tr<td colspan=5 nowrap><tt>setparallelogram xs,yz,xu,yu,xv,yv</tt></td></tr>
206
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 207
<td colspan=3>Prepare the place where the image will be copied by multicopy (mathematical coordinates) : xs,ys mathematical coordinates of the origin point, xu,yu mathematical coordinates of the "horizontal line of the image" to copy, xv,yv mathematical coordinates of the "verticale line of the image" to copy.</td></tr><tr><td colspan=5>
20 reyssat 208
$table_tr<td colspan=5 nowrap><tt>settile [filename]</tt></td></tr>
209
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 210
<td colspan=3> Use the image [filename] as a tile for all filling commands.</td></tr><tr><td colspan=5>
20 reyssat 211
$table_tr<td colspan=5 nowrap><tt>settransform n,a,b,c,d,tx,ty</tt></td></tr>
212
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 213
<td colspan=3>Make the n-th linear transformation for multicopy objects: (x;y) -> [a,b;c,d](x;y) + (tx;ty). (settransform n,a,b,c,d,tx,ty is equivalent to setmatrix n,a,b,c,d and setvector n,tx,ty, so it kills a previous definition setmatrix n,a,b,c,d with the  same number n).</td></tr><tr><td colspan=5>
20 reyssat 214
$table_tr<td colspan=5 nowrap><tt>setvector n,tx,ty</tt></td></tr>
215
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 216
<td colspan=3>Make the n-th translation for multicopy objects: (x;y) -> (tx,ty).</td></tr><tr><td colspan=5>
20 reyssat 217
$table_tr<td colspan=5 nowrap><tt>size x,y</tt></td></tr>
218
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 219
<td colspan=3> Set the image size to x pixels horizontally and y pixels vertically.</td></tr><tr><td colspan=5>
20 reyssat 220
$table_tr<td colspan=5 nowrap><tt>square x,y,s,[color]</tt></td></tr>
221
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 222
<td colspan=3> Square with sides s (in pixels) and first corner at (x,y).</td></tr><tr><td colspan=5>
20 reyssat 223
$table_tr<td colspan=5 nowrap><tt>text [color],x,y,[font],[string]</tt></td></tr>
224
$table_tr<td colspan=2><tt> print string write&nbsp;</tt></td>
83 bpr 225
<td colspan=3> Write the string at (x,y), with font=small,medium,large or giant.</td></tr><tr><td colspan=5>
20 reyssat 226
$table_tr<td colspan=5 nowrap><tt>textup [color],x,y,[font],[string]</tt></td></tr>
227
$table_tr<td colspan=2><tt> stringup writeup&nbsp;</tt></td>
83 bpr 228
<td colspan=3> Write upwards the string at (x,y), with font=small,medium,large or giant.</td></tr><tr><td colspan=5>
20 reyssat 229
$table_tr<td colspan=5 nowrap><tt>trange t1,t2</tt></td></tr>
230
$table_tr<td colspan=2><tt> ranget&nbsp;</tt></td>
83 bpr 231
<td colspan=3> Set the t range to [t1,t2] for parametric curve plotting. Defaults to [0,1].</td></tr><tr><td colspan=5>
20 reyssat 232
$table_tr<td colspan=5 nowrap><tt>translation tx,ty</tt></td></tr>
233
$table_tr<td colspan=2><tt> translate&nbsp;</tt></td>
83 bpr 234
<td colspan=3> Make an translation for the subsequent objets: (x;y) -> (x;y)+(tx;ty).</td></tr><tr><td colspan=5>
20 reyssat 235
$table_tr<td colspan=5 nowrap><tt>transparent [color]</tt></td></tr>
236
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 237
<td colspan=3> Makes [color] a transparent color.</td></tr><tr><td colspan=5>
20 reyssat 238
$table_tr<td colspan=5 nowrap><tt>triangle x1,y1,x2,y2,x3,y3,[color]</tt></td></tr>
239
$table_tr<td colspan=2><tt>&nbsp;</tt></td>
83 bpr 240
<td colspan=3> Triangle with vertices (x1,y1),(x2,y2),(x3,y3).</td></tr><tr><td colspan=5>
20 reyssat 241
$table_tr<td colspan=5 nowrap><tt>vline x,y,[color]</tt></td></tr>
242
$table_tr<td colspan=2><tt> verticalline&nbsp;</tt></td>
83 bpr 243
<td colspan=3> Vertical line through (x,y).</td></tr><tr><td colspan=5>
20 reyssat 244
$table_tr<td colspan=5 nowrap><tt>xrange x1,x2</tt></td></tr>
245
$table_tr<td colspan=2><tt> rangex&nbsp;</tt></td>
83 bpr 246
<td colspan=3> Set the horizontal drawing range to [x1,x2]. Defaults to [0,xsize-1].</td></tr><tr><td colspan=5>
20 reyssat 247
$table_tr<td colspan=5 nowrap><tt>yrange y1,y2</tt></td></tr>
248
$table_tr<td colspan=2><tt> rangey&nbsp;</tt></td>
83 bpr 249
<td colspan=3> Set the horizontal drawing range to [y1,y2]. Defaults to [ysize-1,0].</td></tr><tr><td colspan=5>
20 reyssat 250
$table_end<p>