[Bug 13156] ETO_OPAQUE and clear style are not transparent on a bitmap

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Sep 10 13:20:02 CDT 2009


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


Peter-Jan Roes <PeterJanRoes at chartasoftware.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |PeterJanRoes at chartasoftware
                   |                            |.com




--- Comment #6 from Peter-Jan Roes <PeterJanRoes at chartasoftware.com>  2009-09-10 13:20:01 ---
It looks like I have the same problem but instead I call the Windows API
directly instead of using the Delphi wrappers. For me the following two
operations create inconsistent results on Windows and Wine:

* SetBkMode(DeviceContext, TRANSPARENT);
* ExtTextOut(DeviceContext, X, Y, ETO_OPAQUE, nil, Text, Length(Text), nil);

On Windows text is rendered with a transparent background and on Wine text is
rendered using an opaque background. It seems like in Windows SetBkMode 
overrides the ETO_OPAQUE parameter and on Wine it is the other way around.

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