Intrinsic-126 Lineto

Top  Previous  Next

126: Lineto(Handle, X, Y);

 

This draws a line on an image. The image is specified by Handle, and the new position is specified by X and Y. The color, width and pattern of the line is specified using the SetPen intrinsic. When the operation is complete, the pen will be in the new position. (If you are working with the Console (handle=-1), controlling Screen Refresh can speed up this intrinsic. See the Console Refresh section for more information.)