Subversion Repositories wimsdev

Rev

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

Rev 18118 Rev 18161
Line 47... Line 47...
47
 
47
 
48
 draw multiple crosshair points at given coordinates (x1,y1), (x2,y2), ...
48
 draw multiple crosshair points at given coordinates (x1,y1), (x2,y2), ...
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
 
53
 
-
 
54
Indique que la commande suivante est en pointillés si cette possibilité existe pour cette commande.
53
:dashhalfline x1,y1,x2,y2,[color]
55
:dashhalfline x1,y1,x2,y2,[color]
54
 
56
 
55
Dashed halfline from (x1; y1) through (x2; y2).
57
Dashed halfline from (x1; y1) through (x2; y2).
56
:darrow x1,y1,x2,y2,l,[color]
58
:darrow x1,y1,x2,y2,l,[color]
57
 dasharrow dashedarrow
59
 dasharrow dashedarrow
Line 63... Line 65...
63
 
65
 
64
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
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.
65
:darrows2 [color],l,x1,y1,x2,y2,x3,y3,x4,y4,...
67
:darrows2 [color],l,x1,y1,x2,y2,x3,y3,x4,y4,...
66
 
68
 
67
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
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.
-
 
70
:dashhalfline x1,y1,x2,y2,[color]
-
 
71
 
-
 
72
Demi-droite en pointillés partant de (x1; y1) et passant par (x2; y2) de couleur color
68
:dhline x,y,[color]
73
:dhline x,y,[color]
69
dashedhorizontalline dashhorizontalline hdline horizontaldashedline
74
dashedhorizontalline dashhorizontalline hdline horizontaldashedline
70
  Dashed horizontal line through (x,y).
75
  Dashed horizontal line through (x,y).
71
:diamondfill x,y,nx,ny,[color]
76
:diamondfill x,y,nx,ny,[color]
72
 diafill
77
 diafill
Line 83... Line 88...
83
:dvline x,y,[color]
88
:dvline x,y,[color]
84
dashedverticaline dashverticalline vdline verticaldashedline
89
dashedverticaline dashverticalline vdline verticaldashedline
85
 Dashed vertical line through (x,y).
90
 Dashed vertical line through (x,y).
86
:ellipse x,y,w,h,[color]
91
:ellipse x,y,w,h,[color]
87
 
92
 
88
 Ellipse with center (x,y), width w and height h.
93
Ellipse with center (x,y), width w and height h.
89
:ellipses [color],x1,y1,w1,h1,x2,y2,w2,h2,...
94
:ellipses [color],x1,y1,w1,h1,x2,y2,w2,h2,...
90
 
95
 
91
Ellipse with center (x1,y1), width w1 and height h1 etc.
96
Ellipse with center (x1,y1), width w1 and height h1 etc.
92
:fcircle x,y,d,[color]
97
:fcircle x,y,d,[color]
93
 ball disk filledcircle
98
 ball disk filledcircle
Line 99... Line 104...
99
filledellipse
104
filledellipse
100
 Filled ellipse with center (x,y), width w and height h.
105
 Filled ellipse with center (x,y), width w and height h.
101
:fill x,y,[color]
106
:fill x,y,[color]
102
flood floodfill
107
flood floodfill
103
 Flood fill the region containing (x,y) with the same original color, by color.
108
 Flood fill the region containing (x,y) with the same original color, by color.
-
 
109
:filled
-
 
110
 
-
 
111
Keyword: indique que l'objet suivant sera colorié si pertinent
104
:filltoborder x,y,[color1],[color2]
112
:filltoborder x,y,[color1],[color2]
105
 
113
 
106
 Flood fill by color2 the region containing (x,y) and bounded by color1.
114
 Flood fill by color2 the region containing (x,y) and bounded by color1.
107
:fpoly [color],x1,y1,x2,y2,x3,y3...
115
:fpoly [color],x1,y1,x2,y2,x3,y3...
108
 filledpoly filledpolygon fpolygon
116
 filledpoly filledpolygon fpolygon
