Background
I recently played with GDI + to draw a “Disc” showing a sharp color change of 360 degrees. (I dug up some HSL to the RGB code to go through HSL (1,1,1) -> HSL (360,1,1))
As for the disc, I first drew a full solid circle using the above and then a second circle in gray above the center to give the next

So, everything is in order ... but I realized that GDI + isolates us from the big difficult match that happens here using the method FillPie. It also FillPierequires that you provide a bounding box for the pie, not a radius. It also fills the entire segment and does not allow you to specify only part of this segment.
Question:
Can someone point me towards some mathematical functions or give some explanation on which forum I will need to calculate the area and plot points of the following "green filled zone":
Point `c` - an x,y co-ordinate
Angle `A` - an angle from horizontal
Angle `B - an angle from horizontal where `B` - `A` == the sweep angle
Length `r` - a distance from `c`
Length `r2` - a distance from `c` where `r2` - `r` == the `height` of the segment to be filled.

The links to Math sources are great, but I had a quick google and look at Wolfram Math and I can find what I was looking for. Also, if there was a way to generate a sequence of bounding (x, y) co-or that could be passed as Point[]in Graphics.FillPolygon, that would be cool too.
source
share