[Bug 27584] FillRect() draws differently under wine

WineHQ Bugzilla wine-bugs at winehq.org
Sat Nov 14 04:06:44 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=27584

Damjan Jovanovic <damjan.jov at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |damjan.jov at gmail.com

--- Comment #12 from Damjan Jovanovic <damjan.jov at gmail.com> ---
There is a real bug here. FillRect() calls PatBlt(), passing it a negative
width/height in the case of this app, and PatBlt() draws rectangles with
negative width/height shifted 1 pixel too far right/down:

Windows
 (0,0)
   +------+
   |+-----++
   ||     ||
   ||     ||
   ++-----+|
    +------+
           Wine

Patch with test sent: https://source.winehq.org/patches/data/195952

The testcase draws correctly with this patch.

-- 
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