| WinLine | Function (ROM Call 0x17)

wingraph.h

void WinLine (WINDOW *w, const WIN_RECT *Line);

Draws a line to a window.

WinLine draws a line from (x0, y0) to (x1, y1) to the window pointed to by w where coordinates (x0, y0) and (x1, y1) are given in a WIN_RECT structure Line, using the current attribute. The line will be clipped at the boundaries of the window clipping area. See WinLineTo for a description of supported atributes.

Uses: RectWinToWin, DrawClipLine, PortRestore, ROM Call 0x413
Used by: cmd_circle, cmd_cubicreg, cmd_expreg, cmd_line, cmd_linehorz, cmd_linevert, cmd_linreg, cmd_lnreg, cmd_logistic, cmd_medmed, cmd_onevar, cmd_powerreg, cmd_pxlhorz, cmd_pxlline, cmd_pxlvert, cmd_quadreg, cmd_quartreg, cmd_shade, cmd_twovar, EV_defaultHandler, GD_Circle, GD_HVLine, GD_Line, GR3_paint3d, dv_create_graph_titles, EV_quit, GM_Integrate, GM_Shade, GM_TanLine, GR3_handleEvent