CDC::LineTo
Visual Studio 2012
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 );
See the example for CRect::CenterPoint.