{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/Cairo.jl/issues/126","labels_url":"https://api.github.com/repos/JuliaLang/Cairo.jl/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/Cairo.jl/issues/126/comments","events_url":"https://api.github.com/repos/JuliaLang/Cairo.jl/issues/126/events","html_url":"https://github.com/JuliaLang/Cairo.jl/issues/126","id":118220022,"number":126,"title":"HiDPI / Retina Display Support","user":{"login":"dognotdog","id":1443151,"avatar_url":"https://avatars.githubusercontent.com/u/1443151?v=3","gravatar_id":"","url":"https://api.github.com/users/dognotdog","html_url":"https://github.com/dognotdog","followers_url":"https://api.github.com/users/dognotdog/followers","following_url":"https://api.github.com/users/dognotdog/following{/other_user}","gists_url":"https://api.github.com/users/dognotdog/gists{/gist_id}","starred_url":"https://api.github.com/users/dognotdog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dognotdog/subscriptions","organizations_url":"https://api.github.com/users/dognotdog/orgs","repos_url":"https://api.github.com/users/dognotdog/repos","events_url":"https://api.github.com/users/dognotdog/events{/privacy}","received_events_url":"https://api.github.com/users/dognotdog/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-21T20:51:38Z","updated_at":"2015-11-22T07:28:06Z","closed_at":null,"body":"It seems like creating a simple Cairo surface in a Tk window (as in the Tk examples) doesn't use native pixels on a scaled display (in my case a Retina MacBook with OS X 10.10).\r\n\r\nIs there some way to a) query the native pixel size, and b) to set the surface to have native resolution instead of scaled?"},"comment":{"url":"https://api.github.com/repos/JuliaLang/Cairo.jl/issues/comments/158735179","html_url":"https://github.com/JuliaLang/Cairo.jl/issues/126#issuecomment-158735179","issue_url":"https://api.github.com/repos/JuliaLang/Cairo.jl/issues/126","id":158735179,"user":{"login":"lobingera","id":5199059,"avatar_url":"https://avatars.githubusercontent.com/u/5199059?v=3","gravatar_id":"","url":"https://api.github.com/users/lobingera","html_url":"https://github.com/lobingera","followers_url":"https://api.github.com/users/lobingera/followers","following_url":"https://api.github.com/users/lobingera/following{/other_user}","gists_url":"https://api.github.com/users/lobingera/gists{/gist_id}","starred_url":"https://api.github.com/users/lobingera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lobingera/subscriptions","organizations_url":"https://api.github.com/users/lobingera/orgs","repos_url":"https://api.github.com/users/lobingera/repos","events_url":"https://api.github.com/users/lobingera/events{/privacy}","received_events_url":"https://api.github.com/users/lobingera/received_events","type":"User","site_admin":false},"created_at":"2015-11-22T07:28:06Z","updated_at":"2015-11-22T07:28:06Z","body":"afaiu Cairo on OSX, it asks for a Quartz surface and uses this. I'd guess the resolution is already decided in the initilisation of the Tk window."}}