Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
_LineTo... Procedures
◄Summary► ◄Details► ◄Example► ◄Back►
Arguments
x, y Viewport coordinates for end of line from current
position
wx, wy Window coordinates for end of line from current
position
Description
The _LineTo procedures draw a line from the current position to a
specified point using the current color, line-style mask, and
logical write mode. The destination point for _LineTo is given by
the view coordinate (x,y). The destination point for _LineTo_w
is given by window coordinate (wx,wy).
If no error occurs, _LineTo updates the current position to the
destination view coordinates (x,y); _LineTo_w updates the current
position to window coordinates (wx,wy).
If the _FloodFill procedure is used to fill in a closed figure
drawn using _LineTo, the figure must be drawn with a solid
line-style pattern, using a suitable write mode.
_GrStatus Returns
_GrClipped, _GrNoOutput, _GrNotInProperMode