Subversion Repositories wimsdev

Rev

Rev 18257 | Rev 18463 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 18257 Rev 18352
Line 10... Line 10...
10
:animstep n
10
:animstep n
11
 
11
 
12
Set up an integer which can be called in any evaluation. Used for animation. Direct use of this command must be avoided under WIMS.
12
Set up an integer which can be called in any evaluation. Used for animation. Direct use of this command must be avoided under WIMS.
13
:arc x,y,w,h,a1,a2,[color]
13
:arc x,y,w,h,a1,a2,[color]
14
 
14
 
15
 Arc segment of an ellipse of width w and hight h centered at (x,y), from angle a1 to angle a2 (in degrees) counterclockwise.
15
 Arc segment of an ellipse of width w and hight h centered at (x,y), from angle a1 to angle a2 (in degrees) counterclockwise. It is recommended to take x to ensure compatibility with canvasdraw.
16
:arrow x1,y1,x2,y2,l,[color]
16
:arrow x1,y1,x2,y2,l,[color]
17
 
17
 
18
 Arrow (x1,y1)--->(x2,y2), where l is the length (in pixels) of arrowhead.
18
 Arrow (x1,y1)--->(x2,y2), where l is the length (in pixels) of arrowhead.
19
:arrow2 x1,y1,x2,y2,l,[color]
19
:arrow2 x1,y1,x2,y2,l,[color]
20
 
20
 
Line 49... Line 49...
49
:crosshairsize w
49
:crosshairsize w
50
 
50
 
51
 Set crosshair size to w (in pixels).
51
 Set crosshair size to w (in pixels).
52
:dashed
52
:dashed
53
 
53
 
54
Indique que la commande suivante est en pointillés si cette possibilité existe pour cette commande.
54
Keyword: Indique que la commande suivante est en pointillés si cette possibilité existe pour cette commande.
55
:dashhalfline x1,y1,x2,y2,[color]
55
:dashhalfline x1,y1,x2,y2,[color]
56
 
56
 
57
Dashed halfline from (x1; y1) through (x2; y2).
57
Dashed halfline from (x1;y1) through (x2; y2).
58
:darrow x1,y1,x2,y2,l,[color]
58
:darrow x1,y1,x2,y2,l,[color]
59
 dasharrow dashedarrow
59
 dasharrow dashedarrow
60
 Dashed arrow (x1,y1)- - ->(x2,y2), where l is the length (in pixels) of arrowhead.
60
 Dashed arrow (x1,y1)- - ->(x2,y2), where l is the length (in pixels) of arrowhead.
61
:darrow2 x1,y1,x2,y2,l,[color]
61
:darrow2 x1,y1,x2,y2,l,[color]
62
dasharrow2 dashedarrow2
62
dasharrow2 dashedarrow2
Line 74... Line 74...
74
dashedhorizontalline dashhorizontalline hdline horizontaldashedline
74
dashedhorizontalline dashhorizontalline hdline horizontaldashedline
75
  Dashed horizontal line through (x,y).
75
  Dashed horizontal line through (x,y).
76
:diamondfill x,y,nx,ny,[color]
76
:diamondfill x,y,nx,ny,[color]
77
 diafill
77
 diafill
78
 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).
78
 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).
-
 
79
:dline x1,y1,x2,y2,[color]
-
 
80
 dashedline dashline
-
 
81
Droite en pointillés passant par les points de coordonnées (x1; y1) et (x2; y2).
-
 
82
:dlines [color],x1,y1,x2,y2,x3,y3...
-
 
83
 dashedlines dashlines
-
 
84
 Droites en pointillés passant par les points de coordonnées (x1; y1) et (x2; y2), (x3;y3) et (x4;y4) etc.
79
:dpolyline [color],x1,y1,x2,y2,x3,y3...
85
:dpolyline [color],x1,y1,x2,y2,x3,y3...
80
 
86
 
81
 n dashed line segments (x1,y1)---(x2,y2)---(x3,y3)...
87
 n dashed line segments (x1,y1)---(x2,y2)---(x3,y3)...
82
:dotfill x,y,nx,ny,[color]
88
:dotfill x,y,nx,ny,[color]
83
 pointfill diskfill
89
 pointfill diskfill
Line 101... Line 107...
101
 
107
 
102
Filled circles of center (x1;y1) and radius r1 (according to xrange) ...
108
Filled circles of center (x1;y1) and radius r1 (according to xrange) ...
103
:fellipse x,y,w,h,[color]
109
:fellipse x,y,w,h,[color]
104
filledellipse
110
filledellipse
105
 Filled ellipse with center (x,y), width w and height h.
111
 Filled ellipse with center (x,y), width w and height h.
-
 
112
:fhyptriangle x1,y1,x2,y2,x3,y3,[color]
-
 
113
 
-
 
114
Triangle dans le disque de Poincaré de sommets (x1; y1), (x2; y2), (x3; y3) (géométrie hyperbolique) et rempli avec la couleur color.
106
:fill x,y,[color]
115
:fill x,y,[color]
107
flood floodfill
116
flood floodfill
108
 Flood fill the region containing (x,y) with the same original color, by color.
117
 Flood fill the region containing (x,y) with the same original color, by color.
