trying... to... simplify.

This commit is contained in:
Ben Fry
2015-04-20 22:44:54 -07:00
parent 48b3bdf0a9
commit f49f7104bd
9 changed files with 591 additions and 372 deletions

View File

@@ -100,6 +100,13 @@ public class PGraphicsPDF extends PGraphicsJava2D {
}
@Override
public PSurface createSurface() {
return surface = new PSurfaceBasic();
}
@Override
protected void defaultSettings() { // ignore
super.defaultSettings();
textMode = SHAPE;
@@ -141,7 +148,7 @@ public class PGraphicsPDF extends PGraphicsJava2D {
// g2 = template.createGraphics(width, height, mapper);
}
// System.out.println("beginDraw " + (System.currentTimeMillis() - t0));
// super in Java2D now creates an image buffer, don't do that
// super.beginDraw();
checkSettings();