Re: Beveled outline around a view(BevelBox): How to?
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