W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2007

[whatwg] Canvas - globalCompositeOperation

From: Vladimir Vukicevic <vladimir@pobox.com>
Date: Wed, 04 Apr 2007 00:07:11 -0700
Message-ID: <46134E9F.2000009@pobox.com>
Philip Taylor wrote:
 > [...]

Cool stuff!  I'll look through your tests and fix up the mozilla 
implementation as much as possible.

> I would be happy if "darker" was removed from the spec - there isn't
> an obvious definition for it, and it's not interoperably implemented
> at all and it sounds like it never will be. Existing implementations
> can add "apple-plusdarker", "moz-saturate", etc, if they still want to
> provide the old functionality.

I'd be happy with getting rid of it.

> "lighter" seems much easier to define, and more useful, so I think
> it's perhaps worth keeping - but it looks like a pain for those using
> Qt/Java/etc libraries which don't support anything other than the
> standard Porter-Duff operators, and I don't know if it's a difficulty
> for Opera to fix their implementation of it. Does anyone have views on
> this or on "darker"?

Well, if we have lighter, we should keep darker; I think that for 
mozilla at least, we can implement this using some slow-boat fallback 
mechanism -- basically, render the path/image to a separate surface, 
then manually do the requested math if things don't map directly to one 
of our operators; this is what our SVG impl does now for many of the SVG 
filters.

     - Vlad
Received on Wednesday, 4 April 2007 00:07:11 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:54 UTC