LineTo Function (ROM Call 0x19C)

graph.h

void LineTo (short x, short y);

Draws a clipped line from the current pen position.

LineTo draws a line from the current pen position to the pixel (xy) using the current attribute given with SetCurAttr command, then updates the pen position to those coordinates. The line will be clipped at the current clipping area boundaries given with SetCurClip command.


Uses: DrawClipLine
Used by: DrawClipRect, DrawMultiLines, DrawWinBorder


Deprecated alias: DrawTo