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


_______________________________________________ Bug-gnustep mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to