-
November 13th, 2013, 12:25 PM
#1
CDC::Ellipse doesn't work properly
Hi everybody,
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?
Thanks.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|