Re: Round Corners With BezierPath
Re: Round Corners With BezierPath
- Subject: Re: Round Corners With BezierPath
- From: Michael Nickerson <email@hidden>
- Date: Wed, 23 Aug 2006 00:01:33 -0400
On Aug 22, 2006, at 9:33 PM, Tom Marchand wrote:
The corners are always square no matter what I set the JoinStyle to
although [Box lineJoinStyle] returns the style I set in my code.
Any idea what I am doing wrong?
Are you trying to make the corners rounded (as in an arc from one
straight point on a side to another)? If you are, this isn't going
to work. The join style just specifies how two line segments meet
and merge together. It's only going to be as thick as the lines
making up the segments are. i.e. if your lines are only 1 pixel wide,
you're really not going to see any sort of curving where they meet.
If you made the lines really wide, you'll see the curving, but that's
probably not what you want to do.
You'll need to use the arc or curve methods to do this.
Darkshadow
(aka Michael Nickerson)
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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