CDC::LineTo

This member function draws a line from the current position up to, but not including, the point specified by x and y (or point).

Syntax

BOOL LineTo( int x, int y );

BOOL LineTo( POINT point );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CDC Overview, CDC Member Functions, Graphical Drawing Classes, CDC::MoveTo, CDC::GetCurrentPosition, CPoint