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

Re: CGContextSaveGState


  • Subject: Re: CGContextSaveGState
  • From: Fritz Anderson <email@hidden>
  • Date: Wed, 15 Feb 2012 15:03:04 -0600

On 15 Feb 2012, at 1:22 PM, 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 stacked. From the first sentence of the documentation for the function (not a method — best to be precise):

> PUSHES a copy of the current graphics state onto the graphics state STACK for the context.

(Caps added)

	— F


_______________________________________________

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


References: 
 >CGContextSaveGState (From: William Squires <email@hidden>)

  • Prev by Date: __block __weak - am I doing this right?
  • Next by Date: Re: [ Was NSReadPIxel ]
  • Previous by thread: Re: CGContextSaveGState
  • Next by thread: Re: CGContextSaveGState
  • Index(es):
    • Date
    • Thread