On 8/19/13 5:25 PM,
gpee...@gmail.com wrote:
> Is it possible to draw on <canvas> element from C++ XPCOM add-on?
Not easily.
Note that the correct behavior of most of the canvas methods is very
JS-specific (e.g. the JS bindings are what handle non-finite float
arguments). There are some methods that might be usable from C++, but
they're not that common.
Please do file bugs on exposing a sane C++ canvas API as needed.
-Boris