When move a rect from the right side to the left and the rect goes below x0, the top and bottom lines are redrawn to the left of the screen.
jpliew opened this issue · 4 comments
Hi,
I want to report a small bug in the microview API.
When I move a rect from the right side to the left and the rect goes below x0, the top and bottom lines are redrawn to the left of the screen.
You can see the bug in action here:
https://codebender.cc/sketch:40168
Best regards,
Maarten Cammaert
Thx for submitting my issue.
Made a mistake in my comment. It should be, the lines are redrawn to the right side of the screen.
I think it is the parameters that is unsigned , so passing a negative number will cause the variable to wrap to positive number.
Sent from Yahoo!7 Mail on Android
I relooked at this issue again and I am not sure if we want to support drawing beyond the screen. Maybe let a few more backers to decide before making changes, as the changes requires changing all the uint8_t variables that we use, and we will then also need to decide how far should the library need to support beyond the screen to determine the variable int8 or int16 or int32.
I'd leave it to the user to ensure not to pass boundaries, would only make the library slower. Make sure it's documented though.