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

Strange behaviour when width or height of a drawn rounded rectangle is 0 #112

Merged
merged 1 commit into from
Dec 4, 2015

Conversation

codeprof
Copy link
Contributor

@codeprof codeprof commented Dec 2, 2015

Instead of the rectangle, a triangle with one point at (0,0) is drawn.
Reason is that divide by 0 error is not prevented correctly, resulting in NaN.

Instead of the rectangle, a triangle with one point at (0,0) is drawn.
Reason is that divide by 0 error is not prevented correctly, resulting in NaN.
cameronwhite added a commit that referenced this pull request Dec 4, 2015
Strange behaviour when width or height of a drawn rounded rectangle is 0
@cameronwhite cameronwhite merged commit 83f878b into PintaProject:master Dec 4, 2015
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

Successfully merging this pull request may close these issues.

2 participants