Skip to content

Commit

Permalink
PDFBOX-4718: revert some of the optimization
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1921342 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
lehmi committed Oct 15, 2024
1 parent fbf4fdc commit 781ced5
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -642,12 +642,6 @@ public Area getCurrentClippingPath()
for (int i = 0; i < clippingPaths.size(); i++)
{
Area nextArea = new Area(clippingPaths.get(i));
// skip rectangular areas as they were already taken into account when calculating the overall bounding box
if (nextArea.isRectangular())
{
nextArea.reset();
continue;
}
clippingArea.intersect(nextArea);
nextArea.reset();
}
Expand Down

0 comments on commit 781ced5

Please sign in to comment.