Rev 16344 | Rev 17658 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 16344 | Rev 17570 | ||
---|---|---|---|
Line 169... | Line 169... | ||
169 | (Fat) points at (x1,y1), (x2,y2), ..., whose diameters are equal to linewidth. |
169 | (Fat) points at (x1,y1), (x2,y2), ..., whose diameters are equal to linewidth. |
170 | :polygon [color],x1,y1,x2,y2,x3,y3... |
170 | :polygon [color],x1,y1,x2,y2,x3,y3... |
171 | poly |
171 | poly |
172 | Polygon (x1,y1)-(x2,y2)-(x3,y3)... |
172 | Polygon (x1,y1)-(x2,y2)-(x3,y3)... |
173 | :polyline [color],x1,y1,x2,y2,x3,y3... |
173 | :polyline [color],x1,y1,x2,y2,x3,y3... |
174 | brokenline lines |
174 | brokenline lines:deprecated |
175 | n line segments (x1,y1)---(x2,y2)---(x3,y3)... |
175 | n line segments (x1,y1)---(x2,y2)---(x3,y3)... |
176 | :range x1,x2,y1,y2 |
176 | :range x1,x2,y1,y2 |
177 | 177 | ||
178 | 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]. |
178 | 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]. |
179 | :rays [color],x0,y0,x1,y1,x2,y2... |
179 | :rays [color],x0,y0,x1,y1,x2,y2... |
Line 196... | Line 196... | ||
196 | Reset n-th linear, affine transformation and n-th translation to initial values (identity or null vector). |
196 | Reset n-th linear, affine transformation and n-th translation to initial values (identity or null vector). |
197 | :rotation d |
197 | :rotation d |
198 | rotate |
198 | rotate |
199 | Make a rotation of degree d counter-clockwise (centered at (0,0)), for the subsequent objects. |
199 | Make a rotation of degree d counter-clockwise (centered at (0,0)), for the subsequent objects. |
200 | :segment x1,y1,x2,y2,[color] |
200 | :segment x1,y1,x2,y2,[color] |
201 | seg line |
201 | seg line:deprecated |
202 | Line segment (x1,y1)---(x2,y2). |
202 | Line segment (x1,y1)---(x2,y2). |
203 | :segments [color],x1,y1,x2,y2,x3,y3,x4,y4, ... |
203 | :segments [color],x1,y1,x2,y2,x3,y3,x4,y4, ... |
204 | 204 | ||
205 | Line segments (x1; y1)---(x2; y2), (x3; y3)---(x4; y4), ... |
205 | Line segments (x1; y1)---(x2; y2), (x3; y3)---(x4; y4), ... |
206 | :setbrush [filename] |
206 | :setbrush [filename] |