Thanks for mentioning this. I found a nice article about it and generalisation to blend modes here: <a href="http:&#x2F;&#x2F;ssp.impulsetrain.com&#x2F;porterduff.html" rel="nofollow">http:&#x2F;&#x2F;ssp.impulsetrain.com&#x2F;porterduff.html</a>