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);"
Peter
On 09/07/2008, at 4:02 PM, Chris Suter wrote:
<snip>
"The miter limit helps you avoid spikes at the junction of two line
segments connected by a miter join (NSMiterLineJoinStyle). If the
ratio of the miter length—the diagonal length of the miter join—to
the line thickness exceeds the miter limit, the joint is converted
to a bevel join. The default miter limit value is 10, which
converts miters whose angle at the joint is less than 11 degrees."
So what *is it*? A value in degrees? Or a ratio of two sides of a
triangle? What triangle, exactly? How can I tell just how far out I
need to outset the rect to make sure I'm always just outside the
edge of any mitred corner?
You should have a look at the PDF specification (you can easily get
hold of it). It explains exactly what it is.
-- Chris
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/peter%40fracturedsoftware.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]