{"id":2011,"date":"2004-04-19T17:58:57","date_gmt":"2004-04-19T20:58:57","guid":{"rendered":"http:\/\/brockerhoff.net\/bb\/viewtopic.php?p=875"},"modified":"2010-05-08T21:46:25","modified_gmt":"2010-05-09T00:46:25","slug":"nsbezierpath-geek-talk-warning","status":"publish","type":"post","link":"https:\/\/brockerhoff.net\/blog\/2004\/04\/19\/nsbezierpath-geek-talk-warning\/","title":{"rendered":"NSBezierPath (geek-talk warning)"},"content":{"rendered":"<p><a href=\"http:\/\/iratescotsman.com\/\">Matt Gemmell<\/a> has <a href=\"http:\/\/iratescotsman.com\/index.php\/dev\/mac\/nsbezierpath_strokeinside.html\">posted source code<\/a> for a trick to stroke inside a NSBezierPath. The default stroke lies on the path&#8217;s boundary, which generates some awkward situations with sharp corners.<\/p>\n<p>We came up with this during a long and fruitful discussion of options (via <a href=\"http:\/\/www.apple.com\/ichat\/\">iChat<\/a>) for Matt&#8217;s upcoming <a href=\"http:\/\/iratescotsman.com\/index.php\/dev\/mac\/ipie.html\">Pie Chart control for Cocoa<\/a>. Watch that space&#8230;<\/p>\n<p><strong>Update:<\/strong> forgot to say that there&#8217;s more good Cocoa source <a href=\"http:\/\/www.scotlandsoftware.com\/products\/source\/\">on this page<\/a>. Enjoy.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Matt Gemmell has posted source code for a trick to stroke inside a NSBezierPath. The default stroke lies on the path&#8217;s boundary, which generates some awkward situations with sharp corners. We came up with this during a long and fruitful discussion of options (via iChat) for Matt&#8217;s upcoming Pie Chart control for Cocoa. Watch that [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4,19],"tags":[26,23],"class_list":["post-2011","post","type-post","status-publish","format-standard","hentry","category-dev","category-software","tag-cocoa","tag-mac"],"featured_image_src":null,"author_info":{"display_name":"Rainer Brockerhoff","author_link":"https:\/\/brockerhoff.net\/blog\/author\/rbrockerhoff\/"},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1q3Zc-wr","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/brockerhoff.net\/blog\/wp-json\/wp\/v2\/posts\/2011","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/brockerhoff.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/brockerhoff.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/brockerhoff.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/brockerhoff.net\/blog\/wp-json\/wp\/v2\/comments?post=2011"}],"version-history":[{"count":0,"href":"https:\/\/brockerhoff.net\/blog\/wp-json\/wp\/v2\/posts\/2011\/revisions"}],"wp:attachment":[{"href":"https:\/\/brockerhoff.net\/blog\/wp-json\/wp\/v2\/media?parent=2011"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/brockerhoff.net\/blog\/wp-json\/wp\/v2\/categories?post=2011"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/brockerhoff.net\/blog\/wp-json\/wp\/v2\/tags?post=2011"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}