FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Bug Fixes, Implemented Suggestions
(Moderator: fry)
   pixels area copying
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: pixels area copying  (Read 558 times)
benelek

35160983516098 WWW Email
pixels area copying
« on: Apr 14th, 2003, 3:56pm »

hey, it'd be cool if you could...
 
pixels.copyFrom(2dArray,x1,y1,x2,y2);
 
and maybe even...
 
pixels.copyFrom(2dArray,Ax1,Ay1,Ax2,Ay2,Px1,Py1,Px2,Py2);
-->where Ax, Ay are coordinates in the 2dArray, and Px,Py are coords in the pixels array.
 
i know you can do the same thing with some hot shoe tapping and a bit of for() looping, but it's just not the same... it'd be much more fun if i can copy from a 2d array to a section of the screen so easily.
 
-jacob
 
fry


WWW
Re: pixels area copying
« Reply #1 on: Apr 14th, 2003, 4:56pm »

yup, we've been planning this, it's on the todo.
 
maybe we oughta start posting the todo. hmm..
 
fry


WWW
Re: pixels area copying
« Reply #2 on: Sep 19th, 2003, 5:38am »

finally implemented by toxi, and i've just finished incorporating it for rev 0060.
 
Pages: 1 

« Previous topic | Next topic »