Svg.resources: def of gralha-svg-render@0.1.0.1 Import: import gralha-svg-render@0.1.0.1/svg.bend as Svg Lines 2026-2032 of gralha-svg-render@0.1.0.1/svg.bend: https://jend.leeeet.dev/read.txt?path=gralha-svg-render@0.1.0.1/svg.bend&start_line=2026&end_line=2032 import Base import gralha-xml-doc@0.1.0.1/xml.bend as XML # Referenced elements (gradients, patterns, markers, clip paths, masks, # filters) get their inherited properties on demand: the raw tree is kept # under a root element whose attributes are the root svg's, and a lookup # by id resolves the properties down the ancestor chain of the element it # finds. Nothing is resolved for the elements a document never references. def resources(xs: List<&2, XML.Element>, +root: List<&2, XML.Attr>) -> List<&2, XML.Element>: Con{XML.Element{"#root", root, xs, ""}, Nil{}} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=gralha-xml-doc@0.1.0.1/xml.bend&name=Attr https://jend.leeeet.dev/definition.txt?path=gralha-xml-doc@0.1.0.1/xml.bend&name=Element