new fixes and changes for 0080.

This commit is contained in:
benfry
2005-04-01 04:02:04 +00:00
parent 5b5e8a734d
commit 91bbf75291
14 changed files with 899 additions and 815 deletions

View File

@@ -163,6 +163,12 @@ public interface PMethods {
//
public void textAlign(int alignment);
public float textAscent();
public float textDescent();
public void textFont(PFont which);
public void textFont(PFont which, float size);
@@ -173,12 +179,6 @@ public interface PMethods {
public void textMode(int mode);
public void textSpace(int space);
public float textAscent();
public float textDescent();
public float textWidth(char c);
public float textWidth(String s);
@@ -429,6 +429,8 @@ public interface PMethods {
public void set(int x, int y, int argb);
public void set(int x, int y, PImage image);
//
public void mask(int alpha[]);
@@ -441,7 +443,7 @@ public interface PMethods {
//
public void copy(PImage src, int dx, int dy);
//public void copy(PImage src, int dx, int dy); // set instead
public void copy(int sx1, int sy1, int sx2, int sy2,
int dx1, int dy1, int dx2, int dy2);
@@ -450,6 +452,8 @@ public interface PMethods {
int sx1, int sy1, int sx2, int sy2,
int dx1, int dy1, int dx2, int dy2);
//
public void blend(int sx, int sy, int dx, int dy, int mode);
public void blend(PImage src,
@@ -465,14 +469,14 @@ public interface PMethods {
//
/*
// WOULD LIKE A NICER NAME
static public boolean saveHeaderTIF(OutputStream output,
int width, int height);
// WOULD LIKE TO THINK OF NICER NAMES FOR ALL THESE
static public boolean saveTIF(OutputStream output, int pixels[],
int width, int height);
static public boolean saveHeaderTIFF(OutputStream output,
int width, int height);
static public boolean saveTIFF(OutputStream output, int pixels[],
int width, int height);
// WOULD LIKE A NICER NAME
static public boolean saveHeaderTGA(OutputStream output,
int width, int height);