[cairo] separating compositing and blending
cabanier at gmail.com
Sat Oct 20 08:39:55 PDT 2012
the current cairo compositing operators combine blending and compositing
This means that if you do an 'overlay', the result of the 'overlay'
blending formula will always be composited with 'src-over'.
Nikos (from Canon) and I (from Adobe) have a proposed working draft
that allows people to specify blending and compositing in CSS . As
an example, this would allow you to do a 'screen' blend on an HTML
element with a 'src' compositing mode. This separation could also be
extended to canvas.
Looking at the Cairo architecture, it seems that this could be added
by adding an optional blend mode operator to 'set_operator'.
What do people think?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cairo