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

Incorrect bounding box for "translations" and "rigid" transformation types #493

Closed
Marian-Braendle opened this issue Jan 21, 2024 · 2 comments

Comments

@Marian-Braendle
Copy link

Hello again :)

I noticed that the bounding box of objects that have a restricted transformation type ("translations" or "rigid") are sometimes not computed correctly:

  • if objects that have "translations" type are rotated
  • if objects that have "rigid" type are scaled

Text and references are not affected.

Peek 2024-01-21 14-16

I have created a test file that you can open in Ipe where you can observe the incorrect bounding box in different scenarios:
bbox_test.pdf

@Marian-Braendle
Copy link
Author

Maybe as a hint: for my Lasso Selection Tool I "corrected" the transformation matrices for each object: https://github.com/Marian-Braendle/ipe-lassotool/blob/90e3eae9ce98856aff49a416fcc3dd07fefcc04e/lassotool.lua#L224

@otfried
Copy link
Owner

otfried commented May 25, 2024

This has been broken since the very beginning of Ipe 7, thank you for getting me to finally confront this.

Fixed in 7.2.29.

And also thanks for your two nice ipelets!

@otfried otfried closed this as completed May 25, 2024
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

2 participants