Important: The information in this document is obsolete and should not be used for new development.
LineTo
To draw a line from the graphics pen's current location to a new location, use theLineToprocedure.
PROCEDURE LineTo (h,v: Integer);
h- The horizontal coordinate of the graphics pen's new location.
v- The vertical coordinate of the graphics pen's new location.
DESCRIPTION
TheLineToprocedure 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 usingLineToto draw a region or polygon, its outline is infinitely thin and is not affected by the values of thepnSize,pnMode, orpnPatfield of the graphics port.SPECIAL CONSIDERATIONS
TheLineToprocedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.SEE ALSO
Listing 3-1 on page 3-15 illustrates how to use this procedure.