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

Improve support for components with affine transforms #88

Open
4 tasks
sudara opened this issue Sep 14, 2023 · 0 comments
Open
4 tasks

Improve support for components with affine transforms #88

sudara opened this issue Sep 14, 2023 · 0 comments

Comments

@sudara
Copy link
Owner

sudara commented Sep 14, 2023

Right now, we ignore them.

The overlay bounding box doesn't take them into account.

And worse, the model's valueChanged method actually strips the transform when setting left/top values, to prevent some endless feedback of values changing.

  • Updated bounding box to take into account component's transform
  • Draw dotted bounding box where non-transformed bounds are
  • Show the transform in properties
  • Ensure updating x/y respects existing transform

For the latter, I think we need to display if it's isIdentity, the translation x/y, if it's translation only, the scale factor as determined by std::sqrt (std::abs (AffineTransform::getDeterminant()))

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

No branches or pull requests

1 participant