Re: CGContextSaveGState
Re: CGContextSaveGState
- Subject: Re: CGContextSaveGState
- From: David Duncan <email@hidden>
- Date: Wed, 15 Feb 2012 12:31:10 -0800
On Feb 15, 2012, at 11:22 AM, William Squires wrote:
> Does this method store the context state in a stack, or just store it in a local variable (struct) somewhere (i.e. does calling this more than once overwrite the previously saved context info?)
It stores it on a state stack that is associated with a CGContextRef. This is not the same stack as the call stack. This is discussed in the documentation for this function (and its associated function CGContextRestoreGState).
--
David Duncan
_______________________________________________
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