get/set and todo notes

This commit is contained in:
benfry
2012-11-26 00:11:18 +00:00
parent 7f00c10dbc
commit 6c7e89c8e9
3 changed files with 17 additions and 10 deletions
@@ -9403,6 +9403,10 @@ public class PApplet extends Activity implements PConstants, Runnable {
* Grab a subsection of a PImage, and copy it into a fresh PImage.
* As of release 0149, no longer honors imageMode() for the coordinates.
*/
/**
* @param w width of pixel rectangle to get
* @param h height of pixel rectangle to get
*/
public PImage get(int x, int y, int w, int h) {
return g.get(x, y, w, h);
}
@@ -9429,8 +9433,8 @@ public class PApplet extends Activity implements PConstants, Runnable {
* No variations are employed, meaning that any scale, tint, or imageMode
* settings will be ignored.
*/
public void set(int x, int y, PImage src) {
g.set(x, y, src);
public void set(int x, int y, PImage img) {
g.set(x, y, img);
}
+4 -4
View File
@@ -41,6 +41,10 @@ X http://code.google.com/p/processing/issues/detail?id=929
o too many temporary objects (particularly w/ color) created with A2D
X http://code.google.com/p/processing/issues/detail?id=213
X no votes after a couple years
X resize() needs to use the android resize stuff
o right now using the rather than expensive copy()
X instead, create a new resized bitmap, and get rid of pixels[]
X http://code.google.com/p/processing/issues/detail?id=239
motion events
o registerMethod("motionEvent") and "mouseEvent" not implemented
@@ -265,10 +269,6 @@ _ implement multiple pointers and multi-touch
_ http://code.google.com/p/processing/issues/detail?id=243
_ Examples > Topics > Effects > Lens uses a ton of memory
_ resize() needs to use the android resize stuff
_ right now using the rather than expensive copy()
_ instead, create a new resized bitmap, and get rid of pixels[]
_ http://code.google.com/p/processing/issues/detail?id=239
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
+7 -4
View File
@@ -50,6 +50,12 @@ X make note for Casey to include this in the reference
X Potential race condition when resizing sketches
X http://code.google.com/p/processing/issues/detail?id=697
X removed mask(int[]).. check reference to make sure it's not in use
X how to handle get(x, y, w, h) when off screen?
X http://code.google.com/p/processing/issues/detail?id=925
A curves aren't rendered seperately when P3D or P2D is specified
A http://code.google.com/p/processing/issues/detail?id=1317
A FBO handling in PGL is not transparent
A http://code.google.com/p/processing/issues/detail?id=1282
andres (cleanup)
A when turning smoothing on, internal lines of shapes are visible
@@ -186,9 +192,6 @@ _ so that it could avoid quitting if the sketch hasn't been stopped
_ or if the sketch window is foremost
_ maybe a hack where a new menubar is added?
_ how to handle get(x, y, w, h) when off screen?
_ http://code.google.com/p/processing/issues/detail?id=925
_ how to handle stroke/fill separation in OpenGL
_ http://code.google.com/p/processing/issues/detail?id=1302
@@ -581,7 +584,7 @@ _ http://code.google.com/p/processing/issues/detail?id=133
_ includes code for a slow but more accurate mode
_ deprecate the blend() function
_ include option for nearest neighbor on resize
_ implement unified means to specify smoothing level for image scaling
_ http://code.google.com/p/processing/issues/detail?id=165
_ blend() and copy() are not pixel accurate for copy/scale
_ http://code.google.com/p/processing/issues/detail?id=285