109
:filled
118
:filled
110
 
119
 
111
Keyword: indique que l'objet suivant sera colorié si pertinent
120
Keyword: indique que l'objet suivant sera colorié si pertinent
112
:filltoborder x,y,[color1],[color2]
121
:filltoborder x,y,[color1],[color2]
113
 
122
 
114
 Flood fill by color2 the region containing (x,y) and bounded by color1.
123
 Flood fill by color2 the region containing (x,y) and bounded by color1.
115
:fpoly [color],x1,y1,x2,y2,x3,y3...
124
:fpoly [color],x1,y1,x2,y2,x3,y3...
116
 filledpoly filledpolygon fpolygon
125
 filledpoly filledpolygon fpolygon
117
 Filled polygon (x1,y1)--(x2,y2)--(x3,y3)...
126
 Filled polygon (x1,y1)--(x2,y2)--(x3,y3)...
118
:frect x1,y1,x2,y2,[color]
127
:frect x1,y1,x2,y2,[color]
Line 123... Line 132...
123
 Filled square with sides s (in pixels) and first corner at (x,y).
132
 Filled square with sides s (in pixels) and first corner at (x,y).
124
:ftriangle x1,y1,x2,y2,x3,y3,[color]
133
:ftriangle x1,y1,x2,y2,x3,y3,[color]
125
filledtriangle
134
filledtriangle
126
 Filled triangle with vertices (x1,y1),(x2,y2),(x3,y3).
135
 Filled triangle with vertices (x1,y1),(x2,y2),(x3,y3).
127
:gridfill x,y,nx,ny,[color]
136
:gridfill x,y,nx,ny,[color]
128
 
137
 
129
 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).
138
 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).
130
:halfline x1,y1,x2,y2,[color]
139
:halfline x1,y1,x2,y2,[color]
131
 
140
 
132
Halfline from (x1; y1) through (x2; y2).
141
Halfline from (x1; y1) through (x2; y2).
133
:hatchfill x,y,nx,ny,[color]
142
:hatchfill x,y,nx,ny,[color]
134
 
143
 
135
 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).
144
 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).
136
:hline x,y,[color]
145
:hline x,y,[color]
137
horizontalline
146
horizontalline
138
 Horizontal line through (x,y).
147
 Horizontal line through (x,y).
-
 
148
:hyplines [color],x1,y1,x2,y2,x3,y3,x4,y4, ...
-
 
149
 
-
 
150
Géodésiques hyperboliques dans le disque de Poincaré passant par les points de coordonnées (x1; y1) et (x2; y2), (x3; y3) et (x4; y4), etc
-
 
151
:hypsegments [color],x1,y1,x2,y2,x3,y3,x4,y4, ...
-
 
152
 
-
 
153
Géodésiques hyperboliques dans le disque de Poincaré entre les points de coordonnées (x1; y1) et (x2; y2), (x3; y3) et (x4; y4), etc
-
 
154
:hyptriangle x1,y1,x2,y2,x3,y3,[color]
-
 
155
 
-
 
156
Triangle dans le disque de Poincaré de sommets (x1; y1), (x2; y2), (x3; y3) (géométrie hyperbolique)
139
:interlace
157
:interlace
140
 
158
 
141
Set interlaced image
159
Set interlaced image
142
:killaffine
160
:killaffine
143
 
161
 
144
 Reset affine transformation to identity.
162
 Reset affine transformation to identity.
145
:killbrush
163
:killbrush
146
 
164
 
147
Turns off brush selection for line drawing.
165
Turns off brush selection for line drawing.
148
:killlinear
166
:killlinear
Line 153... Line 171...
153
 Turns off tile selection for filling.
171
 Turns off tile selection for filling.
154
:killtranslation
172
:killtranslation
155
killtranslate
173
killtranslate
156
 Reset translation to identity.
174
 Reset translation to identity.
157
:lattice x0,y0,x1,y1,x2,y2,n1,n2,[color]
175
:lattice x0,y0,x1,y1,x2,y2,n1,n2,[color]
158
 
176
 
159
 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).
177
 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).
160
:levelcurve [color],[expression],l1,l2,...
178
:levelcurve [color],[expression],l1,l2,...
161
 
179
 
162
 Draws level curves for expression, with levels l1, l2,...
180
 Draws level curves for expression, with levels l1, l2,...
163
:levelstep n
181
:levelstep n
164
 
182
 
165
 Set the number of pixel steps in levelcurve plotting. Between 1 and 16, defaults to 4.
183
 Set the number of pixel steps in levelcurve plotting. Between 1 and 16, defaults to 4.
-
 
184
:lines [color],x1,y1,x2,y2,x3,y3,x4,y4, ...
-
 
185
 
-
 
186
Droites passant par les points de coordonnées (x1; y1) et (x2; y2), (x3; y3) et (x4; y4), etc
166
:linear a,b,c,d
187
:linear a,b,c,d
167
 
188
 
168
 Make a linear transformation for the subsequent objects: (x;y) -> [a,b;c,d](x;y).
189
 Make a linear transformation for the subsequent objects: (x;y) -> [a,b;c,d](x;y).
169
:linewidth w
190
:linewidth w
170
 
191