I don't think there is a way. Quartz is pretty much a one-way street - you set stuff, tell it to draw and it does. Much of its internal state is not readable, at least not publicly.

The "need" to do this suggests a possible problem with your design. What are you trying to do?

cheers, Graham





On 25 Jul 2008, at 9:54 pm, Keith Duncan wrote:

I need a way of retrieving the current NSShadow as previously -set without having to pass it as an explicit argument. I've looked through the NSGraphicsContext header and docs but I can't find any way of getting it.

Oddly, I can't find any way of getting the current NSColor either so I must be missing something.

Keith Duncan
[EMAIL PROTECTED], 33software.com

_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/graham.cox%40bigpond.com

This email sent to [EMAIL PROTECTED]

_______________________________________________

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

This email sent to [EMAIL PROTECTED]

Reply via email to