Howto:Serializing a Canvas to SVG: Difference between revisions

Jump to navigation Jump to search
Line 36: Line 36:


This is referencing 5 different splash screen textures found in $FG_ROOT/Textures.
This is referencing 5 different splash screen textures found in $FG_ROOT/Textures.
We will be using the patched SVG parser to create the properties under /canvas/texture[x] for us, which we will then try to serialize back to a matching SVG file.


When the patched svg module parses the SVG file, it comes up with a property hierarchy according to this, using props.dump():
When the patched svg module parses the SVG file, it comes up with a property hierarchy according to this, using props.dump():

Navigation menu