• 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: CALayer resizing puzzle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: CALayer resizing puzzle
      • From: vincent habchi <email@hidden>
References: 
 >CALayer resizing puzzle (From: vincent habchi <email@hidden>)
 >Re: CALayer resizing puzzle (From: Scott Anguish <email@hidden>)
 >Re: CALayer resizing puzzle (From: Scott Anguish <email@hidden>)
 >Re: CALayer resizing puzzle (From: vincent habchi <email@hidden>)

  • Prev by Date: Re: Best practices for using standard window widgets in a custom window
  • Next by Date: Re: iPhone: subclassing UIView for blendmode
  • Previous by thread: Re: CALayer resizing puzzle
  • Next by thread: Re: CALayer resizing puzzle
  • Index(es):
    • Date
    • Thread