[cairo] CAIRO_OPERATOR_ADD question

S Boucher stbya at yahoo.com
Fri Oct 14 11:34:15 PDT 2011


I'm looking at http://cairographics.org/operators/ for CAIRO_OPERATOR_ADD.

I wonder whether the formulas are written correctly.

My reading of it is:

src: rgba(1, 0, 0, 1)

OPERATOR_ADD
dst: rgba(1, 0, 0, 1)
RESULT: rgba(2,0,0,1).

i.e. the red is 200%.

But that can't fit in a CAIRO_FORMAT_ARGB32


What am I missing?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20111014/efc93dc6/attachment.html>


More information about the cairo mailing list