Re: Request/proposal a SVG API for the canvas; var ctx = canvas.getcontext("svg");

Hi Emanuel,

On May 24, 2014, at 11:47 PM, Emanuel Allen <emanuelallen@hotmail.com> wrote:

> AND SVG API CANVAS!!! I understand that it would be a process, but for the time being, how about transferring the data into canvas's native data, but still able to manipulate the image with SVG syntax. making it similar to typing the 2d context canvas as well.

It would be a lot easier to understand the proposal if you would add more details. From what I get, you want to use the Canvas API to create SVG documents. I am not sure if the SVG WG really needs to add this functionality. It is fairly easy to make that happen today with a light weighted JS library. There are some things that you might need to do without or are just harder to implement: ImageData related methods and attributes, clearRect and alpha compositing.

Greetings,
Dirk

Received on Sunday, 25 May 2014 06:59:58 UTC