Subversion Repositories wimsdev

Rev

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

Rev 18352 Rev 18463
Line 19... Line 19...
19
:arrow2 x1,y1,x2,y2,l,[color]
19
:arrow2 x1,y1,x2,y2,l,[color]
20
 
20
 
21
 Two sided arrow (x1,y1)<--->(x2,y2), where l is the length (in pixels) of arrowhead.
21
 Two sided arrow (x1,y1)<--->(x2,y2), where l is the length (in pixels) of arrowhead.
22
:arrows [color],l,x1,y1,x2,y2,x3,y3,x4,y4,...
22
:arrows [color],l,x1,y1,x2,y2,x3,y3,x4,y4,...
23
 
23
 
24
Arrow (x1,y1)--->(x2,y2), (x3;y3)--->(x4;y4) where l is the length (in pixels) of arrowhead.
24
 Arrow (x1,y1)--->(x2,y2), (x3;y3)--->(x4;y4) where l is the length (in pixels) of arrowhead.
25
:arrows2 [color],l,x1,y1,x2,y2,x3,y3,x4,y4,...
25
:arrows2 [color],l,x1,y1,x2,y2,x3,y3,x4,y4,...
26
 
26
 
27
Two sided arrow (x1,y1)<--->(x2,y2), (x3;y3)<--->(x4;y4) where l is the length (in pixels) of arrowhead.
27
 Two sided arrow (x1,y1)<--->(x2,y2), (x3;y3)<--->(x4;y4) where l is the length (in pixels) of arrowhead.
28
:circle x,y,r,[color]
28
:circle x,y,r,[color]
29
 
29
 
30
 Circle of center (x,y) and radius r (in pixels).
30
 Circle of center (x,y) and radius r (in pixels).
31
:circles [color],x1,y1,r1,x2,y2,r2 ...
31
:circles [color],x1,y1,r1,x2,y2,r2 ...
32
 
32
 
33
Circles of center (x1;y1) and radius r1 (according to xrange) ...
33
 Circles of center (x1;y1) and radius r1 (according to xrange) ...
34
:comment
34
:comment
35
 
35
 
36
 Does nothing.
36
 Does nothing.
37
:copy x,y,x1,y1,x2,y2,[filename]
37
:copy x,y,x1,y1,x2,y2,[filename]
38
 insert
38
 insert
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
Keyword: 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
63
 Two sided dashed arrow (x1,y1)<- - ->(x2,y2), where l is the length (in pixels) of arrowhead.
63
 Two sided dashed arrow (x1,y1)<- - ->(x2,y2), where l is the length (in pixels) of arrowhead.
64
:darrows [color],l,x1,y1,x2,y2,x3,y3,x4,y4,...
64
:darrows [color],l,x1,y1,x2,y2,x3,y3,x4,y4,...
65
 
65
 
66
Flèches en pointillés allant du point (x1;y1) vers le point (x2;y2), du point (x3;y3) vers le point (x4;y4) et dont la tête est de longueur l pixels.
66
 Dashed arrow from (x1;y1) to (x2;y2), from(x3;y3 ) to (x4;y4) where l is the length (in pixels) of arrowhead.
67
:darrows2 [color],l,x1,y1,x2,y2,x3,y3,x4,y4,...
67
:darrows2 [color],l,x1,y1,x2,y2,x3,y3,x4,y4,...
68
 
68
 
69
Flèches en pointillés entre les points (x1;y1) et (x2;y2), (x3;y3) et (x4;y4) ayant deux têtes de longueur l pixels.
69
 Dashed arrow from (x1;y1) to (x2;y2), from(x3;y3 ) to (x4;y4) where l is the length (in pixels) of the two arrowheads.
70
:dashhalfline x1,y1,x2,y2,[color]
70
:dashhalfline x1,y1,x2,y2,[color]
71
 
71
 
72
Demi-droite en pointillés partant de (x1; y1) et passant par (x2; y2) de couleur color
72
 Halfline from (x1; y1) through (x2; y2).
