Re: Retrieving the current -[NSShadow set]
Re: Retrieving the current -[NSShadow set]
- Subject: Re: Retrieving the current -[NSShadow set]
- From: Keith Duncan <email@hidden>
- Date: Fri, 25 Jul 2008 14:57:27 +0100
The "need" to do this suggests a possible problem with your design.
What are you trying to do?
I'm refactoring a method I found online that takes an explicit
NSShadow argument. I felt that was a poor design as most of the the
drawing properties are implicit in nature; color, transform and shadow
are all a property of the current NSGraphicsContext and they should be
respected in drawing rountines that require them.
However as you point out, there doesn't seem to be a way to retrieve
them specifically.
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