We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexSuggestions & BugsWebsite,  Documentation,  Book Bugs › Mistake for blend() in Reference
Page Index Toggle Pages: 1
Mistake for blend() in Reference? (Read 643 times)
Mistake for blend() in Reference?
Feb 16th, 2008, 11:49am
 
Think this might be a mistake. In the reference section, for blend(), this syntax example is posted as:

blend(srcImg, x, y, width, height, dx, dy, dwidth, dheight, MODE)

I think this is reversed, it says that first set of values are the source image's properties (x,y,width,height) and the second set is the destination. I think it's the other way around, or at least that's how I understand it, maybe I read it wrong.

(http://processing.org/reference/blend_.html)
Page Index Toggle Pages: 1