Important: The information in this document is obsolete and should not be used for new development.
LineTo draw a line a specified distance from the graphics pen's current location in the current graphics port, use the
PROCEDURE Line (dh,dv: Integer);
- The horizontal distance of the graphics pen's movement.
- The vertical distance of the graphics pen's movement.
DESCRIPTIONStarting at the current location of the graphics pen, the
Lineprocedure draws a line the horizontal distance that you specify in the
dhparameter and the vertical distance that you specify in the
(h,v)is the current location in local coordinates. The pen location becomes the coordinates of the end of the line after the line is drawn. If you are using
Lineto draw a region or polygon, its outline is infinitely thin and is not affected by the values of the
pnPatfields of the graphics port.
Lineprocedure 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.