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

@@ -295,6 +295,14 @@ public class PImage implements PConstants, Cloneable {
*/
/**
* For subclasses where the pixels[] buffer isn't set by default,
* this should copy all data into the pixels[] array
*/
public void loadPixels() {
}
/**
* Mark all pixels as needing update.
*/
@@ -405,6 +413,7 @@ public class PImage implements PConstants, Cloneable {
* Convenience method to avoid an extra cast,
* and the exception handling.
*/
/*
public PImage get() {
try {
return (PImage) clone();
@@ -412,6 +421,7 @@ public class PImage implements PConstants, Cloneable {
return null;
}
}
*/
public void set(int x, int y, int c) {