Send Quartzcomposer-dev mailing list submissions to
email@hidden
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.apple.com/mailman/listinfo/quartzcomposer-dev
or, via email, send a message with subject or body 'help' to
email@hidden
You can reach the person managing the list at
email@hidden
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Quartzcomposer-dev digest..."
Today's Topics:
1. (no subject) (Garrett Snider)
2. Re: (no subject) (Pierre-Olivier Latour)
----------------------------------------------------------------------
Message: 1
Date: Thu, 14 Jul 2005 18:08:40 -0400
From: Garrett Snider <email@hidden>
Subject: (no subject)
To: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Hello All,
How would I create a composition that is transparent, such that it
can be used as an overlay to a regular cocoa app? By default, the
background looks like it should be transparent, but shows up all
black. In my case, I want to display some text over a window
multiple QuickTime screens, showing status, etc.
Thanks,
-garrett
gs < at > pobox <dt > com
------------------------------
Message: 2
Date: Thu, 14 Jul 2005 15:47:57 -0700
From: Pierre-Olivier Latour <email@hidden>
Subject: Re: (no subject)
To: qc list <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
How would I create a composition that is transparent, such that
it can be used as an overlay to a regular cocoa app? By default,
the background looks like it should be transparent, but shows up
all black.
In QuickTime, the background of the composition is always painted
black, but the alpha channel is valid (it's actually transparent
black, so you can composite with it).
In other environments (QCRenderer or QCView), the background is not
painted black.
You can achieve transparency with a QCView if:
- the composition properly paints its background with a color with an
alpha component different than 1.0
- the alpha component of the erase color of the QCView is different
than 1.0
________________________________________________________
Pierre-Olivier Latour email@hidden
Quartz Composer Architect Graphics & Imaging Team
------------------------------
_______________________________________________
Quartzcomposer-dev mailing list
email@hidden
http://lists.apple.com/mailman/listinfo/quartzcomposer-dev
End of Quartzcomposer-dev Digest, Vol 5, Issue 25
*************************************************