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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relative values in path commands #52

Open
partynikko opened this issue Jun 6, 2019 · 2 comments
Open

Relative values in path commands #52

partynikko opened this issue Jun 6, 2019 · 2 comments
Labels
feature request New feature or request

Comments

@partynikko
Copy link

Hi 馃憢
First of all thanks for an awesome library. Really like it so far!

I wonder if there are any plans on implementing functionality to work with relative values as well as absolute? Support both uppercase and lowercase of the canvas path commands, that is.

Thanks
BR

@desandro
Copy link
Member

desandro commented Jun 6, 2019

Add a 馃憤 reaction to this issue if you would like to see this feature added.

Yeah, this could be a nice feature. Currently path commands all use absolute values. And if you want to adjust a value it means re-calculating all the others.

@desandro desandro changed the title Support for relative values? Relative values in path commands Jun 6, 2019
@desandro desandro added the feature request New feature or request label Jun 6, 2019
@partynikko
Copy link
Author

partynikko commented Jun 6, 2019

Yes, I noticed 馃榿. It can be done by each developer but it will be extremely cumbersome to calculate it.

How would we like the approach? Have a relative boolean for each path command? With false as default.

I'd happily look into it an make a PR if the feature is wanted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Development

No branches or pull requests

2 participants