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

Should component have an origin option ? #15

Closed
GMartigny opened this issue Apr 21, 2018 · 0 comments
Closed

Should component have an origin option ? #15

GMartigny opened this issue Apr 21, 2018 · 0 comments
Labels
🙏 help wanted Extra attention is needed ❓ question You just want some explanation

Comments

@GMartigny
Copy link
Member

At the beginning, I wanted to change the "position" of rectangle. For example, the user could specify the bottom-right corner as origin.

Then, I wonder about allowing this behavior for all components. But it gets confusing really fast and moreover broke rotations.

Should Pencil.js have an origin option on Component to move the shape drawing relative to its position ?

How is it suppose to interact with rotations and rotation anchor ?

@GMartigny GMartigny added 🙏 help wanted Extra attention is needed ❓ question You just want some explanation labels Apr 21, 2018
@GMartigny GMartigny changed the title Should component have an origin ? Should component have an origin option ? Apr 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🙏 help wanted Extra attention is needed ❓ question You just want some explanation
Projects
None yet
Development

No branches or pull requests

1 participant