{"action":"opened","number":22,"pull_request":{"url":"https://api.github.com/repos/underscoreio/doodle/pulls/22","id":54781273,"html_url":"https://github.com/underscoreio/doodle/pull/22","diff_url":"https://github.com/underscoreio/doodle/pull/22.diff","patch_url":"https://github.com/underscoreio/doodle/pull/22.patch","issue_url":"https://api.github.com/repos/underscoreio/doodle/issues/22","number":22,"state":"open","locked":false,"title":"Changing default line join to be Miter rather than Bevel for sharp corners","user":{"login":"indraastra","id":34575,"avatar_url":"https://avatars.githubusercontent.com/u/34575?v=3","gravatar_id":"","url":"https://api.github.com/users/indraastra","html_url":"https://github.com/indraastra","followers_url":"https://api.github.com/users/indraastra/followers","following_url":"https://api.github.com/users/indraastra/following{/other_user}","gists_url":"https://api.github.com/users/indraastra/gists{/gist_id}","starred_url":"https://api.github.com/users/indraastra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indraastra/subscriptions","organizations_url":"https://api.github.com/users/indraastra/orgs","repos_url":"https://api.github.com/users/indraastra/repos","events_url":"https://api.github.com/users/indraastra/events{/privacy}","received_events_url":"https://api.github.com/users/indraastra/received_events","type":"User","site_admin":false},"body":"I've been enjoying the Creative Scala book a lot so far, but the pictures in the book didn't always match the pictures I was generating. I chalked it up to a platform-specific issue at first, but it bothered me enough at some point that I did some digging, and I'm pretty sure it's due to the stroke join being set to the non-default \"Bevel\" type.\r\nExample:\r\n> (Triangle(100, 50) above Rectangle(80, 80) lineWidth 10).draw\r\n\r\nBefore change:\r\n![before](https://cloud.githubusercontent.com/assets/34575/12047442/5db72c30-ae80-11e5-8808-f91da152c0ab.png)\r\n\r\nAfter change:\r\n![after](https://cloud.githubusercontent.com/assets/34575/12047444/5f572d6a-ae80-11e5-9f4b-507f5489ad01.png)\r\n","created_at":"2015-12-30T07:08:15Z","updated_at":"2015-12-30T07:08:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/underscoreio/doodle/pulls/22/commits","review_comments_url":"https://api.github.com/repos/underscoreio/doodle/pulls/22/comments","review_comment_url":"https://api.github.com/repos/underscoreio/doodle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/underscoreio/doodle/issues/22/comments","statuses_url":"https://api.github.com/repos/underscoreio/doodle/statuses/525a4ccf46c0ae87fcee947162210d0e2cd4cf4f","head":{"label":"indraastra:develop","ref":"develop","sha":"525a4ccf46c0ae87fcee947162210d0e2cd4cf4f","user":{"login":"indraastra","id":34575,"avatar_url":"https://avatars.githubusercontent.com/u/34575?v=3","gravatar_id":"","url":"https://api.github.com/users/indraastra","html_url":"https://github.com/indraastra","followers_url":"https://api.github.com/users/indraastra/followers","following_url":"https://api.github.com/users/indraastra/following{/other_user}","gists_url":"https://api.github.com/users/indraastra/gists{/gist_id}","starred_url":"https://api.github.com/users/indraastra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indraastra/subscriptions","organizations_url":"https://api.github.com/users/indraastra/orgs","repos_url":"https://api.github.com/users/indraastra/repos","events_url":"https://api.github.com/users/indraastra/events{/privacy}","received_events_url":"https://api.github.com/users/indraastra/received_events","type":"User","site_admin":false},"repo":{"id":48786935,"name":"doodle","full_name":"indraastra/doodle","owner":{"login":"indraastra","id":34575,"avatar_url":"https://avatars.githubusercontent.com/u/34575?v=3","gravatar_id":"","url":"https://api.github.com/users/indraastra","html_url":"https://github.com/indraastra","followers_url":"https://api.github.com/users/indraastra/followers","following_url":"https://api.github.com/users/indraastra/following{/other_user}","gists_url":"https://api.github.com/users/indraastra/gists{/gist_id}","starred_url":"https://api.github.com/users/indraastra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indraastra/subscriptions","organizations_url":"https://api.github.com/users/indraastra/orgs","repos_url":"https://api.github.com/users/indraastra/repos","events_url":"https://api.github.com/users/indraastra/events{/privacy}","received_events_url":"https://api.github.com/users/indraastra/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/indraastra/doodle","description":"Compositional vector graphics in Scala / Scala.JS","fork":true,"url":"https://api.github.com/repos/indraastra/doodle","forks_url":"https://api.github.com/repos/indraastra/doodle/forks","keys_url":"https://api.github.com/repos/indraastra/doodle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/indraastra/doodle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/indraastra/doodle/teams","hooks_url":"https://api.github.com/repos/indraastra/doodle/hooks","issue_events_url":"https://api.github.com/repos/indraastra/doodle/issues/events{/number}","events_url":"https://api.github.com/repos/indraastra/doodle/events","assignees_url":"https://api.github.com/repos/indraastra/doodle/assignees{/user}","branches_url":"https://api.github.com/repos/indraastra/doodle/branches{/branch}","tags_url":"https://api.github.com/repos/indraastra/doodle/tags","blobs_url":"https://api.github.com/repos/indraastra/doodle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/indraastra/doodle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/indraastra/doodle/git/refs{/sha}","trees_url":"https://api.github.com/repos/indraastra/doodle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/indraastra/doodle/statuses/{sha}","languages_url":"https://api.github.com/repos/indraastra/doodle/languages","stargazers_url":"https://api.github.com/repos/indraastra/doodle/stargazers","contributors_url":"https://api.github.com/repos/indraastra/doodle/contributors","subscribers_url":"https://api.github.com/repos/indraastra/doodle/subscribers","subscription_url":"https://api.github.com/repos/indraastra/doodle/subscription","commits_url":"https://api.github.com/repos/indraastra/doodle/commits{/sha}","git_commits_url":"https://api.github.com/repos/indraastra/doodle/git/commits{/sha}","comments_url":"https://api.github.com/repos/indraastra/doodle/comments{/number}","issue_comment_url":"https://api.github.com/repos/indraastra/doodle/issues/comments{/number}","contents_url":"https://api.github.com/repos/indraastra/doodle/contents/{+path}","compare_url":"https://api.github.com/repos/indraastra/doodle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/indraastra/doodle/merges","archive_url":"https://api.github.com/repos/indraastra/doodle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/indraastra/doodle/downloads","issues_url":"https://api.github.com/repos/indraastra/doodle/issues{/number}","pulls_url":"https://api.github.com/repos/indraastra/doodle/pulls{/number}","milestones_url":"https://api.github.com/repos/indraastra/doodle/milestones{/number}","notifications_url":"https://api.github.com/repos/indraastra/doodle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/indraastra/doodle/labels{/name}","releases_url":"https://api.github.com/repos/indraastra/doodle/releases{/id}","created_at":"2015-12-30T06:56:16Z","updated_at":"2015-12-30T06:56:17Z","pushed_at":"2015-12-30T07:02:41Z","git_url":"git://github.com/indraastra/doodle.git","ssh_url":"git@github.com:indraastra/doodle.git","clone_url":"https://github.com/indraastra/doodle.git","svn_url":"https://github.com/indraastra/doodle","homepage":"","size":1202,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"underscoreio:develop","ref":"develop","sha":"31f3596b1b1e54149dccdb58ab2fa1c538fda45d","user":{"login":"underscoreio","id":7045301,"avatar_url":"https://avatars.githubusercontent.com/u/7045301?v=3","gravatar_id":"","url":"https://api.github.com/users/underscoreio","html_url":"https://github.com/underscoreio","followers_url":"https://api.github.com/users/underscoreio/followers","following_url":"https://api.github.com/users/underscoreio/following{/other_user}","gists_url":"https://api.github.com/users/underscoreio/gists{/gist_id}","starred_url":"https://api.github.com/users/underscoreio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/underscoreio/subscriptions","organizations_url":"https://api.github.com/users/underscoreio/orgs","repos_url":"https://api.github.com/users/underscoreio/repos","events_url":"https://api.github.com/users/underscoreio/events{/privacy}","received_events_url":"https://api.github.com/users/underscoreio/received_events","type":"Organization","site_admin":false},"repo":{"id":27816822,"name":"doodle","full_name":"underscoreio/doodle","owner":{"login":"underscoreio","id":7045301,"avatar_url":"https://avatars.githubusercontent.com/u/7045301?v=3","gravatar_id":"","url":"https://api.github.com/users/underscoreio","html_url":"https://github.com/underscoreio","followers_url":"https://api.github.com/users/underscoreio/followers","following_url":"https://api.github.com/users/underscoreio/following{/other_user}","gists_url":"https://api.github.com/users/underscoreio/gists{/gist_id}","starred_url":"https://api.github.com/users/underscoreio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/underscoreio/subscriptions","organizations_url":"https://api.github.com/users/underscoreio/orgs","repos_url":"https://api.github.com/users/underscoreio/repos","events_url":"https://api.github.com/users/underscoreio/events{/privacy}","received_events_url":"https://api.github.com/users/underscoreio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/underscoreio/doodle","description":"Compositional vector graphics in Scala / Scala.JS","fork":false,"url":"https://api.github.com/repos/underscoreio/doodle","forks_url":"https://api.github.com/repos/underscoreio/doodle/forks","keys_url":"https://api.github.com/repos/underscoreio/doodle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/underscoreio/doodle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/underscoreio/doodle/teams","hooks_url":"https://api.github.com/repos/underscoreio/doodle/hooks","issue_events_url":"https://api.github.com/repos/underscoreio/doodle/issues/events{/number}","events_url":"https://api.github.com/repos/underscoreio/doodle/events","assignees_url":"https://api.github.com/repos/underscoreio/doodle/assignees{/user}","branches_url":"https://api.github.com/repos/underscoreio/doodle/branches{/branch}","tags_url":"https://api.github.com/repos/underscoreio/doodle/tags","blobs_url":"https://api.github.com/repos/underscoreio/doodle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/underscoreio/doodle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/underscoreio/doodle/git/refs{/sha}","trees_url":"https://api.github.com/repos/underscoreio/doodle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/underscoreio/doodle/statuses/{sha}","languages_url":"https://api.github.com/repos/underscoreio/doodle/languages","stargazers_url":"https://api.github.com/repos/underscoreio/doodle/stargazers","contributors_url":"https://api.github.com/repos/underscoreio/doodle/contributors","subscribers_url":"https://api.github.com/repos/underscoreio/doodle/subscribers","subscription_url":"https://api.github.com/repos/underscoreio/doodle/subscription","commits_url":"https://api.github.com/repos/underscoreio/doodle/commits{/sha}","git_commits_url":"https://api.github.com/repos/underscoreio/doodle/git/commits{/sha}","comments_url":"https://api.github.com/repos/underscoreio/doodle/comments{/number}","issue_comment_url":"https://api.github.com/repos/underscoreio/doodle/issues/comments{/number}","contents_url":"https://api.github.com/repos/underscoreio/doodle/contents/{+path}","compare_url":"https://api.github.com/repos/underscoreio/doodle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/underscoreio/doodle/merges","archive_url":"https://api.github.com/repos/underscoreio/doodle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/underscoreio/doodle/downloads","issues_url":"https://api.github.com/repos/underscoreio/doodle/issues{/number}","pulls_url":"https://api.github.com/repos/underscoreio/doodle/pulls{/number}","milestones_url":"https://api.github.com/repos/underscoreio/doodle/milestones{/number}","notifications_url":"https://api.github.com/repos/underscoreio/doodle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/underscoreio/doodle/labels{/name}","releases_url":"https://api.github.com/repos/underscoreio/doodle/releases{/id}","created_at":"2014-12-10T11:28:50Z","updated_at":"2015-12-18T01:07:22Z","pushed_at":"2015-11-09T12:46:43Z","git_url":"git://github.com/underscoreio/doodle.git","ssh_url":"git@github.com:underscoreio/doodle.git","clone_url":"https://github.com/underscoreio/doodle.git","svn_url":"https://github.com/underscoreio/doodle","homepage":"","size":1646,"stargazers_count":75,"watchers_count":75,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":7,"forks":12,"open_issues":7,"watchers":75,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/underscoreio/doodle/pulls/22"},"html":{"href":"https://github.com/underscoreio/doodle/pull/22"},"issue":{"href":"https://api.github.com/repos/underscoreio/doodle/issues/22"},"comments":{"href":"https://api.github.com/repos/underscoreio/doodle/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/underscoreio/doodle/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/underscoreio/doodle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/underscoreio/doodle/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/underscoreio/doodle/statuses/525a4ccf46c0ae87fcee947162210d0e2cd4cf4f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}