fn collect_shapes_in_fragment<'a>( text: &'a str, base_ctx: &InheritCtx<'a>, id_defs: &BTreeMap<String, &'a str>, grads: &BTreeMap<String, SvgGradient>, use_depth: u32, shapes: &mut Vec<SvgShape>, )