- From: Ashley Gullen <ashley@scirra.com>
- Date: Sat, 28 Jul 2012 21:58:13 +0100
- To: Rik Cabanier <cabanier@gmail.com>
- Cc: "whatwg@whatwg.org" <whatwg@whatwg.org>, David Geary <david.mark.geary@gmail.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, Chris Marrin <cmarrin@apple.com>, Ronald Jett <rjett@level-studios.com>
> > On another note, wouldn't it be nice if you could add a grouping operator > such as this: > > gamecanvascontext.filter = '...'; > gamecanvascontext.beginGroup(); > ... // lots of drawing operators > gamecanvascontext.endGroup(); > > and have everything in that group at endGroup time? > Do you mean applying an effect to multiple draw operations? Usually that is achieved with rendering to an offscreen canvas, then rendering that with the effect. Ashley
Received on Saturday, 28 July 2012 20:58:44 UTC