• 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: Using CGContext as a graphics state object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using CGContext as a graphics state object


  • Subject: Re: Using CGContext as a graphics state object
  • From: Graham Cox <email@hidden>
  • Date: Fri, 23 Aug 2013 22:10:27 +0200

Answering my own question, it looks as if the answer is no. While CGContext has lots of Setxxx methods, it has no Getxxx methods, so getting the current internal state isn't possible.

Oh well, roll my own it is….


--Graham


On 23/08/2013, at 9:46 PM, Graham Cox <email@hidden> wrote:

> My question is, would using CGContext in this slightly unorthodox manner be a good idea? Would there be side effects? It does not need to ever actually do any rendering, I would just use it to track the graphics state. Anyone done this?


_______________________________________________

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: 
 >Using CGContext as a graphics state object (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Audio in WebView stop when close NSWindow
  • Next by Date: Fwd: Protocols and the +initialize class method
  • Previous by thread: Using CGContext as a graphics state object
  • Next by thread: "Ownership follows the 'Create' Rule'" - not literally
  • Index(es):
    • Date
    • Thread