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

Change floating point numbers to integers for position or line width data in draw commands #218

Open
BigETI opened this issue Feb 21, 2021 · 0 comments
Labels

Comments

@BigETI
Copy link
Member

BigETI commented Feb 21, 2021

Right now the API allows for sending floating point numbers as position data or line width in draw commands. The problem here is that conversion between a floating point number to string and back could cause having a different floating point numbers at the other end. This could cause de-synchronization between clients on how they should draw images on their drawing boards.

@BigETI BigETI changed the title Change floating point numbers to integers for position and line width data in draw commands Change floating point numbers to integers for position or line width data in draw commands Feb 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants