gnujpdf library

pdf clipping fix
This commit is contained in:
Jindra Petřík
2021-03-17 10:04:31 +01:00
parent 607d8521b4
commit 61c40ae52c
8 changed files with 204 additions and 150 deletions

View File

@@ -325,9 +325,6 @@ public class DualGraphics2D extends Graphics2D {
@Override
public void setClip(Shape clip) {
first.setClip(clip);
if (clip == null) {
clip = new Rectangle2D.Double(0, 0, Integer.MAX_VALUE, Integer.MAX_VALUE); //?
}
second.setClip(clip);
}