73
:dhline x,y,[color]
73
:dhline x,y,[color]
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]
79
:dline x1,y1,x2,y2,[color]
80
 dashedline dashline
80
 dashedline dashline
81
Droite en pointillés passant par les points de coordonnées (x1; y1) et (x2; y2).
81
 Dashed line through (x1; y1) et (x2; y2).
82
:dlines [color],x1,y1,x2,y2,x3,y3...
82
:dlines [color],x1,y1,x2,y2,x3,y3...
83
 dashedlines dashlines
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.
84
 Dashed line through (x1; y1) and (x2; y2), (x3;y3) and (x4;y4) etc.
85
:dpolyline [color],x1,y1,x2,y2,x3,y3...
85
:dpolyline [color],x1,y1,x2,y2,x3,y3...
86
 
86
 
87
 n dashed line segments (x1,y1)---(x2,y2)---(x3,y3)...
87
 n dashed line segments (x1,y1)---(x2,y2)---(x3,y3)...
88
:dotfill x,y,nx,ny,[color]
88
:dotfill x,y,nx,ny,[color]
89
 pointfill diskfill
89
 pointfill diskfill
Line 103... Line 103...
103
:fcircle x,y,d,[color]
103
:fcircle x,y,d,[color]
104
 ball disk filledcircle
104
 ball disk filledcircle
105
 Filled circle of center (x,y) and diameter d (in pixels).
105
 Filled circle of center (x,y) and diameter d (in pixels).
106
:fcircles [color],x1,y1,r1,x2,y2,r2 ...
106
:fcircles [color],x1,y1,r1,x2,y2,r2 ...
107
 
107
 
108
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) ...
109
:fellipse x,y,w,h,[color]
109
:fellipse x,y,w,h,[color]
110
filledellipse
110
filledellipse
111
 Filled ellipse with center (x,y), width w and height h.
111
 Filled ellipse with center (x,y), width w and height h.
-
 
112
:fhyppolygon [color],x1,y1,x2,y2,x3,y3,...
-
 
113
 
-
 
114
Filled hyperbolic polygon dans le disque de Poincaré de sommets (x1; y1), (x2; y2), (x3; y3),... (géométrie hyperbolique) et rempli avec la couleur color.
112
:fhyptriangle x1,y1,x2,y2,x3,y3,[color]
115
:fhyptriangle x1,y1,x2,y2,x3,y3,[color]
113
 
116
 
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.
117
 Filled hyperbolic triangle in Po!ncaré disk with vertices (x1; y1), (x2; y2), (x3; y3)
115
:fill x,y,[color]
118
:fill x,y,[color]
116
flood floodfill
119
flood floodfill
117
 Flood fill the region containing (x,y) with the same original color, by color.
120
 Flood fill the region containing (x,y) with the same original color, by color.
118
:filled
121
:filled
119
 
122
 
120
Keyword: indique que l'objet suivant sera colorié si pertinent
123
Keyword: means that the following object will be filled with color, if it makes sense
121
:filltoborder x,y,[color1],[color2]
124
:filltoborder x,y,[color1],[color2]
122
 
125
 
123
 Flood fill by color2 the region containing (x,y) and bounded by color1.
126
 Flood fill by color2 the region containing (x,y) and bounded by color1.
124
:fpoly [color],x1,y1,x2,y2,x3,y3...
127
:fpoly [color],x1,y1,x2,y2,x3,y3...
125
 filledpoly filledpolygon fpolygon
128
 filledpoly filledpolygon fpolygon
126
 Filled polygon (x1,y1)--(x2,y2)--(x3,y3)...
129
 Filled polygon (x1,y1)--(x2,y2)--(x3,y3)...
127
:frect x1,y1,x2,y2,[color]
130
:frect x1,y1,x2,y2,[color]
Line 135... Line 138...
135
 Filled triangle with vertices (x1,y1),(x2,y2),(x3,y3).
