Re: Calculating accurate bounds of stroked paths
Re: Calculating accurate bounds of stroked paths
- Subject: Re: Calculating accurate bounds of stroked paths
- From: Graham Cox <email@hidden>
- Date: Wed, 9 Jul 2008 16:42:11 +1000
Indeed, I think this is the same as m = 2w/sin(a). But for worst case
bounds, the angle itself doesn't need to be measured or known, only
the miter limit.
Thanks for your help!
cheers, Graham
On 9 Jul 2008, at 4:34 pm, Peter Zegelin wrote:
Cool I got it right - finally! Its on page 154 of the spec (174 in
PDF viewer) section 4.3.
Me in another post "I believe the fully correct answer to calculate
the extension is: (strokeWidth/2)/ sin(angle/2);"
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden