• 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: Retrieving the current -[NSShadow set]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Retrieving the current -[NSShadow set]
      • From: "Michael Ash" <email@hidden>
References: 
 >Retrieving the current -[NSShadow set] (From: Keith Duncan <email@hidden>)
 >Re: Retrieving the current -[NSShadow set] (From: Graham Cox <email@hidden>)

  • Prev by Date: Calling setLineFragment on typesetter
  • Next by Date: Re: Retrieving the current -[NSShadow set]
  • Previous by thread: Re: Retrieving the current -[NSShadow set]
  • Next by thread: Re: Retrieving the current -[NSShadow set]
  • Index(es):
    • Date
    • Thread