• 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: Brushed Metal: Embroidered text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Brushed Metal: Embroidered text


  • Subject: Re: Brushed Metal: Embroidered text
  • From: Casey Fleser <email@hidden>
  • Date: Fri, 12 Mar 2004 14:35:26 -0600

I wonder how Apple achieve their text effects in applications such as
iTunes etc.
Basically it's just black text with some kind of white shadow.

The only way for me to get close to this was (in IB):

- Put a text in a bright grey color in my application, then put the
same text in black color on it, but one pixel higher.

But this can't be it, you'd have to deal with every text item twice...
Anyone have any clue?

What about a NSTextField subclass which draws the text twice?

How about something like this?

NSSize size = {2, -2};

mFreqShadow = [[NSShadow alloc] init];
[mFreqShadow setShadowOffset: size];
[mFreqShadow setShadowColor: [NSColor whiteColor]];
[mFreqShadow set];

// draw some text

Casey
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: RE: Memory management in a thread
  • Next by Date: Re: Memory management in a thread
  • Previous by thread: Re: Brushed Metal: Embroidered text
  • Next by thread: [SOLVED] Re: Brushed Metal: Embroidered text
  • Index(es):
    • Date
    • Thread