• 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
How to get the "white shadow" effect when drawing NSStrings?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to get the "white shadow" effect when drawing NSStrings?


  • Subject: How to get the "white shadow" effect when drawing NSStrings?
  • From: Ulai Beekam <email@hidden>
  • Date: Sat, 21 Feb 2009 11:10:57 +0000
  • Importance: Normal

Hi,

Just take a look at any toolbar text in Leopard. It has a subtle, white shadow. How can I get this very same effect in my own app when using NSString's drawInRect method? What attributes to use? Do you have any sample code?

Thanks, U.



_________________________________________________________________
More than messages–check out the rest of the Windows Live™.
http://www.microsoft.com/windows/windowslive/_______________________________________________

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: How to get the "white shadow" effect when drawing NSStrings?
      • From: Brandon Walkin <email@hidden>
  • Prev by Date: Re: Surprising entanglement of UI lock during fetch request in background thread (NSViewHierarchyLock/MOC locking deadlock). [POST SAD REALISATION]
  • Next by Date: Re: Window Animation with setFrame:display:animate: Flickers
  • Previous by thread: Re: Surprising entanglement of UI lock during fetch request in background thread (NSViewHierarchyLock/MOC locking deadlock). [POST SAD REALISATION]
  • Next by thread: Re: How to get the "white shadow" effect when drawing NSStrings?
  • Index(es):
    • Date
    • Thread