bool wb_draw_line (int target, int x0, int y0, int x1, int y1, int color [, int linewidth])
Draws a straight line. The start and end points of the line are (x0, y0) and (x1, y1) respectively, in pixels. color is a RGB color value and linewidth is the width of the line, in pixels. A linewidth of zero sets the width to 1 pixel. The first parameter, target, may be a WinBinder object, a window handle, a drawing surface or a bitmap.
Returns
TRUE
on success or FALSE
if an error occurs.
wb_get_pixel
wb_draw_rect
Drawing functions