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 PROTECTED]



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to