pub fn icon_rgba(name: &str, size: u32) -> Option<(Arc<Vec<u8>>, u32, u32)>Expand description
Rasterise a theme icon to a premultiplied RGBA8 pixmap.
Combines icon_path (path resolution against the active theme)
with decode_svg_bytes (SVG → RGBA), and caches the result by
(absolute path, size) so a widget redrawn every frame pays the
rasterisation cost only on first access.
Returns None when the icon cannot be located, the file cannot be
read, or the SVG is malformed.