[][src]Trait iced_graphics::backend::Svg

pub trait Svg {
    fn viewport_dimensions(&self, handle: &Handle) -> (u32, u32);
}

A graphics backend that supports SVG rendering.

Required methods

fn viewport_dimensions(&self, handle: &Handle) -> (u32, u32)

Returns the viewport dimensions of the provided SVG.

Loading content...

Implementors

Loading content...