• 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
Drawing strings to an NSView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Drawing strings to an NSView


  • Subject: Drawing strings to an NSView
  • From: Peter Fischer <email@hidden>
  • Date: Tue, 23 Sep 2003 08:33:10 -0400

Hello -
I'm currently drawing a string straight on to an NSView using an NSAttributedString / Additions using either the drawAtPoint or drawInRect selectors. This is working fine, but I'm looking to add a drop shadow to the strings being drawn to the NSView. For example, I'm looking for pretty much the exact same effect that Apple uses in the Dock, i.e. white text with a drop shadow. Is there a way to set this up in the NSAttributed string, or, is there a different way to set up the NSView to display a drop shadow, etc... Any help on this would be greatly appreciated.

Thanks

--Pete
_______________________________________________
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.

  • Follow-Ups:
    • Re: Drawing strings to an NSView
      • From: "Alastair J.Houghton" <email@hidden>
  • Prev by Date: Re: Objective-C Question
  • Next by Date: Re: NSResponder
  • Previous by thread: Re: IB and foundation collections (was: IB problem)
  • Next by thread: Re: Drawing strings to an NSView
  • Index(es):
    • Date
    • Thread