W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2012

[whatwg] Using SVG instead of Canvas for extensions

From: Charles Pritchard <chuck@jumis.com>
Date: Sat, 14 Jan 2012 12:35:42 -0800
Message-ID: <4F11E71E.907@jumis.com>
There have been quite a few threads and requests for extensions to the 
Canvas 2d API.

I've been working on some extensions to help Canvas authors meet WCAG2 
conformance, over at public-canvas-api.

I want to point out to all of you, that many of the features you'd like 
to see in Canvas can be accomplished via drawImage and SVG.
SVG support in the image element is working in many browsers.

There are many methods available in SVG that are not available in 
Canvas. Use SVG images as a means to enable them in your Canvas interface.
It's not a perfect solution, but for some things, like dotted lines, it 
can work out.

Received on Saturday, 14 January 2012 12:35:42 UTC

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