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/


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

Reply via email to