November 13th, 2013, 11:25 AM
CDC::Ellipse doesn't work properly
in a project of mine (VC++2010, MFC), I want to draw a circle using the CDC::Ellipse.
Wheh I draw a circle with CDC::Ellipse, I have noticed that the figure is not exactly a circle because it has not a constant radius. At 0° (periodicity = 45°) the radius has the value I want it to be, at 22.5° (periodicity = 45°) the radius has a value slightly bigger then the value I want it to be. It is a weird behavior that I can't explain. When I draw the same shape "manually", i.e. with a polyline, the figure is exactly a circle with the same value of radius at any point on the circumference.
Can anyone help me?
Tags for this Thread
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!