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

Added drawpixels.line() #1

Merged
merged 7 commits into from
Jun 13, 2018
Merged

Added drawpixels.line() #1

merged 7 commits into from
Jun 13, 2018

Conversation

britzl
Copy link
Collaborator

@britzl britzl commented Jun 13, 2018

No description provided.

xytoi will clamp to borders which can result in graphical artifacts if the thing you're drawing goes outside any edge of the buffer.
Passing in negative values and converting to uint can have very weird results
Passing in a negative value for diameter and converting to uint would result in a freeze (or maybe just a while loop that takes a very long time to finish)
Also note that draw_circle() used radius while filled_circle() used diameter
@AGulev AGulev merged commit afcb770 into AGulev:master Jun 13, 2018
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