After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 612228 - [gjs] Add a html.canvas module
[gjs] Add a html.canvas module
Status: RESOLVED WONTFIX
Product: gjs
Classification: Bindings
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gjs-maint
gjs-maint
Depends on:
Blocks:
 
 
Reported: 2010-03-08 19:11 UTC by Johan (not receiving bugmail) Dahlin
Modified: 2017-04-02 20:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[html.Canvas] Add a new module html canvas (14.46 KB, patch)
2010-03-30 23:09 UTC, Johan (not receiving bugmail) Dahlin
none Details | Review

Description Johan (not receiving bugmail) Dahlin 2010-03-08 19:11:12 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.
Comment 1 Johan (not receiving bugmail) Dahlin 2010-03-30 23:09:40 UTC
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.
Comment 2 Philip Chimento 2017-04-02 20:55:42 UTC
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.