CMvcVisualComponent::MoveOrigin

virtual CPoint CMvcVisualComponent::MoveOrigin(int xOff, int yOff)

Move the component's origin by a delta

Defined in: MvcVisualComponent.h

Return Value

CPoint The new point after the move

Parameters

xOff

The x offset

yOff

The y offset

Comments

Call this function to move the origin of the component by some delta in the x and y directions. Unlike OffsetOrigin, this function will move the right and bottom components of the bounding rect by the specified offset as well.

See Also

OffsetOrigin