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

Use floating point coordinates #1

Open
arturadib opened this issue Jan 23, 2012 · 0 comments
Open

Use floating point coordinates #1

arturadib opened this issue Jan 23, 2012 · 0 comments

Comments

@arturadib
Copy link
Owner

We should use QPointF and QRectF instead of integer coordinates (x,y,w,h, etc) throughout 2d context, as the spec requires (double precision) floating point numbers for all coordinates:

http://dev.w3.org/html5/2dcontext/#conformance-requirements

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

No branches or pull requests

1 participant