I am sorry, i think i am completely in loss and misunderstood the question, as thought the problem in drawing arcs in
GDI
I ran you test and this is screenshot of the result
So i was talking about fixing this arcs and their directional drawing
Sorry again !