{"action":"created","issue":{"url":"https://api.github.com/repos/Shoes3/shoes3/issues/54","labels_url":"https://api.github.com/repos/Shoes3/shoes3/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/Shoes3/shoes3/issues/54/comments","events_url":"https://api.github.com/repos/Shoes3/shoes3/issues/54/events","html_url":"https://github.com/Shoes3/shoes3/issues/54","id":56492512,"number":54,"title":"SVG support for Shoes","user":{"login":"BackOrder","id":8844578,"avatar_url":"https://avatars.githubusercontent.com/u/8844578?v=3","gravatar_id":"","url":"https://api.github.com/users/BackOrder","html_url":"https://github.com/BackOrder","followers_url":"https://api.github.com/users/BackOrder/followers","following_url":"https://api.github.com/users/BackOrder/following{/other_user}","gists_url":"https://api.github.com/users/BackOrder/gists{/gist_id}","starred_url":"https://api.github.com/users/BackOrder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BackOrder/subscriptions","organizations_url":"https://api.github.com/users/BackOrder/orgs","repos_url":"https://api.github.com/users/BackOrder/repos","events_url":"https://api.github.com/users/BackOrder/events{/privacy}","received_events_url":"https://api.github.com/users/BackOrder/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Shoes3/shoes3/labels/Enhancement","name":"Enhancement","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"ccoupe","id":222691,"avatar_url":"https://avatars.githubusercontent.com/u/222691?v=3","gravatar_id":"","url":"https://api.github.com/users/ccoupe","html_url":"https://github.com/ccoupe","followers_url":"https://api.github.com/users/ccoupe/followers","following_url":"https://api.github.com/users/ccoupe/following{/other_user}","gists_url":"https://api.github.com/users/ccoupe/gists{/gist_id}","starred_url":"https://api.github.com/users/ccoupe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccoupe/subscriptions","organizations_url":"https://api.github.com/users/ccoupe/orgs","repos_url":"https://api.github.com/users/ccoupe/repos","events_url":"https://api.github.com/users/ccoupe/events{/privacy}","received_events_url":"https://api.github.com/users/ccoupe/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Shoes3/shoes3/milestones/6","html_url":"https://github.com/Shoes3/shoes3/milestones/%203.3.0","labels_url":"https://api.github.com/repos/Shoes3/shoes3/milestones/6/labels","id":1302194,"number":6,"title":" 3.3.0","description":"This is the big one, which we probably will creep up on in our bottom up manner.  GTK3 only and ruby 2.2.+ plus what ever kitchen sink ideas we have.","creator":{"login":"ccoupe","id":222691,"avatar_url":"https://avatars.githubusercontent.com/u/222691?v=3","gravatar_id":"","url":"https://api.github.com/users/ccoupe","html_url":"https://github.com/ccoupe","followers_url":"https://api.github.com/users/ccoupe/followers","following_url":"https://api.github.com/users/ccoupe/following{/other_user}","gists_url":"https://api.github.com/users/ccoupe/gists{/gist_id}","starred_url":"https://api.github.com/users/ccoupe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccoupe/subscriptions","organizations_url":"https://api.github.com/users/ccoupe/orgs","repos_url":"https://api.github.com/users/ccoupe/repos","events_url":"https://api.github.com/users/ccoupe/events{/privacy}","received_events_url":"https://api.github.com/users/ccoupe/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":7,"state":"open","created_at":"2015-09-12T07:04:53Z","updated_at":"2015-12-15T06:47:59Z","due_on":null,"closed_at":null},"comments":90,"created_at":"2015-02-04T08:01:16Z","updated_at":"2015-12-15T22:19:29Z","closed_at":null,"body":"Cairo supports SVG rendering through libRSVG.\r\n\r\nhttps://wiki.gnome.org/action/show/Projects/LibRsvg?action=show&redirect=LibRsvg\r\n\r\nFrom http://cairographics.org/examples/\r\n* librsvg is a SVG rendering library supporting a large subset of SVG 1.1.\r\n* Mozilla is using cairo to render SVG content as of Firefox 1.5 and 2.0. As of Firefox 3.0 it uses cairo for rendering all content and UI.\r\n"},"comment":{"url":"https://api.github.com/repos/Shoes3/shoes3/issues/comments/164915514","html_url":"https://github.com/Shoes3/shoes3/issues/54#issuecomment-164915514","issue_url":"https://api.github.com/repos/Shoes3/shoes3/issues/54","id":164915514,"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},"created_at":"2015-12-15T22:19:29Z","updated_at":"2015-12-15T22:19:29Z","body":"Tested with :\r\n```ruby\r\nShoes.app width: 600 do\r\n  #cpath = \"#{DIR}/Hqueen_simple.svg\"\r\n  cpath = \"#{DIR}/Color_52_Faces_simple.svg\"\r\n  \r\n  bigstring = \"\"\r\n  File.open(cpath,\"r\") {|fl| bigstring = fl.read }\r\n\r\n  #svgh2 = app.svghandle({:content =>bigstring, :group => '#heart_queen'})\r\n  svgh2 = app.svghandle({:content =>bigstring, :group => '#g6073'})\r\n  ar = svgh2.height/svgh2.width\r\n  \r\n  stack do\r\n    @p = para \"One line\"\r\n    \r\n    flow do\r\n      stack width: 400, height: 400 do\r\n        background gray\r\n       svg 400,400, svgh2\r\n        \r\n      end\r\n      stack width: 200, height: 200 do\r\n        background cyan\r\n        svg 200, 200, svgh2\r\n      end\r\n    end\r\n  end\r\n  \r\nend\r\n```"}}