Drawing Arcs, Pies, and Chords
At first I didn't understand how a rectangle was involved with drawing these objects. After doing some experimenting I discovered that the rectangle is the bounding box for an ellipse, part of which makes up the arc, pie or chord.
Nowhere have I seen it explicitly stated that this was how these objects were constructed. Nowhere have I found the more traditional method of specifying a centre and radius. Is there a simple explanation for this? I mean, sure it's one way of specifying things but it isn't intuitively obvious, especially with no explanation anywhere.
Well it does show in the samples
that Rect are used for most operations.
If you need alternate way, it should be quite easy to add.
This is user oriented forums so if you are asking why the developers choose such way,
i'm not sure u will get answers here.
The devs hang out here
Thanks. I certainly could create a little function for turning centre & radius in to rectangle. It just interested me that this method was used. I shall as in devs area.