{"action":"opened","number":328,"pull_request":{"url":"https://api.github.com/repos/GiovineItalia/Compose.jl/pulls/328","id":229935485,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5OTM1NDg1","html_url":"https://github.com/GiovineItalia/Compose.jl/pull/328","diff_url":"https://github.com/GiovineItalia/Compose.jl/pull/328.diff","patch_url":"https://github.com/GiovineItalia/Compose.jl/pull/328.patch","issue_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/issues/328","number":328,"state":"open","locked":false,"title":"arrow Property","user":{"login":"Mattriks","id":18226881,"node_id":"MDQ6VXNlcjE4MjI2ODgx","avatar_url":"https://avatars0.githubusercontent.com/u/18226881?v=4","gravatar_id":"","url":"https://api.github.com/users/Mattriks","html_url":"https://github.com/Mattriks","followers_url":"https://api.github.com/users/Mattriks/followers","following_url":"https://api.github.com/users/Mattriks/following{/other_user}","gists_url":"https://api.github.com/users/Mattriks/gists{/gist_id}","starred_url":"https://api.github.com/users/Mattriks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mattriks/subscriptions","organizations_url":"https://api.github.com/users/Mattriks/orgs","repos_url":"https://api.github.com/users/Mattriks/repos","events_url":"https://api.github.com/users/Mattriks/events{/privacy}","received_events_url":"https://api.github.com/users/Mattriks/received_events","type":"User","site_admin":false},"body":"closes #73\r\n\r\n### This PR:\r\n- [x] Adds `arrow()` as a `PropertyPrimitive` for cairo, svg, and pgf backaends.\r\n- [x] Documentation added.\r\n- [x] Example test added.\r\n\r\nExample:  \r\n```julia\r\nθ, r = 2π*rand(3),  0.1.+0.08*rand(3)\r\nc, s = r.*cos.(θ), r.*sin.(θ)\r\npoint_array = [[(0.5,0.5), 0.5.+(x,y)] for (x,y) in zip(c,s) ]\r\nimg = compose(context(), arrow(), stroke(\"black\"), fill(nothing),\r\n        (context(), arc(0.18, 0.5, 0.08, -π/4, 1π)),\r\n        (context(), line(point_array), stroke([\"red\",\"green\",\"deepskyblue\"])),\r\n        (context(), curve((0.7,0.5), (0.8,-0.5), (0.8,1.5), (0.9,0.5)))\r\n)\r\ndraw(SVG(14cm,5cm), img)\r\n```\r\n![arrow02](https://user-images.githubusercontent.com/18226881/48310120-62536b00-e5dc-11e8-8ba6-61e7212a22e6.png)\r\n","created_at":"2018-11-11T07:09:54Z","updated_at":"2018-11-11T07:09:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/pulls/328/commits","review_comments_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/pulls/328/comments","review_comment_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/issues/328/comments","statuses_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/statuses/52641049c5fe25d2e98e5fb35f363ba742bc1dc5","head":{"label":"Mattriks:arrow","ref":"arrow","sha":"52641049c5fe25d2e98e5fb35f363ba742bc1dc5","user":{"login":"Mattriks","id":18226881,"node_id":"MDQ6VXNlcjE4MjI2ODgx","avatar_url":"https://avatars0.githubusercontent.com/u/18226881?v=4","gravatar_id":"","url":"https://api.github.com/users/Mattriks","html_url":"https://github.com/Mattriks","followers_url":"https://api.github.com/users/Mattriks/followers","following_url":"https://api.github.com/users/Mattriks/following{/other_user}","gists_url":"https://api.github.com/users/Mattriks/gists{/gist_id}","starred_url":"https://api.github.com/users/Mattriks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mattriks/subscriptions","organizations_url":"https://api.github.com/users/Mattriks/orgs","repos_url":"https://api.github.com/users/Mattriks/repos","events_url":"https://api.github.com/users/Mattriks/events{/privacy}","received_events_url":"https://api.github.com/users/Mattriks/received_events","type":"User","site_admin":false},"repo":{"id":88731267,"node_id":"MDEwOlJlcG9zaXRvcnk4ODczMTI2Nw==","name":"Compose.jl","full_name":"Mattriks/Compose.jl","private":false,"owner":{"login":"Mattriks","id":18226881,"node_id":"MDQ6VXNlcjE4MjI2ODgx","avatar_url":"https://avatars0.githubusercontent.com/u/18226881?v=4","gravatar_id":"","url":"https://api.github.com/users/Mattriks","html_url":"https://github.com/Mattriks","followers_url":"https://api.github.com/users/Mattriks/followers","following_url":"https://api.github.com/users/Mattriks/following{/other_user}","gists_url":"https://api.github.com/users/Mattriks/gists{/gist_id}","starred_url":"https://api.github.com/users/Mattriks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mattriks/subscriptions","organizations_url":"https://api.github.com/users/Mattriks/orgs","repos_url":"https://api.github.com/users/Mattriks/repos","events_url":"https://api.github.com/users/Mattriks/events{/privacy}","received_events_url":"https://api.github.com/users/Mattriks/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Mattriks/Compose.jl","description":"Declarative vector graphics","fork":true,"url":"https://api.github.com/repos/Mattriks/Compose.jl","forks_url":"https://api.github.com/repos/Mattriks/Compose.jl/forks","keys_url":"https://api.github.com/repos/Mattriks/Compose.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mattriks/Compose.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mattriks/Compose.jl/teams","hooks_url":"https://api.github.com/repos/Mattriks/Compose.jl/hooks","issue_events_url":"https://api.github.com/repos/Mattriks/Compose.jl/issues/events{/number}","events_url":"https://api.github.com/repos/Mattriks/Compose.jl/events","assignees_url":"https://api.github.com/repos/Mattriks/Compose.jl/assignees{/user}","branches_url":"https://api.github.com/repos/Mattriks/Compose.jl/branches{/branch}","tags_url":"https://api.github.com/repos/Mattriks/Compose.jl/tags","blobs_url":"https://api.github.com/repos/Mattriks/Compose.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mattriks/Compose.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mattriks/Compose.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mattriks/Compose.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mattriks/Compose.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/Mattriks/Compose.jl/languages","stargazers_url":"https://api.github.com/repos/Mattriks/Compose.jl/stargazers","contributors_url":"https://api.github.com/repos/Mattriks/Compose.jl/contributors","subscribers_url":"https://api.github.com/repos/Mattriks/Compose.jl/subscribers","subscription_url":"https://api.github.com/repos/Mattriks/Compose.jl/subscription","commits_url":"https://api.github.com/repos/Mattriks/Compose.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mattriks/Compose.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mattriks/Compose.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mattriks/Compose.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/Mattriks/Compose.jl/contents/{+path}","compare_url":"https://api.github.com/repos/Mattriks/Compose.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mattriks/Compose.jl/merges","archive_url":"https://api.github.com/repos/Mattriks/Compose.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mattriks/Compose.jl/downloads","issues_url":"https://api.github.com/repos/Mattriks/Compose.jl/issues{/number}","pulls_url":"https://api.github.com/repos/Mattriks/Compose.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/Mattriks/Compose.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/Mattriks/Compose.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mattriks/Compose.jl/labels{/name}","releases_url":"https://api.github.com/repos/Mattriks/Compose.jl/releases{/id}","deployments_url":"https://api.github.com/repos/Mattriks/Compose.jl/deployments","created_at":"2017-04-19T10:17:46Z","updated_at":"2017-04-19T10:17:48Z","pushed_at":"2018-11-11T07:03:17Z","git_url":"git://github.com/Mattriks/Compose.jl.git","ssh_url":"git@github.com:Mattriks/Compose.jl.git","clone_url":"https://github.com/Mattriks/Compose.jl.git","svn_url":"https://github.com/Mattriks/Compose.jl","homepage":"http://giovineitalia.github.io/Compose.jl/latest/","size":1997,"stargazers_count":0,"watchers_count":0,"language":"Julia","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"GiovineItalia:master","ref":"master","sha":"f83b9c3ab106c41e0610790533a1618502526057","user":{"login":"GiovineItalia","id":22759808,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNzU5ODA4","avatar_url":"https://avatars1.githubusercontent.com/u/22759808?v=4","gravatar_id":"","url":"https://api.github.com/users/GiovineItalia","html_url":"https://github.com/GiovineItalia","followers_url":"https://api.github.com/users/GiovineItalia/followers","following_url":"https://api.github.com/users/GiovineItalia/following{/other_user}","gists_url":"https://api.github.com/users/GiovineItalia/gists{/gist_id}","starred_url":"https://api.github.com/users/GiovineItalia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GiovineItalia/subscriptions","organizations_url":"https://api.github.com/users/GiovineItalia/orgs","repos_url":"https://api.github.com/users/GiovineItalia/repos","events_url":"https://api.github.com/users/GiovineItalia/events{/privacy}","received_events_url":"https://api.github.com/users/GiovineItalia/received_events","type":"Organization","site_admin":false},"repo":{"id":5476650,"node_id":"MDEwOlJlcG9zaXRvcnk1NDc2NjUw","name":"Compose.jl","full_name":"GiovineItalia/Compose.jl","private":false,"owner":{"login":"GiovineItalia","id":22759808,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNzU5ODA4","avatar_url":"https://avatars1.githubusercontent.com/u/22759808?v=4","gravatar_id":"","url":"https://api.github.com/users/GiovineItalia","html_url":"https://github.com/GiovineItalia","followers_url":"https://api.github.com/users/GiovineItalia/followers","following_url":"https://api.github.com/users/GiovineItalia/following{/other_user}","gists_url":"https://api.github.com/users/GiovineItalia/gists{/gist_id}","starred_url":"https://api.github.com/users/GiovineItalia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GiovineItalia/subscriptions","organizations_url":"https://api.github.com/users/GiovineItalia/orgs","repos_url":"https://api.github.com/users/GiovineItalia/repos","events_url":"https://api.github.com/users/GiovineItalia/events{/privacy}","received_events_url":"https://api.github.com/users/GiovineItalia/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/GiovineItalia/Compose.jl","description":"Declarative vector graphics","fork":false,"url":"https://api.github.com/repos/GiovineItalia/Compose.jl","forks_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/forks","keys_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/teams","hooks_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/hooks","issue_events_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/issues/events{/number}","events_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/events","assignees_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/assignees{/user}","branches_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/branches{/branch}","tags_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/tags","blobs_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/languages","stargazers_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/stargazers","contributors_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/contributors","subscribers_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/subscribers","subscription_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/subscription","commits_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/contents/{+path}","compare_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/merges","archive_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/downloads","issues_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/issues{/number}","pulls_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/labels{/name}","releases_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/releases{/id}","deployments_url":"https://api.github.com/repos/GiovineItalia/Compose.jl/deployments","created_at":"2012-08-20T03:22:20Z","updated_at":"2018-11-09T22:51:12Z","pushed_at":"2018-11-09T23:03:32Z","git_url":"git://github.com/GiovineItalia/Compose.jl.git","ssh_url":"git@github.com:GiovineItalia/Compose.jl.git","clone_url":"https://github.com/GiovineItalia/Compose.jl.git","svn_url":"https://github.com/GiovineItalia/Compose.jl","homepage":"http://giovineitalia.github.io/Compose.jl/latest/","size":2515,"stargazers_count":136,"watchers_count":136,"language":"Julia","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":72,"mirror_url":null,"archived":false,"open_issues_count":38,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":72,"open_issues":38,"watchers":136,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GiovineItalia/Compose.jl/pulls/328"},"html":{"href":"https://github.com/GiovineItalia/Compose.jl/pull/328"},"issue":{"href":"https://api.github.com/repos/GiovineItalia/Compose.jl/issues/328"},"comments":{"href":"https://api.github.com/repos/GiovineItalia/Compose.jl/issues/328/comments"},"review_comments":{"href":"https://api.github.com/repos/GiovineItalia/Compose.jl/pulls/328/comments"},"review_comment":{"href":"https://api.github.com/repos/GiovineItalia/Compose.jl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GiovineItalia/Compose.jl/pulls/328/commits"},"statuses":{"href":"https://api.github.com/repos/GiovineItalia/Compose.jl/statuses/52641049c5fe25d2e98e5fb35f363ba742bc1dc5"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":167,"deletions":5,"changed_files":8}}
{"actor":{"display_login":"Mattriks"}}