{"action":"created","issue":{"url":"https://api.github.com/repos/mitchmindtree/elmesque/issues/38","labels_url":"https://api.github.com/repos/mitchmindtree/elmesque/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/mitchmindtree/elmesque/issues/38/comments","events_url":"https://api.github.com/repos/mitchmindtree/elmesque/issues/38/events","html_url":"https://github.com/mitchmindtree/elmesque/issues/38","id":104479729,"number":38,"title":"Force text position to round to the nearest integer before drawing.","user":{"login":"mitchmindtree","id":4587373,"avatar_url":"https://avatars.githubusercontent.com/u/4587373?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchmindtree","html_url":"https://github.com/mitchmindtree","followers_url":"https://api.github.com/users/mitchmindtree/followers","following_url":"https://api.github.com/users/mitchmindtree/following{/other_user}","gists_url":"https://api.github.com/users/mitchmindtree/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchmindtree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchmindtree/subscriptions","organizations_url":"https://api.github.com/users/mitchmindtree/orgs","repos_url":"https://api.github.com/users/mitchmindtree/repos","events_url":"https://api.github.com/users/mitchmindtree/events{/privacy}","received_events_url":"https://api.github.com/users/mitchmindtree/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-02T13:21:52Z","updated_at":"2015-09-02T13:27:42Z","closed_at":null,"body":"If text is placed at a fractional position (i.e. `[30.3, 20.5]` instead of [30.0, 20.0]) it causes artefacts to appear and a slight warping when drawn.\r\n\r\n@bvssvni is there maybe a way we can \"round\" or \"floor\" the transform position to the nearest whole number position just before drawing text (perhaps somewhere around [here](https://github.com/mitchmindtree/elmesque/blob/master/src/form.rs#L499))?\r\n\r\nNormally i've been avoiding this by making sure that whenever I `.shift` a text `Form` I use `.floor`ed or `.round`ed values, however this becomes too hard to keep track of when shifting groups of groups of `Form`s for example. It would be nice if the user didn't have to think about it and the backend handled it automatically."},"comment":{"url":"https://api.github.com/repos/mitchmindtree/elmesque/issues/comments/137078670","html_url":"https://github.com/mitchmindtree/elmesque/issues/38#issuecomment-137078670","issue_url":"https://api.github.com/repos/mitchmindtree/elmesque/issues/38","id":137078670,"user":{"login":"bvssvni","id":1743862,"avatar_url":"https://avatars.githubusercontent.com/u/1743862?v=3","gravatar_id":"","url":"https://api.github.com/users/bvssvni","html_url":"https://github.com/bvssvni","followers_url":"https://api.github.com/users/bvssvni/followers","following_url":"https://api.github.com/users/bvssvni/following{/other_user}","gists_url":"https://api.github.com/users/bvssvni/gists{/gist_id}","starred_url":"https://api.github.com/users/bvssvni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvssvni/subscriptions","organizations_url":"https://api.github.com/users/bvssvni/orgs","repos_url":"https://api.github.com/users/bvssvni/repos","events_url":"https://api.github.com/users/bvssvni/events{/privacy}","received_events_url":"https://api.github.com/users/bvssvni/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T13:27:42Z","updated_at":"2015-09-02T13:27:42Z","body":"I opened https://github.com/PistonDevelopers/graphics/issues/998"}}