{"action":"created","issue":{"url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/732","labels_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/732/labels{/name}","comments_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/732/comments","events_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/732/events","html_url":"https://github.com/GoodBoyDigital/pixi.js/issues/732","id":32780041,"number":732,"title":"Centred scaling for Graphics class.","user":{"login":"r4jin","id":2969121,"avatar_url":"https://avatars.githubusercontent.com/u/2969121?v=3","gravatar_id":"","url":"https://api.github.com/users/r4jin","html_url":"https://github.com/r4jin","followers_url":"https://api.github.com/users/r4jin/followers","following_url":"https://api.github.com/users/r4jin/following{/other_user}","gists_url":"https://api.github.com/users/r4jin/gists{/gist_id}","starred_url":"https://api.github.com/users/r4jin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r4jin/subscriptions","organizations_url":"https://api.github.com/users/r4jin/orgs","repos_url":"https://api.github.com/users/r4jin/repos","events_url":"https://api.github.com/users/r4jin/events{/privacy}","received_events_url":"https://api.github.com/users/r4jin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2014-05-04T23:16:26Z","updated_at":"2015-01-07T18:08:31Z","closed_at":"2014-06-30T08:52:10Z","body":"Hello GBD, today I found out that PIXI does not support setting origin of scale. \r\n\r\nExample is here \r\nhttp://www.html5rocks.com/en/tutorials/webgl/webgl_transforms/webgl/webgl-2d-geometry-matrix-transform-center-f.html\r\n\r\nis it on the TODO list? if it's not I may try to implement it by giving it a flag variable to indicate whether it's centred or not. but also it'd be great to have not only centre option but also bottom right or more various options for the origin.\r\n\r\nBecause now I have to set the scale of Graphics and calculate its position according to the new scaled size, which consumes CPU resources. "},"comment":{"url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/comments/69064017","html_url":"https://github.com/GoodBoyDigital/pixi.js/issues/732#issuecomment-69064017","issue_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/732","id":69064017,"user":{"login":"Arduinology","id":1086063,"avatar_url":"https://avatars.githubusercontent.com/u/1086063?v=3","gravatar_id":"","url":"https://api.github.com/users/Arduinology","html_url":"https://github.com/Arduinology","followers_url":"https://api.github.com/users/Arduinology/followers","following_url":"https://api.github.com/users/Arduinology/following{/other_user}","gists_url":"https://api.github.com/users/Arduinology/gists{/gist_id}","starred_url":"https://api.github.com/users/Arduinology/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arduinology/subscriptions","organizations_url":"https://api.github.com/users/Arduinology/orgs","repos_url":"https://api.github.com/users/Arduinology/repos","events_url":"https://api.github.com/users/Arduinology/events{/privacy}","received_events_url":"https://api.github.com/users/Arduinology/received_events","type":"User","site_admin":false},"created_at":"2015-01-07T18:08:31Z","updated_at":"2015-01-07T18:08:31Z","body":"@englercj I can agree with that, we need origin (what I have come to know as anchor is not what Pixi calls anchor). I already +1'd your proposal yesterday and modified anchor to origin today. So what should I do in the mean time, what is the solution for origin? Do we have any viable workarounds?"}}