In WPF/C# how would I rotate a \"graphic\" to face the current mouse position?
Basically what I want is a \"wheel\" UI Control (like an analog volume dial
To add to that post, the angle between the mouse point and the object point is calculated like:
dot = currentLocation.X * objectPosition.X + currentLocation.Y * objectPosition.Y; angle = Math.Acos(dot);