fn parse_paint( raw: Option<&str>, opacity: f32, default_black: bool, grads: &BTreeMap<String, SvgGradient>, ) -> SvgPaint