• 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: Redrawing CALayer subclass when super layer is scaled
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Redrawing CALayer subclass when super layer is scaled
      • From: Scott Anguish <email@hidden>
References: 
 >Redrawing CALayer subclass when super layer is scaled (From: Rick Mann <email@hidden>)
 >Re: Redrawing CALayer subclass when super layer is scaled (From: David Duncan <email@hidden>)
 >Re: Redrawing CALayer subclass when super layer is scaled (From: Rick Mann <email@hidden>)
 >Re: Redrawing CALayer subclass when super layer is scaled (From: David Duncan <email@hidden>)
 >Re: Redrawing CALayer subclass when super layer is scaled (From: Rick Mann <email@hidden>)
 >Re: Redrawing CALayer subclass when super layer is scaled (From: David Duncan <email@hidden>)
 >Re: Redrawing CALayer subclass when super layer is scaled (From: Rick Mann <email@hidden>)
 >Re: Redrawing CALayer subclass when super layer is scaled (From: Scott Anguish <email@hidden>)

  • Prev by Date: Re: Redrawing CALayer subclass when super layer is scaled
  • Next by Date: Re: Redrawing CALayer subclass when super layer is scaled
  • Previous by thread: Re: Redrawing CALayer subclass when super layer is scaled
  • Next by thread: Re: Redrawing CALayer subclass when super layer is scaled
  • Index(es):
    • Date
    • Thread