{"action":"opened","number":3089,"pull_request":{"url":"https://api.github.com/repos/livecode/livecode/pulls/3089","id":48216445,"html_url":"https://github.com/livecode/livecode/pull/3089","diff_url":"https://github.com/livecode/livecode/pull/3089.diff","patch_url":"https://github.com/livecode/livecode/pull/3089.patch","issue_url":"https://api.github.com/repos/livecode/livecode/issues/3089","number":3089,"state":"open","locked":false,"title":"[[ SvgViewWidget ]] Add a simple 'SVG View' widget","user":{"login":"runrevmark","id":3985298,"avatar_url":"https://avatars.githubusercontent.com/u/3985298?v=3","gravatar_id":"","url":"https://api.github.com/users/runrevmark","html_url":"https://github.com/runrevmark","followers_url":"https://api.github.com/users/runrevmark/followers","following_url":"https://api.github.com/users/runrevmark/following{/other_user}","gists_url":"https://api.github.com/users/runrevmark/gists{/gist_id}","starred_url":"https://api.github.com/users/runrevmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runrevmark/subscriptions","organizations_url":"https://api.github.com/users/runrevmark/orgs","repos_url":"https://api.github.com/users/runrevmark/repos","events_url":"https://api.github.com/users/runrevmark/events{/privacy}","received_events_url":"https://api.github.com/users/runrevmark/received_events","type":"User","site_admin":false},"body":"This PR adds both an 'SVG' abstraction at the Canvas level, and a simple 'SVG View' widget.\r\n\r\nThe SVG abstraction is based on https://github.com/memononen/nanosvg which is a very small SVG subset parser. The subset it understands includes shapes, paths, transforms, color fills as well as linear and radial gradients.\r\n\r\nThe SVG View widget wraps an SVG document specified by an 'svgText' property, and scales and fills the widgets bounds with a specified rectangle of the SVG document (visibleBox).\r\n\r\nNote: The widget does not yet load / save its state, and gradient transforms are not currently mapping correctly.","created_at":"2015-10-20T15:26:41Z","updated_at":"2015-10-20T15:26:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/livecode/livecode/pulls/3089/commits","review_comments_url":"https://api.github.com/repos/livecode/livecode/pulls/3089/comments","review_comment_url":"https://api.github.com/repos/livecode/livecode/pulls/comments{/number}","comments_url":"https://api.github.com/repos/livecode/livecode/issues/3089/comments","statuses_url":"https://api.github.com/repos/livecode/livecode/statuses/f3cc35d403f7a9c6efbf17e5d9dde959e4bec742","head":{"label":"runrevmark:lcb-canvas_svg","ref":"lcb-canvas_svg","sha":"f3cc35d403f7a9c6efbf17e5d9dde959e4bec742","user":{"login":"runrevmark","id":3985298,"avatar_url":"https://avatars.githubusercontent.com/u/3985298?v=3","gravatar_id":"","url":"https://api.github.com/users/runrevmark","html_url":"https://github.com/runrevmark","followers_url":"https://api.github.com/users/runrevmark/followers","following_url":"https://api.github.com/users/runrevmark/following{/other_user}","gists_url":"https://api.github.com/users/runrevmark/gists{/gist_id}","starred_url":"https://api.github.com/users/runrevmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runrevmark/subscriptions","organizations_url":"https://api.github.com/users/runrevmark/orgs","repos_url":"https://api.github.com/users/runrevmark/repos","events_url":"https://api.github.com/users/runrevmark/events{/privacy}","received_events_url":"https://api.github.com/users/runrevmark/received_events","type":"User","site_admin":false},"repo":{"id":9373954,"name":"livecode","full_name":"runrevmark/livecode","owner":{"login":"runrevmark","id":3985298,"avatar_url":"https://avatars.githubusercontent.com/u/3985298?v=3","gravatar_id":"","url":"https://api.github.com/users/runrevmark","html_url":"https://github.com/runrevmark","followers_url":"https://api.github.com/users/runrevmark/followers","following_url":"https://api.github.com/users/runrevmark/following{/other_user}","gists_url":"https://api.github.com/users/runrevmark/gists{/gist_id}","starred_url":"https://api.github.com/users/runrevmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runrevmark/subscriptions","organizations_url":"https://api.github.com/users/runrevmark/orgs","repos_url":"https://api.github.com/users/runrevmark/repos","events_url":"https://api.github.com/users/runrevmark/events{/privacy}","received_events_url":"https://api.github.com/users/runrevmark/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/runrevmark/livecode","description":"","fork":true,"url":"https://api.github.com/repos/runrevmark/livecode","forks_url":"https://api.github.com/repos/runrevmark/livecode/forks","keys_url":"https://api.github.com/repos/runrevmark/livecode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/runrevmark/livecode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/runrevmark/livecode/teams","hooks_url":"https://api.github.com/repos/runrevmark/livecode/hooks","issue_events_url":"https://api.github.com/repos/runrevmark/livecode/issues/events{/number}","events_url":"https://api.github.com/repos/runrevmark/livecode/events","assignees_url":"https://api.github.com/repos/runrevmark/livecode/assignees{/user}","branches_url":"https://api.github.com/repos/runrevmark/livecode/branches{/branch}","tags_url":"https://api.github.com/repos/runrevmark/livecode/tags","blobs_url":"https://api.github.com/repos/runrevmark/livecode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/runrevmark/livecode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/runrevmark/livecode/git/refs{/sha}","trees_url":"https://api.github.com/repos/runrevmark/livecode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/runrevmark/livecode/statuses/{sha}","languages_url":"https://api.github.com/repos/runrevmark/livecode/languages","stargazers_url":"https://api.github.com/repos/runrevmark/livecode/stargazers","contributors_url":"https://api.github.com/repos/runrevmark/livecode/contributors","subscribers_url":"https://api.github.com/repos/runrevmark/livecode/subscribers","subscription_url":"https://api.github.com/repos/runrevmark/livecode/subscription","commits_url":"https://api.github.com/repos/runrevmark/livecode/commits{/sha}","git_commits_url":"https://api.github.com/repos/runrevmark/livecode/git/commits{/sha}","comments_url":"https://api.github.com/repos/runrevmark/livecode/comments{/number}","issue_comment_url":"https://api.github.com/repos/runrevmark/livecode/issues/comments{/number}","contents_url":"https://api.github.com/repos/runrevmark/livecode/contents/{+path}","compare_url":"https://api.github.com/repos/runrevmark/livecode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/runrevmark/livecode/merges","archive_url":"https://api.github.com/repos/runrevmark/livecode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/runrevmark/livecode/downloads","issues_url":"https://api.github.com/repos/runrevmark/livecode/issues{/number}","pulls_url":"https://api.github.com/repos/runrevmark/livecode/pulls{/number}","milestones_url":"https://api.github.com/repos/runrevmark/livecode/milestones{/number}","notifications_url":"https://api.github.com/repos/runrevmark/livecode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/runrevmark/livecode/labels{/name}","releases_url":"https://api.github.com/repos/runrevmark/livecode/releases{/id}","created_at":"2013-04-11T15:43:35Z","updated_at":"2015-05-23T15:45:42Z","pushed_at":"2015-10-20T15:22:09Z","git_url":"git://github.com/runrevmark/livecode.git","ssh_url":"git@github.com:runrevmark/livecode.git","clone_url":"https://github.com/runrevmark/livecode.git","svn_url":"https://github.com/runrevmark/livecode","homepage":null,"size":97415,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"livecode:develop","ref":"develop","sha":"af55ca0b945fce40b37af7118fce96c749cc3b60","user":{"login":"livecode","id":3985749,"avatar_url":"https://avatars.githubusercontent.com/u/3985749?v=3","gravatar_id":"","url":"https://api.github.com/users/livecode","html_url":"https://github.com/livecode","followers_url":"https://api.github.com/users/livecode/followers","following_url":"https://api.github.com/users/livecode/following{/other_user}","gists_url":"https://api.github.com/users/livecode/gists{/gist_id}","starred_url":"https://api.github.com/users/livecode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livecode/subscriptions","organizations_url":"https://api.github.com/users/livecode/orgs","repos_url":"https://api.github.com/users/livecode/repos","events_url":"https://api.github.com/users/livecode/events{/privacy}","received_events_url":"https://api.github.com/users/livecode/received_events","type":"Organization","site_admin":false},"repo":{"id":9334445,"name":"livecode","full_name":"livecode/livecode","owner":{"login":"livecode","id":3985749,"avatar_url":"https://avatars.githubusercontent.com/u/3985749?v=3","gravatar_id":"","url":"https://api.github.com/users/livecode","html_url":"https://github.com/livecode","followers_url":"https://api.github.com/users/livecode/followers","following_url":"https://api.github.com/users/livecode/following{/other_user}","gists_url":"https://api.github.com/users/livecode/gists{/gist_id}","starred_url":"https://api.github.com/users/livecode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livecode/subscriptions","organizations_url":"https://api.github.com/users/livecode/orgs","repos_url":"https://api.github.com/users/livecode/repos","events_url":"https://api.github.com/users/livecode/events{/privacy}","received_events_url":"https://api.github.com/users/livecode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/livecode/livecode","description":"","fork":false,"url":"https://api.github.com/repos/livecode/livecode","forks_url":"https://api.github.com/repos/livecode/livecode/forks","keys_url":"https://api.github.com/repos/livecode/livecode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/livecode/livecode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/livecode/livecode/teams","hooks_url":"https://api.github.com/repos/livecode/livecode/hooks","issue_events_url":"https://api.github.com/repos/livecode/livecode/issues/events{/number}","events_url":"https://api.github.com/repos/livecode/livecode/events","assignees_url":"https://api.github.com/repos/livecode/livecode/assignees{/user}","branches_url":"https://api.github.com/repos/livecode/livecode/branches{/branch}","tags_url":"https://api.github.com/repos/livecode/livecode/tags","blobs_url":"https://api.github.com/repos/livecode/livecode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/livecode/livecode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/livecode/livecode/git/refs{/sha}","trees_url":"https://api.github.com/repos/livecode/livecode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/livecode/livecode/statuses/{sha}","languages_url":"https://api.github.com/repos/livecode/livecode/languages","stargazers_url":"https://api.github.com/repos/livecode/livecode/stargazers","contributors_url":"https://api.github.com/repos/livecode/livecode/contributors","subscribers_url":"https://api.github.com/repos/livecode/livecode/subscribers","subscription_url":"https://api.github.com/repos/livecode/livecode/subscription","commits_url":"https://api.github.com/repos/livecode/livecode/commits{/sha}","git_commits_url":"https://api.github.com/repos/livecode/livecode/git/commits{/sha}","comments_url":"https://api.github.com/repos/livecode/livecode/comments{/number}","issue_comment_url":"https://api.github.com/repos/livecode/livecode/issues/comments{/number}","contents_url":"https://api.github.com/repos/livecode/livecode/contents/{+path}","compare_url":"https://api.github.com/repos/livecode/livecode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/livecode/livecode/merges","archive_url":"https://api.github.com/repos/livecode/livecode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/livecode/livecode/downloads","issues_url":"https://api.github.com/repos/livecode/livecode/issues{/number}","pulls_url":"https://api.github.com/repos/livecode/livecode/pulls{/number}","milestones_url":"https://api.github.com/repos/livecode/livecode/milestones{/number}","notifications_url":"https://api.github.com/repos/livecode/livecode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/livecode/livecode/labels{/name}","releases_url":"https://api.github.com/repos/livecode/livecode/releases{/id}","created_at":"2013-04-10T00:15:57Z","updated_at":"2015-10-19T16:26:00Z","pushed_at":"2015-10-20T15:26:37Z","git_url":"git://github.com/livecode/livecode.git","ssh_url":"git@github.com:livecode/livecode.git","clone_url":"https://github.com/livecode/livecode.git","svn_url":"https://github.com/livecode/livecode","homepage":null,"size":299921,"stargazers_count":102,"watchers_count":102,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":83,"mirror_url":null,"open_issues_count":49,"forks":83,"open_issues":49,"watchers":102,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/livecode/livecode/pulls/3089"},"html":{"href":"https://github.com/livecode/livecode/pull/3089"},"issue":{"href":"https://api.github.com/repos/livecode/livecode/issues/3089"},"comments":{"href":"https://api.github.com/repos/livecode/livecode/issues/3089/comments"},"review_comments":{"href":"https://api.github.com/repos/livecode/livecode/pulls/3089/comments"},"review_comment":{"href":"https://api.github.com/repos/livecode/livecode/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/livecode/livecode/pulls/3089/commits"},"statuses":{"href":"https://api.github.com/repos/livecode/livecode/statuses/f3cc35d403f7a9c6efbf17e5d9dde959e4bec742"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":6,"additions":3711,"deletions":9,"changed_files":14}}