Re: CALayer resizing puzzle
Re: CALayer resizing puzzle
- Subject: Re: CALayer resizing puzzle
- From: David Duncan <email@hidden>
- Date: Fri, 22 Jan 2010 09:30:29 -0800
On Jan 21, 2010, at 11:53 PM, vincent habchi wrote:
> Does that mean that the content property is altered not only when you set it explicitly, but also when you draw on the layer via [DrawLayer: inContext:]?
Yes it is. The contents property is generally used to represent bitmapped content of a layer, which in the case of a plain CALayer means that anything drawn via -drawInContext: or -drawLayer:inContext: will be accessible via the contents property.
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
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