begin/endFrame become begin/endDraw.. new DXF constant.. --hide-stop param.. fix for array methods to use any kind of objects

This commit is contained in:
benfry
2006-05-11 13:52:30 +00:00
parent 44171e8967
commit 0f3930ea95
13 changed files with 296 additions and 204 deletions

View File

@@ -117,7 +117,7 @@ public class PGraphics2 extends PGraphics {
// turn off mis.newPixels
public void endFrame() {
public void endDraw() {
// moving this back here (post-68) because of macosx thread problem
//mis.newPixels(pixels, cm, 0, width);
@@ -929,8 +929,13 @@ public class PGraphics2 extends PGraphics {
public void clear() {
// in case people do transformations before background(),
// need to handle this with a push/reset/pop
pushMatrix();
resetMatrix();
g2.setColor(new Color(backgroundColor));
g2.fillRect(0, 0, width, height);
popMatrix();
}