Skip to content

Commit

Permalink
BUG PdfGraphics2D: fixed StackOverflowError by calling
Browse files Browse the repository at this point in the history
PdfGraphics2D#translate(int,int) method (since
f73467c commit).
  • Loading branch information
Vladislav Fuks authored and asturio committed Jan 15, 2020
1 parent 2667409 commit 7de53cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ public RenderingHints getRenderingHints() {
* @see Graphics#translate(int, int)
*/
public void translate(int x, int y) {
translate(x, y);
translate((double)x, (double)y);
}

/**
Expand Down

0 comments on commit 7de53cc

Please sign in to comment.