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

Clipping does not correctly set bounding box if objects in the group are outside the clipped area #265

Closed
jonasc opened this issue Oct 9, 2019 · 1 comment

Comments

@jonasc
Copy link

commented Oct 9, 2019

When clipping a group of objects where the objects are outside of the clipped path the bounding box is bigger than it should be, i.e., bigger than the bounding box.

See the attached file where the first page shows the drawing (all circles are in one group) together with the orange rectangle which will be the clipping path. The second picture than shows the same drawing but with the clipping applied to the group. For reference the clipped path is extracted and shown in green.

The third and fourth page show that this does not happen if the clipping contains all objects (partially).

The fifth and sixth page strengthen my intuition that somehow the bounding box extends until before the "left out" object starts, this can also be observed in the first two pages.

ipe-clipping.pdf

@otfried otfried self-assigned this Oct 13, 2019
@otfried

This comment has been minimized.

Copy link
Owner

commented Oct 13, 2019

Clipping a path did not work when the path lies completely outside the clipping rectangle.

Fixed in 7.2.14.

@otfried otfried closed this Oct 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.