Help about the "QCCompositionLayer"
Help about the "QCCompositionLayer"
- Subject: Help about the "QCCompositionLayer"
- From: Developer <email@hidden>
- Date: Sat, 26 Jan 2008 11:07:47 +0000
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