I'm using DrawArc to create arc segments. It's the usual "3 known points on a circle" routine.
When my graphics are oriented one direction, everything is fine (see below):
When I build the graphics with a different orientation, the segments are flipped around the x-axis (see below):
Note the values that are being sent to DrawArc(pen, rectangle, start, sweep). In Condition #1, the start angle is 126° and the sweep angle is 106°. The result is exactly what I would expect.
In Condition #2, the start angle is 216° and the sweep angle is 106°. The data is correct; the result appears like the start angle and resulting arc are a mirror image of what they should be. And this applies to all four arcs. It's almost like something is adding 180° to the start angle.
I'm using the same call to DrawArc for both conditions.
If my baseline for arcs is on a 45° angle, I also get erroneous results, but it appears like something is adding 90° to the start angle.
Thank you in advance for any suggestions!