Intel® Fortran Compiler 16.0 User and Reference Guide
Graphics Function: Draws a line from the current graphics position up to and including the end point.
USE IFQWIN
result = LINETO (x,y)
result = LINETO_W (wx, wy)
x, y |
(Input) INTEGER(2). Viewport coordinates of end point. |
wx, wy |
(Input) REAL(8). Window coordinates of end point. |
The result type is INTEGER(2). The result is a nonzero value if successful; otherwise, 0.
The line is drawn using the current graphics color, logical write mode, and line style. The graphics color is set with SETCOLORRGB, the write mode with SETWRITEMODE, and the line style with SETLINESTYLE.
If no error occurs, LINETO sets the current graphics position to the viewport point (x, y), and LINETO_W sets the current graphics position to the window point (wx, wy).
If you use FLOODFILLRGB to fill in a closed figure drawn with LINETO, the figure must be drawn with a solid line style. Line style is solid by default and can be changed with SETLINESTYLE.
The LINETO routine described here is a QuickWin routine. If you are trying to use the Microsoft* Platform SDK version of the LineTo routine by including the IFWIN module, you need to specify the routine name as MSFWIN$LineTo.