{"action":"created","issue":{"url":"https://api.github.com/repos/gtk-rs/gtk/issues/626","repository_url":"https://api.github.com/repos/gtk-rs/gtk","labels_url":"https://api.github.com/repos/gtk-rs/gtk/issues/626/labels{/name}","comments_url":"https://api.github.com/repos/gtk-rs/gtk/issues/626/comments","events_url":"https://api.github.com/repos/gtk-rs/gtk/issues/626/events","html_url":"https://github.com/gtk-rs/gtk/issues/626","id":296589636,"number":626,"title":"cairo puts a border around pixbufs","user":{"login":"pwil3058","id":204985,"avatar_url":"https://avatars2.githubusercontent.com/u/204985?v=4","gravatar_id":"","url":"https://api.github.com/users/pwil3058","html_url":"https://github.com/pwil3058","followers_url":"https://api.github.com/users/pwil3058/followers","following_url":"https://api.github.com/users/pwil3058/following{/other_user}","gists_url":"https://api.github.com/users/pwil3058/gists{/gist_id}","starred_url":"https://api.github.com/users/pwil3058/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwil3058/subscriptions","organizations_url":"https://api.github.com/users/pwil3058/orgs","repos_url":"https://api.github.com/users/pwil3058/repos","events_url":"https://api.github.com/users/pwil3058/events{/privacy}","received_events_url":"https://api.github.com/users/pwil3058/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-13T02:04:36Z","updated_at":"2018-04-12T23:33:48Z","closed_at":null,"author_association":"NONE","body":"I'm converting a GTK+ program written in Python into Rust and have experienced a bewildering phenomenon where when I add Pixbus to a cairo context in Rust (using, as close as possible, the same process that I use in Python) whereby it puts a narrow black border around the Pixbuf which it doesn't do in Python.  I've been doing extensive searches of the code to try to find out where this arising without any luck.  Any help on how to kill this phenomenon would be a great help."},"comment":{"url":"https://api.github.com/repos/gtk-rs/gtk/issues/comments/380975322","html_url":"https://github.com/gtk-rs/gtk/issues/626#issuecomment-380975322","issue_url":"https://api.github.com/repos/gtk-rs/gtk/issues/626","id":380975322,"user":{"login":"pwil3058","id":204985,"avatar_url":"https://avatars2.githubusercontent.com/u/204985?v=4","gravatar_id":"","url":"https://api.github.com/users/pwil3058","html_url":"https://github.com/pwil3058","followers_url":"https://api.github.com/users/pwil3058/followers","following_url":"https://api.github.com/users/pwil3058/following{/other_user}","gists_url":"https://api.github.com/users/pwil3058/gists{/gist_id}","starred_url":"https://api.github.com/users/pwil3058/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwil3058/subscriptions","organizations_url":"https://api.github.com/users/pwil3058/orgs","repos_url":"https://api.github.com/users/pwil3058/repos","events_url":"https://api.github.com/users/pwil3058/events{/privacy}","received_events_url":"https://api.github.com/users/pwil3058/received_events","type":"User","site_admin":false},"created_at":"2018-04-12T23:33:48Z","updated_at":"2018-04-12T23:33:48Z","author_association":"NONE","body":"I have two versions (one written in Python and one written in Rust) of a program for mixing/matching paint colours that both use GTK-3 for generating the GUI.  One part of this program allows \"screen samples\" (as PixBufs) to be dropped/pasted into a Drawing Area for comparison with the Drawing Area's background colour.  In the Python version of the program the sample appears exactly as it did/does on the screen but in the Rust version of the program it has a narrow (probably only one pixel) black frame around it.  As far as I can tell the Python code and Rust code are using the same Cairo function which is why I'm mystified.\r\n\r\nThe program is called mcmmtk and is publicly available on github (although the rust parts may not be up to date as they're experimental) as are the Python libraries that it uses via git sub modules.  Two rust crates that it uses (rs_pw_gix and rs_epaint) are currently in private repositories (because interfacses are still in flux) on github.  Is there a way I can give you access without making them public?  If not I'll make them public.\r\n\r\nI should add that my intention is to retire the Python version of this program as I think that distributing the Rust version will be less complicated but the effect of this problem on the program's usability (it's hard to compare colours with a black line separating them) is delaying that action.\r\n\r\nPS when I do the tests I'm dropping exactly the same \"screen sample\" into the two versions of the program from the system clipboard."}}
{"actor":{"display_login":"pwil3058"}}