Re: CGContextSaveGState
Re: CGContextSaveGState
- Subject: Re: CGContextSaveGState
- From: Conrad Shultz <email@hidden>
- Date: Wed, 15 Feb 2012 12:41:19 -0800
On 2/15/12 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's a stack - a great many graphics operations would be vastly harder
if it weren't.
This is spelled out quite clearly in the documentation:
https://developer.apple.com/library/mac/#documentation/GraphicsImaging/Reference/CGContext/Reference/reference.html
https://developer.apple.com/library/ios/#documentation/GraphicsImaging/Reference/CGContext/Reference/reference.html
--
Conrad Shultz
Synthetiq Solutions
www.synthetiqsolutions.com
_______________________________________________
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