DECLARE SUB DQBline (BYVAL Layer, BYVAL x1, BYVAL y1, BYVAL x2, BYVAL y2,
BYVAL Col)
Layer - Layer where to draw the line onto
x1 - First point x coordinate
y2 - First point y coordinate
x2 - Second point x coordinate
y2 - Second point y coordinate
Col - Drawing color
none
This procedure draws a line from point at (x1,y1) to point at (x2,y2), on the given layer and with specified color. The Bresenham's line algorithm is used.