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

[whatwg] Adding SVG Filter-like functionality to Canvas 2D Context

From: Robert O'Callahan <robert@ocallahan.org>
Date: Tue, 7 Jul 2009 11:47:56 +1200
Message-ID: <11e306600907061647j2d6d115ft618f6e2acc9e65cb@mail.gmail.com>
On Tue, Jul 7, 2009 at 11:37 AM, Hans Schmucker <hansschmucker at gmail.com>wrote:

> I should really add one point. The Canvas spec, above all, is
> predictable. You pretty much know exactly what you'll get when you
> perform certain actions.


Like arcTo?


> Relying directly on SVG filters makes things
> harder to understand and predict. A flat, stripped-down API


APIs don't remain stripped-down for long.

If you directly include SVG, a developer who wants to use it has to
> understand all of SVG,


That is completely untrue.


> which is a pretty big spec, with lots of
> unexpected behaviour. And as a result, often incorrect behaviour in
> implementations.
>

Yet you're asking us to duplicate code, which inevitably leads to even more
bugs.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090707/98e79675/attachment-0001.htm>
Received on Monday, 6 July 2009 16:47:56 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:14 UTC