CDC::LineTo

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

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

BOOL LineTo( int x, int y );

BOOL LineTo( POINT point );

See Also

CDC::MoveTo, CDC::GetCurrentPosition, CPoint