Redrawing CALayer subclass when super layer is scaled
Redrawing CALayer subclass when super layer is scaled
- Subject: Redrawing CALayer subclass when super layer is scaled
- From: Rick Mann <email@hidden>
- Date: Tue, 8 Jul 2008 22:53:49 -0700
I'm trying to use scaling of the superlayer to implement a zoom
feature in my CAD app. The various elements in the canvas are drawn by
a CALayer subclass I have, which overrides drawInContext:. After the
zoom finishes animating, I want CA to call all the sublayer's
drawInContext: methods as necessary to re-render the layer's contents.
Is there any way to do this, short of keeping track of all the layers
myself and calling setNeedsDisplay on them?
TIA,
--
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