You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently the SVG interpreter relies on replicating SVG strings into elements and parsing them iteratively in a big for loop. This does not give developers the ability to parse individual elements ad hoc. Moving each read function to a static parse method on each object would allow for parsing of entire scenes as well as ad hoc parsing.
Describe the solution you'd like
For all shape primitives to have a parse method that works something like this:
Is your feature request related to a problem? Please describe.
Currently the SVG interpreter relies on replicating SVG strings into elements and parsing them iteratively in a big for loop. This does not give developers the ability to parse individual elements ad hoc. Moving each
read
function to a staticparse
method on each object would allow for parsing of entire scenes as well as ad hoc parsing.Describe the solution you'd like
For all shape primitives to have a
parse
method that works something like this:Additional context
This will improve code portability and make this issue more feasible.
The text was updated successfully, but these errors were encountered: