CMvcVisualComponent::OffsetOrigin

virtual CPointCMvcVisualComponent::OffsetOrigin(intxOff, intyOff)

Offsets the component's origin by a delta

Defined in: MvcVisualComponent.h

Return Value

CPoint The new point after the offset

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.

See Also

SetOrigin