{"action":"created","comment":{"url":"https://api.github.com/repos/cogneco/ooc-kean/pulls/comments/44509617","id":44509617,"diff_hunk":"@@ -38,26 +38,6 @@ RasterImage: abstract class extends Image {\n \t\tresult\n \t}\n \tcopy: abstract func -> This\n-\tcopy: func ~fromParams (size: IntSize2D, transform: FloatTransform2D) -> This {\n-\t\ttransform = (this transform toFloatTransform2D()) * transform * (this transform toFloatTransform2D()) inverse\n-\t\tmappingTransform := FloatTransform2D createTranslation(this size width / 2, this size height / 2) * transform\n-\t\tupperLeft := mappingTransform * FloatPoint2D new(-size width / 2, -size width / 2)\n-\t\tupperRight := mappingTransform * FloatPoint2D new(size width / 2, -size width / 2)\n-\t\tdownLeft := mappingTransform * FloatPoint2D new(-size width / 2, size width / 2)\n-\t\tdownRight := mappingTransform * FloatPoint2D new(size width / 2, size width / 2)\n-\t\tsource := FloatBox2D bounds([upperLeft, upperRight, downLeft, downRight])\n-\t\tmappingTransformInverse := mappingTransform inverse\n-\t\tupperLeft = mappingTransformInverse * source leftTop\n-\t\tupperRight = mappingTransformInverse * source rightTop\n-\t\tdownLeft = mappingTransformInverse * source leftBottom\n-\t\tdownRight = mappingTransformInverse * source rightBottom\n-\t\tthis copy(size toFloatSize2D(), source, FloatPoint2D new(), FloatPoint2D new(), FloatPoint2D new())\n-\t}\n-\tcopy: func ~fromMoreParams (size: FloatSize2D, source: FloatBox2D, upperLeft, upperRight, lowerLeft: FloatPoint2D) -> This {\n-\t\tresult := RasterBgra new(size ceiling() toIntSize2D())\n-//\t\tTODO: The stuff","path":"source/draw/RasterImage.ooc","position":21,"original_position":21,"commit_id":"a206f1aeea82369893b230db98e86e368dededb6","original_commit_id":"a206f1aeea82369893b230db98e86e368dededb6","user":{"login":"marcusnaslund","id":14308896,"avatar_url":"https://avatars.githubusercontent.com/u/14308896?v=3","gravatar_id":"","url":"https://api.github.com/users/marcusnaslund","html_url":"https://github.com/marcusnaslund","followers_url":"https://api.github.com/users/marcusnaslund/followers","following_url":"https://api.github.com/users/marcusnaslund/following{/other_user}","gists_url":"https://api.github.com/users/marcusnaslund/gists{/gist_id}","starred_url":"https://api.github.com/users/marcusnaslund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcusnaslund/subscriptions","organizations_url":"https://api.github.com/users/marcusnaslund/orgs","repos_url":"https://api.github.com/users/marcusnaslund/repos","events_url":"https://api.github.com/users/marcusnaslund/events{/privacy}","received_events_url":"https://api.github.com/users/marcusnaslund/received_events","type":"User","site_admin":false},"body":"This is my favourite comment","created_at":"2015-11-11T08:09:25Z","updated_at":"2015-11-11T08:09:25Z","html_url":"https://github.com/cogneco/ooc-kean/pull/731#discussion_r44509617","pull_request_url":"https://api.github.com/repos/cogneco/ooc-kean/pulls/731","_links":{"self":{"href":"https://api.github.com/repos/cogneco/ooc-kean/pulls/comments/44509617"},"html":{"href":"https://github.com/cogneco/ooc-kean/pull/731#discussion_r44509617"},"pull_request":{"href":"https://api.github.com/repos/cogneco/ooc-kean/pulls/731"}}},"pull_request":{"url":"https://api.github.com/repos/cogneco/ooc-kean/pulls/731","id":50357275,"html_url":"https://github.com/cogneco/ooc-kean/pull/731","diff_url":"https://github.com/cogneco/ooc-kean/pull/731.diff","patch_url":"https://github.com/cogneco/ooc-kean/pull/731.patch","issue_url":"https://api.github.com/repos/cogneco/ooc-kean/issues/731","number":731,"state":"open","locked":false,"title":"Cleanup in Image interface, method to apply 2D transform to RasterBgr","user":{"login":"sebastianbaginski","id":13517893,"avatar_url":"https://avatars.githubusercontent.com/u/13517893?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastianbaginski","html_url":"https://github.com/sebastianbaginski","followers_url":"https://api.github.com/users/sebastianbaginski/followers","following_url":"https://api.github.com/users/sebastianbaginski/following{/other_user}","gists_url":"https://api.github.com/users/sebastianbaginski/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastianbaginski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastianbaginski/subscriptions","organizations_url":"https://api.github.com/users/sebastianbaginski/orgs","repos_url":"https://api.github.com/users/sebastianbaginski/repos","events_url":"https://api.github.com/users/sebastianbaginski/events{/privacy}","received_events_url":"https://api.github.com/users/sebastianbaginski/received_events","type":"User","site_admin":false},"body":"Cleaned up unused functions from `Image` interface.\r\nAdded method to transform raster image with `FloatTransform2D` with test cases.","created_at":"2015-11-11T08:01:46Z","updated_at":"2015-11-11T08:09:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6fd4d39cc3064c4f006cc60688f88ce1e9e8589c","assignee":null,"milestone":{"url":"https://api.github.com/repos/cogneco/ooc-kean/milestones/4","html_url":"https://github.com/cogneco/ooc-kean/milestones/Cleanup","labels_url":"https://api.github.com/repos/cogneco/ooc-kean/milestones/4/labels","id":1377591,"number":4,"title":"Cleanup","description":"Trivial, non-urgent cleanup &mdash; unused functions, classes, and such.","creator":{"login":"davidhesselbom","id":4319680,"avatar_url":"https://avatars.githubusercontent.com/u/4319680?v=3","gravatar_id":"","url":"https://api.github.com/users/davidhesselbom","html_url":"https://github.com/davidhesselbom","followers_url":"https://api.github.com/users/davidhesselbom/followers","following_url":"https://api.github.com/users/davidhesselbom/following{/other_user}","gists_url":"https://api.github.com/users/davidhesselbom/gists{/gist_id}","starred_url":"https://api.github.com/users/davidhesselbom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidhesselbom/subscriptions","organizations_url":"https://api.github.com/users/davidhesselbom/orgs","repos_url":"https://api.github.com/users/davidhesselbom/repos","events_url":"https://api.github.com/users/davidhesselbom/events{/privacy}","received_events_url":"https://api.github.com/users/davidhesselbom/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":5,"state":"open","created_at":"2015-10-26T16:34:28Z","updated_at":"2015-11-11T08:01:46Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/cogneco/ooc-kean/pulls/731/commits","review_comments_url":"https://api.github.com/repos/cogneco/ooc-kean/pulls/731/comments","review_comment_url":"https://api.github.com/repos/cogneco/ooc-kean/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cogneco/ooc-kean/issues/731/comments","statuses_url":"https://api.github.com/repos/cogneco/ooc-kean/statuses/a206f1aeea82369893b230db98e86e368dededb6","head":{"label":"sebastianbaginski:imageCleanup_applyTransform","ref":"imageCleanup_applyTransform","sha":"a206f1aeea82369893b230db98e86e368dededb6","user":{"login":"sebastianbaginski","id":13517893,"avatar_url":"https://avatars.githubusercontent.com/u/13517893?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastianbaginski","html_url":"https://github.com/sebastianbaginski","followers_url":"https://api.github.com/users/sebastianbaginski/followers","following_url":"https://api.github.com/users/sebastianbaginski/following{/other_user}","gists_url":"https://api.github.com/users/sebastianbaginski/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastianbaginski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastianbaginski/subscriptions","organizations_url":"https://api.github.com/users/sebastianbaginski/orgs","repos_url":"https://api.github.com/users/sebastianbaginski/repos","events_url":"https://api.github.com/users/sebastianbaginski/events{/privacy}","received_events_url":"https://api.github.com/users/sebastianbaginski/received_events","type":"User","site_admin":false},"repo":{"id":39762712,"name":"ooc-kean","full_name":"sebastianbaginski/ooc-kean","owner":{"login":"sebastianbaginski","id":13517893,"avatar_url":"https://avatars.githubusercontent.com/u/13517893?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastianbaginski","html_url":"https://github.com/sebastianbaginski","followers_url":"https://api.github.com/users/sebastianbaginski/followers","following_url":"https://api.github.com/users/sebastianbaginski/following{/other_user}","gists_url":"https://api.github.com/users/sebastianbaginski/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastianbaginski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastianbaginski/subscriptions","organizations_url":"https://api.github.com/users/sebastianbaginski/orgs","repos_url":"https://api.github.com/users/sebastianbaginski/repos","events_url":"https://api.github.com/users/sebastianbaginski/events{/privacy}","received_events_url":"https://api.github.com/users/sebastianbaginski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sebastianbaginski/ooc-kean","description":"ooc port of parts of Kean.","fork":true,"url":"https://api.github.com/repos/sebastianbaginski/ooc-kean","forks_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/forks","keys_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/teams","hooks_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/hooks","issue_events_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/issues/events{/number}","events_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/events","assignees_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/assignees{/user}","branches_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/branches{/branch}","tags_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/tags","blobs_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/git/refs{/sha}","trees_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/statuses/{sha}","languages_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/languages","stargazers_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/stargazers","contributors_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/contributors","subscribers_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/subscribers","subscription_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/subscription","commits_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/commits{/sha}","git_commits_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/git/commits{/sha}","comments_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/comments{/number}","issue_comment_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/issues/comments{/number}","contents_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/contents/{+path}","compare_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/merges","archive_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/downloads","issues_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/issues{/number}","pulls_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/pulls{/number}","milestones_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/milestones{/number}","notifications_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/labels{/name}","releases_url":"https://api.github.com/repos/sebastianbaginski/ooc-kean/releases{/id}","created_at":"2015-07-27T08:08:08Z","updated_at":"2015-07-27T08:08:09Z","pushed_at":"2015-11-11T07:57:17Z","git_url":"git://github.com/sebastianbaginski/ooc-kean.git","ssh_url":"git@github.com:sebastianbaginski/ooc-kean.git","clone_url":"https://github.com/sebastianbaginski/ooc-kean.git","svn_url":"https://github.com/sebastianbaginski/ooc-kean","homepage":"","size":27933,"stargazers_count":0,"watchers_count":0,"language":"ooc","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":"master"}},"base":{"label":"cogneco:master","ref":"master","sha":"8bb297899fabe7098083bfd101858722dfee4d33","user":{"login":"cogneco","id":3601419,"avatar_url":"https://avatars.githubusercontent.com/u/3601419?v=3","gravatar_id":"","url":"https://api.github.com/users/cogneco","html_url":"https://github.com/cogneco","followers_url":"https://api.github.com/users/cogneco/followers","following_url":"https://api.github.com/users/cogneco/following{/other_user}","gists_url":"https://api.github.com/users/cogneco/gists{/gist_id}","starred_url":"https://api.github.com/users/cogneco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cogneco/subscriptions","organizations_url":"https://api.github.com/users/cogneco/orgs","repos_url":"https://api.github.com/users/cogneco/repos","events_url":"https://api.github.com/users/cogneco/events{/privacy}","received_events_url":"https://api.github.com/users/cogneco/received_events","type":"Organization","site_admin":false},"repo":{"id":25256330,"name":"ooc-kean","full_name":"cogneco/ooc-kean","owner":{"login":"cogneco","id":3601419,"avatar_url":"https://avatars.githubusercontent.com/u/3601419?v=3","gravatar_id":"","url":"https://api.github.com/users/cogneco","html_url":"https://github.com/cogneco","followers_url":"https://api.github.com/users/cogneco/followers","following_url":"https://api.github.com/users/cogneco/following{/other_user}","gists_url":"https://api.github.com/users/cogneco/gists{/gist_id}","starred_url":"https://api.github.com/users/cogneco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cogneco/subscriptions","organizations_url":"https://api.github.com/users/cogneco/orgs","repos_url":"https://api.github.com/users/cogneco/repos","events_url":"https://api.github.com/users/cogneco/events{/privacy}","received_events_url":"https://api.github.com/users/cogneco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cogneco/ooc-kean","description":"ooc port of parts of Kean.","fork":false,"url":"https://api.github.com/repos/cogneco/ooc-kean","forks_url":"https://api.github.com/repos/cogneco/ooc-kean/forks","keys_url":"https://api.github.com/repos/cogneco/ooc-kean/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cogneco/ooc-kean/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cogneco/ooc-kean/teams","hooks_url":"https://api.github.com/repos/cogneco/ooc-kean/hooks","issue_events_url":"https://api.github.com/repos/cogneco/ooc-kean/issues/events{/number}","events_url":"https://api.github.com/repos/cogneco/ooc-kean/events","assignees_url":"https://api.github.com/repos/cogneco/ooc-kean/assignees{/user}","branches_url":"https://api.github.com/repos/cogneco/ooc-kean/branches{/branch}","tags_url":"https://api.github.com/repos/cogneco/ooc-kean/tags","blobs_url":"https://api.github.com/repos/cogneco/ooc-kean/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cogneco/ooc-kean/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cogneco/ooc-kean/git/refs{/sha}","trees_url":"https://api.github.com/repos/cogneco/ooc-kean/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cogneco/ooc-kean/statuses/{sha}","languages_url":"https://api.github.com/repos/cogneco/ooc-kean/languages","stargazers_url":"https://api.github.com/repos/cogneco/ooc-kean/stargazers","contributors_url":"https://api.github.com/repos/cogneco/ooc-kean/contributors","subscribers_url":"https://api.github.com/repos/cogneco/ooc-kean/subscribers","subscription_url":"https://api.github.com/repos/cogneco/ooc-kean/subscription","commits_url":"https://api.github.com/repos/cogneco/ooc-kean/commits{/sha}","git_commits_url":"https://api.github.com/repos/cogneco/ooc-kean/git/commits{/sha}","comments_url":"https://api.github.com/repos/cogneco/ooc-kean/comments{/number}","issue_comment_url":"https://api.github.com/repos/cogneco/ooc-kean/issues/comments{/number}","contents_url":"https://api.github.com/repos/cogneco/ooc-kean/contents/{+path}","compare_url":"https://api.github.com/repos/cogneco/ooc-kean/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cogneco/ooc-kean/merges","archive_url":"https://api.github.com/repos/cogneco/ooc-kean/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cogneco/ooc-kean/downloads","issues_url":"https://api.github.com/repos/cogneco/ooc-kean/issues{/number}","pulls_url":"https://api.github.com/repos/cogneco/ooc-kean/pulls{/number}","milestones_url":"https://api.github.com/repos/cogneco/ooc-kean/milestones{/number}","notifications_url":"https://api.github.com/repos/cogneco/ooc-kean/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cogneco/ooc-kean/labels{/name}","releases_url":"https://api.github.com/repos/cogneco/ooc-kean/releases{/id}","created_at":"2014-10-15T13:42:17Z","updated_at":"2015-05-08T13:13:16Z","pushed_at":"2015-11-11T08:01:46Z","git_url":"git://github.com/cogneco/ooc-kean.git","ssh_url":"git@github.com:cogneco/ooc-kean.git","clone_url":"https://github.com/cogneco/ooc-kean.git","svn_url":"https://github.com/cogneco/ooc-kean","homepage":"","size":32837,"stargazers_count":3,"watchers_count":3,"language":"ooc","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":83,"forks":17,"open_issues":83,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cogneco/ooc-kean/pulls/731"},"html":{"href":"https://github.com/cogneco/ooc-kean/pull/731"},"issue":{"href":"https://api.github.com/repos/cogneco/ooc-kean/issues/731"},"comments":{"href":"https://api.github.com/repos/cogneco/ooc-kean/issues/731/comments"},"review_comments":{"href":"https://api.github.com/repos/cogneco/ooc-kean/pulls/731/comments"},"review_comment":{"href":"https://api.github.com/repos/cogneco/ooc-kean/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cogneco/ooc-kean/pulls/731/commits"},"statuses":{"href":"https://api.github.com/repos/cogneco/ooc-kean/statuses/a206f1aeea82369893b230db98e86e368dededb6"}}}}