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 checkbounds() #26

Merged
merged 3 commits into from
Jun 4, 2019
Merged

Added checkbounds() #26

merged 3 commits into from
Jun 4, 2019

Conversation

Codyk12
Copy link
Contributor

@Codyk12 Codyk12 commented Jun 3, 2019

Added checkbounds() testing to all draw!() functions as to not throw errors when shapes which are partially in the images are attempted to be drawn.

…errors when shapes which are partially in the images are attempted to be drawn.
@Codyk12 Codyk12 mentioned this pull request Jun 3, 2019
@Codyk12
Copy link
Contributor Author

Codyk12 commented Jun 3, 2019

I believe this functionality could be argued either way. Do we want the path functionality to throw an error or draw what it can on the image? I believe drawing what it could on the image would be beneficial to being able to draw polygons partially on the image.

Copy link
Member

@timholy timholy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of trivial remarks to show I read this. Nice idea, thanks for doing it.

src/paths.jl Outdated Show resolved Hide resolved
src/paths.jl Outdated Show resolved Hide resolved
@timholy timholy merged commit 51602dc into JuliaImages:master Jun 4, 2019
@johnnychen94 johnnychen94 mentioned this pull request Aug 27, 2019
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.

None yet

2 participants