Re: CALayer graphics context
Re: CALayer graphics context
- Subject: Re: CALayer graphics context
- From: David Duncan <email@hidden>
- Date: Wed, 22 Oct 2008 09:36:47 -0700
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 (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