138
 Filled triangle with vertices (x1,y1),(x2,y2),(x3,y3).
136
:gridfill x,y,nx,ny,[color]
139
:gridfill x,y,nx,ny,[color]
137
 
140
 
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).
141
 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).
139
:halfline x1,y1,x2,y2,[color]
142
:halfline x1,y1,x2,y2,[color]
140
 
143
 
141
Halfline from (x1; y1) through (x2; y2).
144
Halfline from (x1; y1) through (x2; y2).
142
:hatchfill x,y,nx,ny,[color]
145
:hatchfill x,y,nx,ny,[color]
143
 
146
 
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).
147
 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).
145
:hline x,y,[color]
148
:hline x,y,[color]
146
horizontalline
149
horizontalline
147
 Horizontal line through (x,y).
150
 Horizontal line through (x,y).
148
:hyplines [color],x1,y1,x2,y2,x3,y3,x4,y4, ...
151
:hyplines [color],x1,y1,x2,y2,x3,y3,x4,y4, ...
149
 
152
 
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
153
Hyperbolic lines in Poincaré disk through (x1; y1) and (x2; y2), (x3; y3) and (x4; y4), ...
-
 
154
:hyppolygon [color],x1,y1,x2,y2,x3,y3,...
-
 
155
 
-
 
156
Hyperbolic polygon in Poincaré disk (x1,y1)-(x2,y2)-(x3,y3)... in Poincaré disk
151
:hypsegments [color],x1,y1,x2,y2,x3,y3,x4,y4, ...
157
:hypsegments [color],x1,y1,x2,y2,x3,y3,x4,y4, ...
152
 
158
 
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
159
Hyperbolic segments in Poincaré disk between (x1; y1) and (x2; y2), (x3; y3) and (x4; y4), etc
154
:hyptriangle x1,y1,x2,y2,x3,y3,[color]
160
:hyptriangle x1,y1,x2,y2,x3,y3,[color]
155
 
161
 
156
Triangle dans le disque de Poincaré de sommets (x1; y1), (x2; y2), (x3; y3) (géométrie hyperbolique)
162
Hyperbolic triangle with vertices (x1; y1), (x2; y2), (x3; y3)
157
:interlace
163
:interlace
158
 
164
 
159
Set interlaced image
165
Set interlaced image
160
:killaffine
166
:killaffine
161
 
167
 
Line 181... Line 187...
181
:levelstep n
187
:levelstep n
182
 
188
 
183
 Set the number of pixel steps in levelcurve plotting. Between 1 and 16, defaults to 4.
189
 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, ...
190
:lines [color],x1,y1,x2,y2,x3,y3,x4,y4, ...
185
 
191
 
186
Droites passant par les points de coordonnées (x1; y1) et (x2; y2), (x3; y3) et (x4; y4), etc
192
 Lines through  the points (x1; y1) and (x2; y2), (x3; y3) and (x4; y4), etc
187
:linear a,b,c,d
193
:linear a,b,c,d
188
 
194
 
189
 Make a linear transformation for the subsequent objects: (x;y) -> [a,b;c,d](x;y).
195
 Make a linear transformation for the subsequent objects: (x;y) -> [a,b;c,d](x;y).
190
:linewidth w
196
:linewidth w
191
 
197
 
Line 196... Line 202...
196
:new x,y
202
:new x,y
197
 
203
 
198
 Set a new image of size x,y.
204
 Set a new image of size x,y.
199
:noreset
205
:noreset
200
 
206
 
201
keyword: if it is followed by dashed or filled, the following commands are dashed or filled, up to the command reset
207
 keyword: if it is followed by dashed or filled, the following commands are dashed or filled, up to the command reset
202
:output [filename]
208
:output [filename]
203
 
209
 
204
 Output the current image to [filename].
210
 Output the current image to [filename].
205
:parallel x1,y1,x2,y2,xv,yv,n,[color]
211
:parallel x1,y1,x2,y2,xv,yv,n,[color]
206
 
212