We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b4c8a3 commit 64c8f81Copy full SHA for 64c8f81
java/libraries/pdf/src/processing/pdf/PGraphicsPDF.java
@@ -144,7 +144,12 @@ public void beginDraw() {
144
// g2 = template.createGraphics(width, height, mapper);
145
}
146
// System.out.println("beginDraw " + (System.currentTimeMillis() - t0));
147
- super.beginDraw();
+
148
+ // super in Java2D now creates an image buffer, don't do that
149
+// super.beginDraw();
150
+ checkSettings();
151
+ resetMatrix(); // reset model matrix
152
+ vertexCount = 0;
153
154
// Also need to push the matrix since the matrix doesn't reset on each run
155
// http://dev.processing.org/bugs/show_bug.cgi?id=1227
0 commit comments