0 Members and 4 Guests are viewing this topic.
this refers to the Porter-Duff compositing mode "Source Over", and if it does not, well, that's a bug because it should.The color and alpha formulae for this mode are:co = αs x Cs + αb x Cb x (1 – αs)αo = αs + αb x (1 – αs)
No, that's not how this works.Multiplying an alpha value of 0.5 to a color value of (1, 0, 0) yields a premultiplied color value of (1, 0, 0, 0.5).
Multiplying an alpha value of 0.5 to a color value of (1, 0, 0) yields a premultiplied color value of (1, 0, 0, 0.5).