• 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: 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


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

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