On Oct 22, 2008, at 8:00 AM, Patrick Mau wrote:

A CALayer itself is not associated with a context. The NSView owns the graphics context.

Actually when your in layer backing mode, the CALayer owns the graphics context.

The context you are looking for is passed to the "drawLayer:inContext" message.

This is true, and covered well in the Core Animation Programming Guide <http://developer.apple.com/documentation/Cocoa/Conceptual/CoreAnimation_guide/Introduction/Introduction.html >

Specifically, the section on Providing Layer Content.
--
David Duncan
Apple DTS Animation and Printing

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to