The Pixel Cursor

A “pixel cursor” is a location on the screen. The _moveto function positions this cursor at a given spot. Nothing visible appears. If you call _lineto, a line is drawn from the current pixel cursor to another point. The _lineto function also changes the location of the pixel cursor. When you call _outgtext to display fonted text, the characters are drawn at the current pixel cursor location.

To draw a series of connected lines, call _lineto several times.

The _getcurrentposition function returns the cursor location in an _xycoord structure.