Hi,
In 4.4.9-Jul07:
Trimming a Circle or Ellipse cutout or graphic (others untested) causes the bounding box of the resulting object to be the wrong size: there is extra space on the left.
This is undesirable because the centroid of the bounding box is not in the middle of the resulting element.
It seems to only happen when the left edge of the resulting object is the actual side of the original circle, not a newly created vertex.
See:
Regards,
--Jonathan
Bug Report: Trimming circle or ellipse causes oversize box
Moderators: cduffney, akirk, mpyne, mrodden
Bug Report: Trimming circle or ellipse causes oversize box
- Attachments
-
- trim-demo.pda
- (153.67 KiB) Downloaded 1612 times
--Jonathan
Re: Bug Report: Trimming circle or ellipse causes oversize box
Hello Jonathan,
This one is interesting... We are using Java.awt.GeneralPath internally for our objects that are made up of segments. We simply call the getBounds2D() of this Java object, so this error is internal to Java.awt so we will have to make our own bounding algorithms to fix this. We probably will not get to this right away. If it is causing you serious trouble, please let me know.
Sincerely,
This one is interesting... We are using Java.awt.GeneralPath internally for our objects that are made up of segments. We simply call the getBounds2D() of this Java object, so this error is internal to Java.awt so we will have to make our own bounding algorithms to fix this. We probably will not get to this right away. If it is causing you serious trouble, please let me know.
Sincerely,
--Douglas Ronne
Lead Developer
Lead Developer