Skip to content

Line constrain in xy ratio #201

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

Closed
Kinwailo opened this issue Apr 15, 2020 · 8 comments
Closed

Line constrain in xy ratio #201

Kinwailo opened this issue Apr 15, 2020 · 8 comments
Labels
enhancement New feature or request

Comments

@Kinwailo
Copy link
Contributor

Draw straight lines with constrain in 2:1, 1:1, 1:2 etc

@novhack
Copy link
Contributor

novhack commented Apr 15, 2020

Could you please describe this feature request in a little more detail?
It's already possible to draw a straight line constrained to 15 degree increments by holding Shift + Ctrl and I'm not really sure what you are suggesting.

@Kinwailo
Copy link
Contributor Author

A straight line constrained to 15 degree is draw as 4-4-3-4-4-3...
But in pixel art, we usually want a line draw as 2-2-2-2 or 3-3-3-3.

@novhack
Copy link
Contributor

novhack commented Apr 15, 2020

Oh, I think I get it now. You mean lines like these, right?
ddd

@Kinwailo
Copy link
Contributor Author

Exactly.

@OverloadedOrama OverloadedOrama added the enhancement New feature or request label Apr 15, 2020
@OverloadedOrama
Copy link
Member

If we added an option in the Preferences to let the user change the the degree increment value, will it solve this issue?

@novhack
Copy link
Contributor

novhack commented Apr 15, 2020

2:1 is 26 degrees, 1:1 is 45 degrees and 1:2 is 74 degrees. Letting user chose an increment would not solve the issue. It would be better to have just two options in preferences:

  • 15 degree mode
  • 2:1, 1:1, 1:2 mode

For comparison Aseprite and Pyxel Edit only constrain lines in 2:1, 1:1, 1:2 so I would rather default to it to not confuse new users.

@OverloadedOrama
Copy link
Member

OverloadedOrama commented Apr 15, 2020

Would something like this work?

image

Edit: It wouldn't work, I misunderstood

@OverloadedOrama
Copy link
Member

This is resolved in #281 right? Should we close the issue then?

@Kinwailo Kinwailo closed this as completed Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants