OgreSwamp/ObjFloodFill — pull request #1 by nwoolls (2012-11-05 02:39:26+00:00)
Title: Transparent pixel fixes

Changes to allow the flood fill algorithm to work with transparent pixels - e.g. a blank UIImage with a bounding border. Without these fixes the alpha channel is not evaluated and the flood fill method exits immediately.

* Modified compareColor* methods so they have 1 function - return YES/NO, not mixing returning YES/NO with returning alpha
* Introduced a new method for returning the blending alpha value
* Consider the alpha channel when comparing colors otherwise transparent is considered the same as black