Nick32
01-24-2009, 02:52 AM
Hi! I'm new in graphics development and this my first post on DevMaster.
In my application (only GDI) I move and rotate some geometric figures. But there are problems:
1) When I rotate figure around axis, in horizontal, vertical and some other positions it looks thicker then in position with angle. It is noticeably on long figures. I implemented anti-aliasing algorithm (based on calculation of pixel coverage), but it did solve the problem.
2)The second problem is when I move object it moves by steps. Even when I use anti-aliasing and floating point representation of coordinates(my be there is bug in rounding? u use floor function).
Thanks!
In my application (only GDI) I move and rotate some geometric figures. But there are problems:
1) When I rotate figure around axis, in horizontal, vertical and some other positions it looks thicker then in position with angle. It is noticeably on long figures. I implemented anti-aliasing algorithm (based on calculation of pixel coverage), but it did solve the problem.
2)The second problem is when I move object it moves by steps. Even when I use anti-aliasing and floating point representation of coordinates(my be there is bug in rounding? u use floor function).
Thanks!