LINE |
Top Previous Next |
Syntax LINE(win as WINDOW,x1 as UINT,y1 as UINT,x2 as UINT,y2 as UINT,OPT crColor as UINT) Description Draws a straight line in the window. Parameters win - Window to draw the line into. x1, y1 - Starting coordinates of the line. x2, y2 - Ending coordinates of the line. crColor - Optional line color. Return value None Remarks If crColor is not supplied then the line is drawn in the foreground color set by FRONTPEN. Example usage LINE mywnd, 0, 0, 50, 50, RGB(0,255,0) |