mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 17:40:48 +01:00
new fixes and changes for 0080.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user