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

Handle transform attribute #43

Open
sprocketc opened this issue Mar 22, 2022 · 0 comments
Open

Handle transform attribute #43

sprocketc opened this issue Mar 22, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@sprocketc
Copy link
Member

sprocketc commented Mar 22, 2022

This is probably going to be the trickiest element attribute.
We need to automatically update it in order to rotate our elements, but we also need to allow manual editing in order to remain consistent with one of the main goals of this project.

Changing this attribute would also affect the bounds of the element and the behavior of the element when we translate or scale it.

We need to parse its value and and apply any transformations to the parsed attributes.
Converting the existing transformation to a matrix might be a good idea in order to apply our transformation to it, but we will the have to switch back to the other transform functions (translate, scale, rotate) if we want to maintain its readability.

MDN docs

@sprocketc sprocketc self-assigned this Mar 22, 2022
@sprocketc sprocketc added the enhancement New feature or request label Mar 22, 2022
@sprocketc sprocketc added this to the Prototype milestone Mar 22, 2022
@sprocketc sprocketc removed this from the Prototype milestone Oct 30, 2023
@sprocketc sprocketc moved this to In Progress in Repath Studio Aug 9, 2024
@sprocketc sprocketc added this to the Beta milestone Oct 11, 2024
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
Status: In Progress
Development

No branches or pull requests

1 participant