Drawing strings to an NSView
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.