significant api cleaning and sorting things out for graphics

This commit is contained in:
benfry
2005-02-27 19:42:06 +00:00
parent 17b301afcf
commit 7a351619c6
7 changed files with 439 additions and 400 deletions

View File

@@ -4381,6 +4381,11 @@ v PApplet.this.stop();
}
public void loadPixels() {
g.loadPixels();
}
public void updatePixels() {
g.updatePixels();
}
@@ -4406,11 +4411,6 @@ v PApplet.this.stop();
}
public PImage get() {
return g.get();
}
public void set(int x, int y, int c) {
g.set(x, y, c);
}
@@ -4775,8 +4775,8 @@ v PApplet.this.stop();
public void image(PImage image,
float a, float b, float c, float d) {
g.image(image, a, b, c, d);
float x, float y, float c, float d) {
g.image(image, x, y, c, d);
}
@@ -5272,4 +5272,14 @@ v PApplet.this.stop();
public final float brightness(int what) {
return g.brightness(what);
}
public void mask(int alpha[]) {
g.mask(alpha);
}
public void mask(PImage alpha) {
g.mask(alpha);
}
}