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

Thickness and In Bounds check - keyword args #31

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

Codyk12
Copy link
Contributor

@Codyk12 Codyk12 commented Jun 25, 2019

Added the ability to draw lines with a thickness

Copy link
Member

@johnnychen94 johnnychen94 left a comment

Choose a reason for hiding this comment

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

I like the idea here and it's a nice job; there's nothing much I can comment.

Can you add some tests to this new thickness keywords?

And don't forget to delete the .DS_Store file you uploaded 😄

src/circle2d.jl Outdated Show resolved Hide resolved
src/core.jl Outdated Show resolved Hide resolved
src/core.jl Outdated Show resolved Hide resolved
src/cross.jl Outdated Show resolved Hide resolved
@johnnychen94
Copy link
Member

To fix CI error on 1.0:

# src/compat.jl
if v"1.0" <= VERSION < v"1.1"
    isnothing(x) = x===nothing
end

@Codyk12 Codyk12 changed the title Thickness Thickness and In Bounds check Aug 27, 2019
@Codyk12 Codyk12 changed the title Thickness and In Bounds check Thickness and In Bounds check - keyword args Aug 27, 2019
Copy link
Member

@johnnychen94 johnnychen94 left a comment

Choose a reason for hiding this comment

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

Thank you for your hard work, I'm getting to understand the code logic here :D

src/core.jl Outdated Show resolved Hide resolved
src/core.jl Show resolved Hide resolved
test/core.jl Show resolved Hide resolved
test/line2d.jl Outdated Show resolved Hide resolved
src/core.jl Outdated Show resolved Hide resolved
Copy link
Member

@johnnychen94 johnnychen94 left a comment

Choose a reason for hiding this comment

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

Since #29 is a subset of this PR, I think it doesn't need to be merged?


Overlays an image on an larger image. (x, y) is the center for placing the image
"""
struct ImageMap <: Drawable
Copy link
Member

Choose a reason for hiding this comment

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

What's the usage of this? I can't find anywhere this struct is used in your PR.

@jiviteshjain jiviteshjain mentioned this pull request Jul 23, 2020
@agarret7
Copy link

agarret7 commented Aug 7, 2020

Are there any plans for merging this soon? My use case relies on thickness of lines and otherwise I'll have to fallback to using PIL with PyCall.

@johnnychen94
Copy link
Member

We need to merge #29 first and rebase this PR on the top of that

I'll see if that one is good to merge.

@Codyk12
Copy link
Contributor Author

Codyk12 commented Aug 7, 2020

Unfortunately, this library doesn't have the biggest community supporting it, so we decided to try to use another drawing library to use in the library we're making, hopefully, these features get put merged in soon though.

@ashwanirathee
Copy link
Member

@Codyk12 can I give it a go?I think I can do it in a more simplified way with RectanglePoints #52

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.

4 participants