We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 715488e commit 959a904Copy full SHA for 959a904
com.oracle.truffle.r.ffi.impl/src/com/oracle/truffle/r/ffi/impl/javaGD/SVGImageContainer.java
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
*
5
* This code is free software; you can redistribute it and/or modify it
@@ -67,6 +67,7 @@ public Graphics getGraphics() {
67
protected void resetGraphics() {
68
Document document = domImpl.createDocument(SVG_NS, "svg", null);
69
this.graphics = new SVGGraphics2D(document);
70
+ this.graphics.setSVGCanvasSize(size);
71
defaultInitGraphics(this.graphics);
72
}
73
0 commit comments