bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bugs #10818] win32 backend doesn't properly display transparency...


From: Jeff Teunissen
Subject: Re: [bugs #10818] win32 backend doesn't properly display transparency...
Date: Wed, 17 Nov 2004 09:23:44 -0500

Fred Kiefer wrote:

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

Last time you did it (transparency), you said that transparency worked, but
that the red and blue channels were messed-up/swapped. I just gave you a
reason that may be the case.

-- 
| Jeff Teunissen  -=-  Pres., Dusk To Dawn Computing  -=-  deek @ d2dc.net
| GPG: 1024D/9840105A   7102 808A 7733 C2F3 097B  161B 9222 DAB8 9840 105A
| Core developer, The QuakeForge Project        http://www.quakeforge.net/
| Specializing in Debian GNU/Linux              http://www.d2dc.net/~deek/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]