Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

ENH: Non-CG blend modes #7

Open
iccir opened this Issue · 0 comments

1 participant

@iccir
Owner

The following blend mode don't have direct mappings to CGBlendModes:
Layer, Add, Subtract, Invert, Alpha, Erase

Add is close to kCGBlendModePlusLighter, but handles the alpha channel differently.
Invert is close to kCGBlendModeDifference, but draws using all black.

Erase and Alpha may have equivalent Porter-Duff modes.

See:
http://www.kaourantin.net/2005/09/some-word-on-blend-modes-in-flash.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.