add code for toggling display of non-screen renderers

This commit is contained in:
benfry
2006-01-30 16:28:37 +00:00
parent f20516a649
commit d08dd23e0c
3 changed files with 28 additions and 8 deletions

View File

@@ -3578,6 +3578,17 @@ public class PGraphics extends PImage implements PConstants {
}
/**
* Return true if this renderer should be drawn to the screen.
* Overridden for subclasses like PDF so that an enormous window
* doesn't open up.
* showFrame, displayable, isVisible, visible, shouldDisplay,
* what to call this?
*/
public boolean displayable() {
return true;
}
//public void beginRaw() { // ignore
//beginFrame();
//}