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 <graham....@bigpond.com> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to