Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reason behind location of 0,0,0? #16

Open
waveletlet opened this issue Apr 12, 2019 · 1 comment
Open

Reason behind location of 0,0,0? #16

waveletlet opened this issue Apr 12, 2019 · 1 comment

Comments

@waveletlet
Copy link

I know this project is discontinued, I'm working through it to try to figure out graphics in gomobile and thinking about writing a UI package based on it. From a design standpoint, was there any particular reason you decided to make the lower left corner 0,0,0, rather than the upper left? It makes it a bit confusing when translating the Y coordinate from a touch.Event

@dskinner
Copy link
Owner

I realize this is two years later, but as I recall the material design guidelines called for it. Eventually, touch events would have been replaced with something that sits in front of them (and in fact, I wrote such over in my dskinner/x package some time ago). For the end developer though, material design defined the orientation as such and I was simply implementing it as it was stated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants