This member function draws a line from the current position up to, but not including, the point specified by x and y (or point).
BOOL LineTo( int x, int y );
BOOL LineTo( POINT point );
| Header File | Afxwin.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CDC Overview, CDC Member Functions, Graphical Drawing Classes, CDC::MoveTo, CDC::GetCurrentPosition, CPoint