Re: Redrawing CALayer subclass when super layer is scaled
Re: Redrawing CALayer subclass when super layer is scaled
- Subject: Re: Redrawing CALayer subclass when super layer is scaled
- From: Rick Mann <email@hidden>
- Date: Sun, 20 Jul 2008 22:52:04 -0700
On Jul 20, 2008, at 22:44:37, Scott Anguish wrote:
all the visual properties that are 'animatable' are applied at
render time.
Thanks for that answer, Scott.
So, can I not make my own drawing code an animatable property? I
thought I could.
I was really hoping I would be able to do this:
1. Define arbitrary properties
2. Have CA interpolate to new values of those properties
3. Have CA call me to draw the contents, which I would do based on the
"current" (mid-animation) value of those properties.
3a. Have my drawing environment set up to draw at the destination
resolution.
I'm not even sure I see a way to do that by writing my own animators &
renderers (I can't figure out how to subclass CARenderer, anyway).
--
Rick
_______________________________________________
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