Re: Transparent Windows WAS: (no subject)
Re: Transparent Windows WAS: (no subject)
- Subject: Re: Transparent Windows WAS: (no subject)
- From: email@hidden
- Date: Thu, 19 Feb 2004 15:37:49 -0800 (PST)
Thanks Uli.
That makes a lot of sense in explaining what I was seeing (white text
intended to be drawn on a transparent background turns up all white). I
guess I'll have to rewrite the drawing bits to use Cocoa to do all of the
drawing.
Thanks
Louis
>
At 14:26 Uhr -0800 19.02.2004, email@hidden wrote:
>
>What boggles me is that the RoundedTransparentWindow example uses that
>
>technique but draws to the window differently. I've deduced Allegro uses
>
>QuickDraw, internally, to draw to the port (not sure; I'm beginner when
>
> it
>
>comes to OSX GUI programming) with bitmaps from internal buffer(s).
>
> Also,
>
>there may be some color conversion that occurs that could turn what
>
> should
>
>be a transparent background into black.
>
>
Quickdraw doesn't support alpha channels. Or, more correctly, it
>
resets them. So, whenever you draw into a port using Quickdraw, it
>
will set the entire area you draw to (or the entire port, don't
>
remember) to be opaque.
>
--
>
Cheers,
>
M. Uli Kusterer
>
------------------------------------------------------------
>
"The Witnesses of TeachText are everywhere..."
>
http://www.zathras.de
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.