Important: The information in this document is obsolete and should not be used for new development.
LineToTo draw a line from the graphics pen's current location to a new location, use the
PROCEDURE LineTo (h,v: Integer);
- The horizontal coordinate of the graphics pen's new location.
- The vertical coordinate of the graphics pen's new location.
LineToprocedure draws a line from the graphics pen's current location in the current graphics port to the new location
(h,v), which you specify in the local coordinates of the current graphics port. If you are using
LineToto draw a region or polygon, its outline is infinitely thin and is not affected by the values of the
pnPatfield of the graphics port.
LineToprocedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.
SEE ALSOListing 3-1 on page 3-15 illustrates how to use this procedure.