[Bug 27584] New: MFC fillrect draws differently under wine

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jun 24 06:21:52 CDT 2011


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

           Summary: MFC fillrect draws differently under wine
           Product: Wine
           Version: 1.3.21
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdi32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: bailey937 at yahoo.com


Created an attachment (id=35259)
 --> (http://bugs.winehq.org/attachment.cgi?id=35259)
sample program for reproducing FillRect bug

I have a program that uses CPaintDC.FillRect() to draw histogram samples.

It draws one-pixel wide vertical rectangles.  

Under wine, the bottom-most pixel is not drawn.

I'm attaching a sample program.  Under Windows7 (have 64bit pro), the red line
is touching the black baseline and the black line on the right is touching the
baseline also.

When I run the program under wine, both the red vertical line on the left and
the black vertical line on the right are floating one pixel above the baseline.

I tried both 32bit Ubuntu 11.04 (wine 1.2.2) on a netbook and also Fedora 15
64bit (wine 1.3.21) under Virtualbox on my Windows machine.  Both have the same
problem.

The relevant code for the test case is in

CChildView::OnPaint() in ChildView.cpp

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