• 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: Beveled outline around a view(BevelBox): How to?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Beveled outline around a view(BevelBox): How to?


  • Subject: Re: Beveled outline around a view(BevelBox): How to?
  • From: John Fox <email@hidden>
  • Date: Mon, 25 Apr 2005 15:26:19 -0700

Hi Segher:

Thanks again for you code. After building a small text app and measuring with Digital Color Meter (with an aperture set to 1) I found that the grey values for the top and bottom lines were switched, at least for the look I was looking for. I modified your code as follows:

drawLine(x0 + 1.0, y0 + 0.5, x1 - 1.0, y0 + 0.5, 0.9412); // T
drawLine(x0 + 0.5, y0 + 1.0, x0 + 0.5, y1 - 1.0, 0.8784); // L
drawLine(x1 - 0.5, y0 + 1.0, x1 - 0.5, y1 - 1.0, 0.8784); // R
drawLine(x0 + 1.0, y1 - 0.5, x1 - 1.0, y1 - 0.5, 0.5765); // B

Take care,

John
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Beveled outline around a view(BevelBox): How to?
      • From: Segher Boessenkool <email@hidden>
References: 
 >Beveled outline around a view(BevelBox): How to? (From: John Fox <email@hidden>)
 >Re: Beveled outline around a view(BevelBox): How to? (From: "John C. Randolph" <email@hidden>)
 >Re: Beveled outline around a view(BevelBox): How to? (From: Segher Boessenkool <email@hidden>)

  • Prev by Date: Re: objective-C++ newbie question
  • Next by Date: Re: Drawing polygons and keeping a list of them...
  • Previous by thread: Re: Beveled outline around a view(BevelBox): How to?
  • Next by thread: Re: Beveled outline around a view(BevelBox): How to?
  • Index(es):
    • Date
    • Thread