Re: Round Rect
Re: Round Rect
- Subject: Re: Round Rect
- From: "John Buckley" <email@hidden>
- Date: Wed, 29 Mar 2006 15:06:29 +0100
You mean a rect with round corners :)
Use an NSBezierPath and construct the points manually.
e.g. - appendBezierPathWithArcFromPoint: toPoint: radius:
can be used to construct the corners.
I would add a category on NSBezierPath to do the work in a single method.
John
On 29/03/06, Valerio Ferrucci <email@hidden> wrote:
> Hi,
> how can I draw a round rect in cocoa?
>
> Thanks
> ==================================================================
> Valerio Ferrucci Tabasoft Sas
> email@hidden http://www.tabasoft.it
>
>
> _______________________________________________
> 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
>
--
------------------------
Dr. John Buckley
email@hidden
Mac OS X Tiger
------------------------
_______________________________________________
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
References: | |
| >Round Rect (From: Valerio Ferrucci <email@hidden>) |