Howto:Extend the Canvas SVG module: Difference between revisions

Jump to navigation Jump to search
Line 17: Line 17:
== Objective ==
== Objective ==
Document and demonstrate how the Canvas/Nasal SVG module can be extended to suport additional SVG features, by mapping SVG/XML markup to the corresponding Canvas primitives, such as mapping the <code><image></code> tag to a <code>Canvas.Image</code> to add support for raster images  to the SVG parser.
Document and demonstrate how the Canvas/Nasal SVG module can be extended to suport additional SVG features, by mapping SVG/XML markup to the corresponding Canvas primitives, such as mapping the <code><image></code> tag to a <code>Canvas.Image</code> to add support for raster images  to the SVG parser.
In the mid-term it would also make sense to add support for animation handling, so that such code is encapsulated in the future, which will help us update code if/when native C++ hooks become available to implement animations without any Nasal overhead.


== Background ==
== Background ==

Navigation menu