Re: Help about the "QCCompositionLayer"
Re: Help about the "QCCompositionLayer"
- Subject: Re: Help about the "QCCompositionLayer"
- From: Bill Dudney <email@hidden>
- Date: Fri, 25 Jan 2008 20:55:10 -0700
Hi,
Not sure, but if you switch the order of setWantsLayer: and setLayer:
things will likely work better.
HTH,
-bd-
On Jan 26, 2008, at 4:07 AM, Developer wrote:
Hi everyone.
I am writing something about quartz composer composition and using
the QCCompositionLayer class.
My issue comes from a Quartz composer composition named "Blob.qtz",
if you installed Xcode 3.0, you can type this name in the spotlight
searching text box. After you get that, open it in the Quartz
composer and you will see a pink ball move in the black backgroud.
However, when I generate a QCCompositionLayer instance to use the
Blob.qtz file, and I fetch a window content view layer by using this
code:
[[myWindow contentView] setWantsLayer: YES];
[[myWindow contentView] setLayer: myQCCompositionLayer];
the black background of the blob.qtz goes, and you will see
something very ugly: the pink ball moves in a mosaic, the window
background remain origin texture appearance.
So can anyone tell me how to retain the appearance of the blob.qtz
file exactly as seen in the Quartz Composer?
Thank you very much for any guidance.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden