http://bugs.winehq.org/show_bug.cgi?id=421
Loïc Hoguin essen@dev-extend.eu changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |essen@dev-extend.eu
--- Comment #372 from Loïc Hoguin essen@dev-extend.eu 2010-05-26 08:06:03 ---
(In reply to comment #370)
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...
Pardon me if I'm wrong but wouldn't 2.0 be a float? That would cause two
implicit casts which could cause the rounding issue.
--
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.