CPoint MoveTo( int x, int y );
CPoint MoveTo( POINT point );
x
Specifies the logical x-coordinate of the endpoint for the line.
y
Specifies the logical y-coordinate of the endpoint for the line.
point
Specifies the endpoint for the line. You can pass either a POINT structure or a CPoint object for this parameter.
Moves the current position to the point specified by x and y (or by point).
The x- and y-coordinates of the previous position as a CPoint object.
CDC::GetCurrentPosition, CDC::LineTo, ::MoveTo