Line 133... Line 141...
133
Set interlaced image
141
Set interlaced image
134
:killaffine
142
:killaffine
135
 
143
 
136
 Reset affine transformation to identity.
144
 Reset affine transformation to identity.
137
:killbrush
145
:killbrush
138
 
146
 
139
Turns off brush selection for line drawing.
147
Turns off brush selection for line drawing.
140
:killlinear
148
:killlinear
141
killrotation killrotate
149
killrotation killrotate
142
 Reset linear transformation to identity.
150
 Reset linear transformation to identity.
143
:killtile
151
:killtile
Line 147... Line 155...
147
killtranslate
155
killtranslate
148
 Reset translation to identity.
156
 Reset translation to identity.
149
:lattice x0,y0,x1,y1,x2,y2,n1,n2,[color]
157
:lattice x0,y0,x1,y1,x2,y2,n1,n2,[color]
150
 
158
 
151
 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).
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).
152
:levelcurve [color],expression,l1,l2,...
160
:levelcurve [color],[expression],l1,l2,...
153
 
161
 
154
 Draws level curves for expression, with levels l1, l2,...
162
 Draws level curves for expression, with levels l1, l2,...
155
:levelstep n
163
:levelstep n
156
 
164
 
157
 Set the number of pixel steps in levelcurve plotting. Between 1 and 16, defaults to 4.
165
 Set the number of pixel steps in levelcurve plotting. Between 1 and 16, defaults to 4.
158
:linear a,b,c,d
166
:linear a,b,c,d
159
 
167
 
160
 Make a linear transformation for the subsequent objects: (x;y) -> [a,b;c,d](x;y).
168
 Make a linear transformation for the subsequent objects: (x;y) -> [a,b;c,d](x;y).
161
:linewidth w
169
:linewidth w
162
 
170
 
163
 Set line width to w (in pixels) for line drawing.
171
 Set line width to w (in pixels) for line drawing.
164
:multicopy n1,n2,...,nk, [filename]
172
:multicopy n1,n2,...,nk, [filename]
165
 
173
 
166
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.
174
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.
167
:new x,y
175
:new x,y
168
 
176
 
169
 Set a new image of size x,y.
177
 Set a new image of size x,y.
-
 
178
:noreset
-
 
179
 
-
 
180
keyword: if it is followed by dashed or filled, the following commands are dashed or filled, up to the command reset
170
:output [filename]
181
:output [filename]
171
 
182
 
172
 Output the current image to [filename].
183
 Output the current image to [filename].
173
:parallel x1,y1,x2,y2,xv,yv,n,[color]
184
:parallel x1,y1,x2,y2,xv,yv,n,[color]
174
 
185
 
175
 n parallel segments starting from (x1,y1)---(x2,y2), with displacement (xv,yv).
186
 n parallel segments starting from (x1,y1)---(x2,y2), with displacement (xv,yv).
176
:pixels [color],x1,y1,x2,y2,...
187
:pixels [color],x1,y1,x2,y2,...
177
 
188
 
178
 Points (all of diameter 1) at (x1,y1), (x2,y2), ...
189
 Points (all of diameter 1) at (x1,y1), (x2,y2), ...
179
:plot [color],[formula]
190
:plot [color],[formula]
Line 204... Line 215...
204
 
215
 
205
 Line segments (x0,y0)---(x1,y1), (x0,y0)---(x2,y2), ...
216
 Line segments (x0,y0)---(x1,y1), (x0,y0)---(x2,y2), ...
206
:rect x1,y1,x2,y2,[color]
217
:rect x1,y1,x2,y2,[color]
207
 rectangle
218
 rectangle
208
 Rectangle with corners (x1,y1) and (x2,y2).
219
 Rectangle with corners (x1,y1) and (x2,y2).
-
 
220
:reset
-
 
221
 
-
 
222
Keyword: reset the command "noreset"
209
:resetmatrix n
223
:resetmatrix n
210
 
224
 
211
Reset n-th linear or affine transformation to identity.
225
Reset n-th linear or affine transformation to identity.
212
:resetparallelogram
226
:resetparallelogram
213
 
227