You could also try one of the draw bezel functions

NSDrawDarkBezel
NSDrawGrayBezel
NSDrawLightBezel
NSDrawWhiteBezel

with a height of 2, and a y value with a .5 decimal

On 11/09/2009, at 12:12 AM, Steven Degutis wrote:

Arun,
It's just two lines drawn on top of one another, with the top one darker than the background and the bottom one lighter. I use it in my Preference
panels all the time.

--
Steven Degutis
http://www.thoughtfultree.com/
http://www.degutis.org/

On Thu, Sep 10, 2009 at 4:15 AM, Arun <arun...@gmail.com> wrote:

Hi All
How can we draw a horizontal line with embossing effect? The attached
picture describes more clearly.

Thanks
Arun KA

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com

This email sent to steven.degu...@gmail.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/nathan_day%40mac.com

This email sent to nathan_...@mac.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to