pdf stuff really starting to work

This commit is contained in:
benfry
2006-01-12 05:10:27 +00:00
parent 11be1683cc
commit 7c12eba22a
6 changed files with 196 additions and 60 deletions

View File

@@ -3533,8 +3533,34 @@ public class PGraphics extends PImage implements PConstants {
//////////////////////////////////////////////////////////////
public void recordRaw(PGraphics recorderRaw) {
throw new RuntimeException("recordRaw() not supported " +
"by this renderer.");
public void beginRecord() { // ignore
beginFrame(); // default is just to open the frame
}
public void endRecord() { // ignore
endFrame();
}
public void beginRaw(PGraphics recorderRaw) {
this.recorderRaw = recorderRaw;
recorderRaw.beginFrame();
}
public void endRaw() {
if (recorderRaw != null) {
recorderRaw.endFrame();
recorderRaw = null;
}
}
//public void beginRaw() { // ignore
//beginFrame();
//}
//public void endRaw() { // ignore
//endFrame();
//}
}