[Bug 421] Implement a DIB engine

wine-bugs at winehq.org wine-bugs at winehq.org
Wed May 26 07:38:16 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=421





--- Comment #370 from dufoli <olivier.duff at gmail.com>  2010-05-26 07:38:13 ---
Ok, I have take a look at your screen shots.
The 1pixel error must come from center/radius calculation but I simply do :
LONG a = (right - left) / 2.0;
LONG b = (bottom - top) / 2.0;
LONG cx = (right + left) / 2.0;
LONG cy = (bottom + top) / 2.0;

So maybe, I have to use a cast somewhere because right, left, bottom and top
are integer...

About shape, the strange thing is that I found the shape of my ellipse better
than on windows...

I use the breshensam algo.

Maybe they use an other algo:
- Jerry van Aken 
- Danny Cohen
- Dilip Da silva
- L. B. Smith
...

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list