{"action":"opened","issue":{"url":"https://api.github.com/repos/Shoes3/shoes3/issues/81","labels_url":"https://api.github.com/repos/Shoes3/shoes3/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/Shoes3/shoes3/issues/81/comments","events_url":"https://api.github.com/repos/Shoes3/shoes3/issues/81/events","html_url":"https://github.com/Shoes3/shoes3/issues/81","id":60738973,"number":81,"title":"bug in shadow effect won't give correct fill value to shadow","user":{"login":"passenger94","id":10730930,"avatar_url":"https://avatars.githubusercontent.com/u/10730930?v=3","gravatar_id":"","url":"https://api.github.com/users/passenger94","html_url":"https://github.com/passenger94","followers_url":"https://api.github.com/users/passenger94/followers","following_url":"https://api.github.com/users/passenger94/following{/other_user}","gists_url":"https://api.github.com/users/passenger94/gists{/gist_id}","starred_url":"https://api.github.com/users/passenger94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/passenger94/subscriptions","organizations_url":"https://api.github.com/users/passenger94/orgs","repos_url":"https://api.github.com/users/passenger94/repos","events_url":"https://api.github.com/users/passenger94/events{/privacy}","received_events_url":"https://api.github.com/users/passenger94/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-11T22:14:09Z","updated_at":"2015-03-11T22:14:09Z","closed_at":null,"body":"https://github.com/Shoes3/shoes3/blob/master/shoes/effects.c#L208\r\nsample app\r\n```ruby\r\nShoes.app :width => 350, :height => 200, :resizable => false do\r\n    image :top => 20, :left => 20 do\r\n        fill \"#127\"\r\n        nostroke\r\n        oval 10, 10, 200, 50\r\n        #shadow 53, 20, fill: black\r\n        shadow distance: 53, radius: 20, fill: black\r\n    end\r\nend\r\n```\r\n![shadow1](https://cloud.githubusercontent.com/assets/10730930/6607971/76ed59be-c843-11e4-82cc-26343a78effc.jpg)\r\n\r\n```c\r\n cairo_set_source_rgba(cr, color->r / 255., color->g / 255., color->b / 255., color->a / 255.);\r\n```\r\ncorrecting cr to cr2 in line 227\r\n```c\r\n cairo_set_source_rgba(cr2, color->r / 255., color->g / 255., color->b / 255., color->a / 255.);\r\n```\r\n![shadow2](https://cloud.githubusercontent.com/assets/10730930/6608007/d68d057c-c843-11e4-938d-ef0a4a1a1b1e.jpg)\r\n\r\nsending a pull request\r\n"}}