20,741
edits
Line 16: | Line 16: | ||
For starters we can prototype all of this in scripting space - at some point however, it would make more sense to move this back into C++ by introducing a corresponding <code>virtual void std::stringstream& serialize()</code> methid at the Canvas::Element level and providing a mechanism to allow a Canvas to be serialized (and streamed) asynchronously. | For starters we can prototype all of this in scripting space - at some point however, it would make more sense to move this back into C++ by introducing a corresponding <code>virtual void std::stringstream& serialize()</code> methid at the Canvas::Element level and providing a mechanism to allow a Canvas to be serialized (and streamed) asynchronously. | ||
And in fact, boost has helpers to deal with SVG processing [http://www.boost.org/doc/libs/1_54_0/libs/geometry/doc/html/geometry/reference/io/svg/svg_mapper.html] [http://www.boost.org/doc/libs/1_60_0/libs/geometry/doc/html/geometry/reference/io/svg/svg.html] | |||
== Example == | == Example == |