Is there any way to do Porter and Duff composition in Gideros? In Android there is a library:
http://developer.android.com/reference/android/graphics/PorterDuffColorFilter.htmlThis is a very powerful library that allows some pretty cool things. Do we have anything like this in Gideros?
Comments
Unfortunately, it is very weak, in that it can only multiply existing values.
To do what I want, I would first need set all image values to 255, then use setColorTransform accordingly (on a new bitmap). Then I could draw this bitmap on top of the old one. This would emulate the SRC_ATOP function of Porter Duff filters.
Render to texture could help, here...but just supporting PorterDuff would be much better!