CMvcVisualComponent::GetOrigin

virtual CPoint CMvcVisualComponent::GetOrigin(void)

Get the origin of this component relative to its container and in the container's units

Defined in: MvcVisualComponent.h

Return Value

CPoint The origin of the component

Comments

Returns the origin of the visual component in the parent's terms. In other words, a visual component may be contained by another visual component that has its own coordinate system and logical to pixel unit mapping. With or without logical to device unit scaling, the position of this visual component is in logical units as defined by its parent.

See Also

SetOrigin