L - Line Macro
Macro Syntax: L x,y ;
Draw line using current pen color, current pen width and current pen style from current pen position to the x,y coordinates in the command. The current pen position moves to end of line.
Macro Syntax: L len, deg, ideg, rep ;
Alternate Draw line command. Starting from the current pen position (using M command) and using the current pen color, current pen width and current pen style it draws a line based on the next parameters: len = length of line in pixels, deg= using 360 degrees in a circle (1 to 360) this value selects the starting direction for the line and ideg= the number of degrees to increment for the next drawing of the line and rep= the number of times to repeat drawing the line. Using this form of the line command you can draw a triangle, square, octagon,etc., even a circle with just one command.
The degrees for directions are based on the directions below:
360
|
270-----90
|
180
Macro Syntax : L len, deg, ideg, rep, mode ;
Another alternate Draw line command. This command is the same as above, but it adds one more parameter. The mode parameter selects how the line rotates. The modes are as follows:
0 - Normal rotatation (adds the ideg value to each rotation)
1 - Toggle Rotation (add ideg value, then subtracts ideg value)
2 - Spin (rotate around first pen position). You can make flowers with this.