Re: Retrieving the current -[NSShadow set]
Re: Retrieving the current -[NSShadow set]
- Subject: Re: Retrieving the current -[NSShadow set]
- From: Graham Cox <email@hidden>
- Date: Fri, 25 Jul 2008 23:38:56 +1000
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@hidden, 33software.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
_______________________________________________
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