FBPL Command Reference

Table Of Contents
84
6.20 DIAGONAL
Description
Draw a diagonal.
Syntax
DIAGONAL x1, y1, x2, y2, thickness
Parameter
Description
x1
X1-coordinate of the starting point (in dots)
y1
Y1-coordinate of the starting point (in dots)
x2
X2-coordinate of the ending point (in dots)
y2
T2-coordinate of the ending point (in dots)
thickness
Thickness of diagonal
Note:
203 dpi : 1 mm = 8 dots
300 dpi : 1 mm = 12 dots
600 dpi : 1 mm = 24 dots
Example
Sample code
SIZE 4,2.5
GAP 0,0
DIRECTION 1
CLS
DIAGONAL 50, 200, 200, 50, 16
DIAGONAL 50, 500, 500, 50, 8
PRINT 1,1
Result