{"action":"created","issue":{"url":"https://api.github.com/repos/zenspider/graphics/issues/6","labels_url":"https://api.github.com/repos/zenspider/graphics/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/zenspider/graphics/issues/6/comments","events_url":"https://api.github.com/repos/zenspider/graphics/issues/6/events","html_url":"https://github.com/zenspider/graphics/issues/6","id":104770662,"number":6,"title":"blit blip","user":{"login":"sotoseattle","id":584976,"avatar_url":"https://avatars.githubusercontent.com/u/584976?v=3","gravatar_id":"","url":"https://api.github.com/users/sotoseattle","html_url":"https://github.com/sotoseattle","followers_url":"https://api.github.com/users/sotoseattle/followers","following_url":"https://api.github.com/users/sotoseattle/following{/other_user}","gists_url":"https://api.github.com/users/sotoseattle/gists{/gist_id}","starred_url":"https://api.github.com/users/sotoseattle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sotoseattle/subscriptions","organizations_url":"https://api.github.com/users/sotoseattle/orgs","repos_url":"https://api.github.com/users/sotoseattle/repos","events_url":"https://api.github.com/users/sotoseattle/events{/privacy}","received_events_url":"https://api.github.com/users/sotoseattle/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-03T20:02:03Z","updated_at":"2015-09-08T23:36:36Z","closed_at":"2015-09-08T23:36:36Z","body":"Graphics::Simulation#blit is not passing the parameters for scaling factors (xs, ys) down to SDL::Surface.transform_blit, and is instead passing ones (maintaining the scale of the image). Also consider defaulting the angle parameter a° to 0.\r\n\r\n**Current Code**:\r\n```ruby\r\ndef blit o, x, y, a°, xs=1, ys=1, opt=0\r\n  SDL::Surface.transform_blit o, screen, -a°, 1, 1, o.w/2, o.h/2, x, h-y, opt\r\nend\r\n```\r\n\r\n**Alternative Code**:\r\n```ruby\r\ndef blit o, x, y, a°=0, xs=1, ys=1, opt=0\r\n  SDL::Surface.transform_blit o, screen, -a°, xs, ys, o.w/2, o.h/2, x, h-y, opt\r\nend\r\n```"},"comment":{"url":"https://api.github.com/repos/zenspider/graphics/issues/comments/138731382","html_url":"https://github.com/zenspider/graphics/issues/6#issuecomment-138731382","issue_url":"https://api.github.com/repos/zenspider/graphics/issues/6","id":138731382,"user":{"login":"zenspider","id":9832,"avatar_url":"https://avatars.githubusercontent.com/u/9832?v=3","gravatar_id":"","url":"https://api.github.com/users/zenspider","html_url":"https://github.com/zenspider","followers_url":"https://api.github.com/users/zenspider/followers","following_url":"https://api.github.com/users/zenspider/following{/other_user}","gists_url":"https://api.github.com/users/zenspider/gists{/gist_id}","starred_url":"https://api.github.com/users/zenspider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenspider/subscriptions","organizations_url":"https://api.github.com/users/zenspider/orgs","repos_url":"https://api.github.com/users/zenspider/repos","events_url":"https://api.github.com/users/zenspider/events{/privacy}","received_events_url":"https://api.github.com/users/zenspider/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T23:36:36Z","updated_at":"2015-09-08T23:36:36Z","body":"This is fixed in my (unreleased) version. Should be soon? Maybe? Hopefully?"}}