GDI+ DrawArc

J

John Baro

If I draw an arc like this:

e.Graphics.DrawArc(new Pen(this.ForeColor, 50), this.ClientRectangle.Width -
600, this.ClientRectangle.Height - 600, 300, 300, 270, 180);

Which draws 180 degrees from 270 to 90.
Shoulnt the ends be perfectly straight?

When I draw this, it draws the ends at a slight angle.
I have tried antialiasing and not, both methods produce the same effect.
Any ideas why or how to solve this would be appreciated.
Cheers
JB
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top