GNOME Bugzilla – Bug 612228
[gjs] Add a html.canvas module
Last modified: 2017-04-02 20:55:42 UTC
Now when we have cairo support we should implement the Context2D api of the HTML5 canvas element. It would make it significantly easier to move canvas code from the web to a desktop application.
Created attachment 157543 [details] [review] [html.Canvas] Add a new module html canvas Add a new module in top of cairo which is meant to be API compatible with the DrawingContext2D from the HTML5 canvas element. Includes a html/css color specification parser. This is by no means a complete implementation, but it's enough to run a few small examples.
Nice idea, but it doesn't look like this has attracted too much interest. I'll close it for now, but if there's a compelling use case we can reconsider.