|
From: | Fred Kiefer |
Subject: | Re: [bugs #10818] win32 backend doesn't properly display transparency... |
Date: | Wed, 17 Nov 2004 10:17:20 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040114 |
Jeff Teunissen wrote:
Fred Kiefer wrote:This is a well know limitation of the windows backend and all attempts to fix this with GDI functions have failed so far. My opinion is that we will need to switch to GDI++, for which C-wrappers exist, to resolve this. But there are currently no free header files for GDI++ available and I wont be using the ones from MS.Keep in mind that GDI's colors are backwards -- BGR, not RGB -- and when you use transparency, they're BGRA. You need to swap red and blue.
Could you please explain how this affects the current code (with or without AlphaBlend) in the win backend? I thought that the colour order needs to be specificed when an image is created from a bitmap and after this step it is up to windows to sort the colours. You seem to suggest something different, which I still don't understand. Perhaps basing your remark on the code in WIN32GState would help me to get your point.
Fred
[Prev in Thread] | Current Thread | [Next in Thread] |