{"action":"created","issue":{"url":"https://api.github.com/repos/dcjones/Compose.jl/issues/131","labels_url":"https://api.github.com/repos/dcjones/Compose.jl/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/dcjones/Compose.jl/issues/131/comments","events_url":"https://api.github.com/repos/dcjones/Compose.jl/issues/131/events","html_url":"https://github.com/dcjones/Compose.jl/pull/131","id":96114574,"number":131,"title":"WIP: Replaces compose measures with Measures.jl","user":{"login":"dcjones","id":210361,"avatar_url":"https://avatars.githubusercontent.com/u/210361?v=3","gravatar_id":"","url":"https://api.github.com/users/dcjones","html_url":"https://github.com/dcjones","followers_url":"https://api.github.com/users/dcjones/followers","following_url":"https://api.github.com/users/dcjones/following{/other_user}","gists_url":"https://api.github.com/users/dcjones/gists{/gist_id}","starred_url":"https://api.github.com/users/dcjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcjones/subscriptions","organizations_url":"https://api.github.com/users/dcjones/orgs","repos_url":"https://api.github.com/users/dcjones/repos","events_url":"https://api.github.com/users/dcjones/events{/privacy}","received_events_url":"https://api.github.com/users/dcjones/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-20T17:22:32Z","updated_at":"2015-07-21T02:13:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dcjones/Compose.jl/pulls/131","html_url":"https://github.com/dcjones/Compose.jl/pull/131","diff_url":"https://github.com/dcjones/Compose.jl/pull/131.diff","patch_url":"https://github.com/dcjones/Compose.jl/pull/131.patch"},"body":"We're switching Compose to a new and improved measures system that lives in [Measures.jl](https://github.com/dcjones/Measures.jl).\r\n\r\nI think all that remains to do is update the pgf backend, document Measures.jl a little, and put it in METADATA.\r\n\r\n@darwindarak If you want to take a crack at this, it would be welcomed, otherwise I can handle it.\r\n\r\nThe important changes:\r\n  * Points are now tuples. So instances of `point.x.abs` and `point.y.abs` need to be replaced with `point[1].value` and `point[2].value`, respectively. And points are constructed like `(x, y)` instead of `Point(x, y)`.\r\n  * Bounding boxes are generalized to n dimensions. `box.x0`, `box.y0` becomes `box.x0[1]`, `box.x0[2]`, respectively. And `box.width`, `box.height` becomes `box.a[1]`, `box.a[2]` respectively.\r\n  * There's no longer a `Measure(...)` constructor, so these should be generally be constructed by multiplication like `value*mm` or `value*cx`."},"comment":{"url":"https://api.github.com/repos/dcjones/Compose.jl/issues/comments/123129407","html_url":"https://github.com/dcjones/Compose.jl/pull/131#issuecomment-123129407","issue_url":"https://api.github.com/repos/dcjones/Compose.jl/issues/131","id":123129407,"user":{"login":"darwindarak","id":7328215,"avatar_url":"https://avatars.githubusercontent.com/u/7328215?v=3","gravatar_id":"","url":"https://api.github.com/users/darwindarak","html_url":"https://github.com/darwindarak","followers_url":"https://api.github.com/users/darwindarak/followers","following_url":"https://api.github.com/users/darwindarak/following{/other_user}","gists_url":"https://api.github.com/users/darwindarak/gists{/gist_id}","starred_url":"https://api.github.com/users/darwindarak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darwindarak/subscriptions","organizations_url":"https://api.github.com/users/darwindarak/orgs","repos_url":"https://api.github.com/users/darwindarak/repos","events_url":"https://api.github.com/users/darwindarak/events{/privacy}","received_events_url":"https://api.github.com/users/darwindarak/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T02:13:13Z","updated_at":"2015-07-21T02:13:13Z","body":"Sure thing, I'll take a look at it tonight"}}