• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: QCCompositionLayer for Manipulating other CALayers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QCCompositionLayer for Manipulating other CALayers


  • Subject: Re: QCCompositionLayer for Manipulating other CALayers
  • From: David Duncan <email@hidden>
  • Date: Fri, 18 Jul 2008 12:06:16 -0700

On Jul 17, 2008, at 7:50 PM, Mike Rossetti wrote:

Before I spend a lot of time attempting the following I would appreciate any advice based on your experience:

I've got a drawing-like application where I'd like the user to be able to rotate individual elements of the drawing. When the mouse is hovering over an element I draw a manipulation image (a CALayer) and what I'd like to do is to let the user mouse click in a little rotator control nubby and drag to rotate.

I'm considering using a QCCompositionLayer and pulling in a nice Quartz Composition I put together that behaves (at least in Quartz Composer) as I'd like.

Is this a foolish or a wise direction to take?


There is nothing built in to do this, so you'd have to figure out some way to express your render tree to the QCComposition (or at least part of it) so that it can output the manipulations so you can then apply them to the layer. I don't think this will work very well honestly, and I think it would likely be easier for you to replicate this functionality in code (both in terms of the amount of code to support this and the effort required to make it work correctly).
--
David Duncan
Apple DTS Animation and Printing
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


References: 
 >QCCompositionLayer for Manipulating other CALayers (From: Mike Rossetti <email@hidden>)

  • Prev by Date: Re: NSMutableDictionary autorelease chrashes application
  • Next by Date: Re: Dispatch NSEvent to everyone
  • Previous by thread: QCCompositionLayer for Manipulating other CALayers
  • Next by thread: NOT or NONE in NSPredicate
  • Index(es):
    • Date
    • Thread