-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
[Bug]: BBox not properly calculated #186
Comments
Arg. That seems accurate. The arcs are weird when you apply a sheer to them they get wonky. I think there's a somewhat deep bug in the that sort of thing that I've glossed over for a year now where it technically fails one of the WC3 tests. |
I suspect that if this was a raster element, the raster might be limited by the bbox and bits would not be burned. |
Yeah, you'd actually have to figure out a way to sheer the designs to trigger the bug. Which isn't something most people would figure out how to do since there's not something instantly naively in there. Except for jp's code there. |
|
The coords-trans-08-t.svg test also fails since it uses sheered arcs. The problem might actually be somewhat fundamental within svgelements. I've never tracked it down. |
I suspect that it's fundamental to the calculations. However I suspect that the math had probably already been done by someone in open source code somewhere... |
Agree, you don't need skew for it, try:
BTW as you can see in the screenshot, the item manipulation code is nearly ported to 0.8... |
Wow - that is crazy broken. |
Hm.
Yeah, okay, does not require skew. |
I think this might be related and I will try to create a test if not. We have found instances where circle or rect elements have a rotation applied to them and they are parsed to be more than 2x times bigger and in the wrong location. |
Summary Description
After applying a matrix command the bounding box for the resulting shape is not properly calculated.
Additional Details
Steps to reproduce:
This is true for Meerk40t 0.7 legacy:
As well for Meerk40t 0.8:
Crash logs
No response
MeerK40t Version
meerk40t 0.8 / 0.7legacy
MeerK40t Type
Source (zip/tar file from Github)
Your Operating System
Windows
The text was updated successfully, but these errors were encountered: