mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
working on finishing up libs
This commit is contained in:
@@ -118,7 +118,7 @@ public class PImage implements PConstants, Cloneable {
|
||||
* alpha is zero, it will be transparent.
|
||||
*/
|
||||
public PImage(int width, int height) {
|
||||
setup(width, height, RGB);
|
||||
init(width, height, RGB);
|
||||
//this(new int[width * height], width, height, RGBA);
|
||||
// toxi: is it maybe better to init the image with max alpha enabled?
|
||||
//for(int i=0; i<pixels.length; i++) pixels[i]=0xffffffff;
|
||||
@@ -143,7 +143,7 @@ public class PImage implements PConstants, Cloneable {
|
||||
/**
|
||||
* Function to be used by subclasses to setup their own bidness.
|
||||
*/
|
||||
public void setup(int width, int height, int format) { // ignore
|
||||
public void init(int width, int height, int format) { // ignore
|
||||
this.width = width;
|
||||
this.height = height;
|
||||
this.pixels = new int[width*height];
|
||||
|
||||
@@ -204,6 +204,12 @@ X beginCamera() no longer sets an identity matrix
|
||||
X make savePath() and createPath() accessible to the outside world
|
||||
X useful for libraries saving files etc.
|
||||
|
||||
|
||||
............................................................
|
||||
|
||||
|
||||
0071 or later (but high priority)
|
||||
|
||||
_ before graphics engine change, attach jogl stuff?
|
||||
_ massive graphics engine changes
|
||||
_ explicitly state depth()/nodepth()
|
||||
@@ -235,12 +241,6 @@ _ better lighting model to show darkness at various depths
|
||||
_ maybe just ultra-high res bitmaps from gl
|
||||
_ version of BApplet that replaces g. with ai. or pdf.
|
||||
|
||||
|
||||
............................................................
|
||||
|
||||
|
||||
0071 or later (but high priority)
|
||||
|
||||
_ figure out how to handle cached images, multiple images
|
||||
_ MediaTracker blocking is prolly making jar download really slow
|
||||
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1089914280;start=0
|
||||
|
||||
Reference in New Issue
Block a user