walkmap.read-svg
Utility functions for scalable vector graphics (SVG) into walkmap structures.
command-string->vertices
(command-string->vertices s)
Return the destination of each successive line (l
, L
) and move (m
, M
) command in this string s
, expected to be an SVG path command string.
path-elt->path
(path-elt->path elt)
Given the SVG path element elt
, return a walkmap path structure representing the line (l
, L
) and move (m
, M
) commands in that path.
progeny
(progeny elt predicate)
Return all the nodes in the XML structure below this elt
which match this predicate
.