W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2013

Re: [whatwg] Adding blending to the canvas API

From: Rik Cabanier <cabanier@gmail.com>
Date: Tue, 16 Jul 2013 12:23:29 -0700
Message-ID: <CAGN7qDDVah4BY3jB=b+KJKF5KD9yGFLiePzw4V+4HOF7Tn_j0Q@mail.gmail.com>
To: whatwg@whatwg.org
This feature has landed in both Blink and Firefox.
Firefox shipped it somewhere around February while Blink will have it in
the next major release of Chrome.

Can this be added to the WhatWG canvas spec?

On Wed, Apr 11, 2012 at 3:59 PM, Rik Cabanier <cabanier@gmail.com> wrote:

> All,
> I'm working on a spec to add blending and compositing through simple CSS
> keywords. It is trying to define a generic model that is not specific to
> Canvas, HTML or SVG and then lists how the model could be implemented.
> We've gotten some comments that this feature would be useful in Canvas as
> well so I was wondering if it made sense to add it to the canvas API.
> I can see 2 ways of adding this:
> 1. extend the list of compositing operators (
> http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#compositing)
> with blending. This is what is currently in the draft spec (
> https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html chapter 7)
> 2. create a new attribute on the context called 'globalBlendOperation'
> that takes the same list of blend operations as css (
> https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html#blend-mode)
> Any thoughts?
> Rik Cabanier
> Adobe Systems
Received on Tuesday, 16 July 2013 19:23:55 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:03 UTC