CDC::GetDCOrg

Syntax

CPoint GetDCOrg() const;

Remarks

Obtains the final translation origin for the device context. The final translation origin specifies the offset used by Windows to translate device coordinates into client coordinates for points in an application's window. The final translation origin is relative to the physical origin of the screen display.

Return Value

The final translation origin (in device coordinates) as a CPoint object.

See Also

CPoint, ::GetDCOrg