Re: Bezier Path Arc Problem
Re: Bezier Path Arc Problem
- Subject: Re: Bezier Path Arc Problem
- From: "Stephen Deken" <email@hidden>
- Date: Tue, 3 Oct 2006 15:34:26 -0500
as you can see, the path i want is being stroked but around curves
there is an added squareness?
Your line is 10 pixels wide, but if you look at the size of the light
area, you can see that it's only five pixels wide. The 'added
squareness' is the rest of the stroke which is being drawn in the area
that isn't clipped away by the graphics context.
You need to offset the rect before you calculate your path. Something
like this will work:
rect = NSInsetRect( rect, 5, 5 );
That will make the situation more clear. You'll probably want to
change your stroke to be fully opaque instead of alpha:0.3.
--sjd;
_______________________________________________
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