title: C# wpf Ellipse width and height for two points
body: <p>I'm trying to draw a circle centered at point2 with radius "r". r's length should be long enough to be the distance between point1 and point2. I drew a picture to illustrate this. How can I calculate the correct width and height of the ellipse to draw it like this diagram? I know r can be calculated by taking the difference of the two points. However, afaik wpf only allows you to modify the width and height of the ellipse, not the radius.</p>