Share via


CDC::MoveTo 

CPointMoveTo(intx**,inty);**

CPointMoveTo(POINTpoint**);**

Return Value

The x- and y-coordinates of the previous position as a CPoint object.

Parameters

x

Specifies the logical x-coordinate of the new position.

y

Specifies the logical y-coordinate of the new position.

point

Specifies the new position. You can pass either a POINT structure or a CPoint object for this parameter.

Remarks

Moves the current position to the point specified by x and y (or by point).

Example

See the example for CRect::CenterPoint.

CDC OverviewClass MembersHierarchy Chart

See Also   CDC::GetCurrentPosition, CDC::LineTo, CPoint, POINT