Trait cellular_raza_concepts::CreatePlottingRoot

source ·
pub trait CreatePlottingRoot {
    // Required method
    fn create_bitmap_root<'a, T>(
        &self,
        image_size: u32,
        filename: &'a T,
    ) -> Result<DrawingArea<BitMapBackend<'a>, Cartesian2d<RangedCoordf64, RangedCoordf64>>, DrawingError>
       where T: AsRef<Path> + ?Sized;
}
Expand description

Creates a new plotting root which can then be drawn upon.

Required Methods§

source

fn create_bitmap_root<'a, T>( &self, image_size: u32, filename: &'a T, ) -> Result<DrawingArea<BitMapBackend<'a>, Cartesian2d<RangedCoordf64, RangedCoordf64>>, DrawingError>
where T: AsRef<Path> + ?Sized,

Creates a bitmap plotting root.

Object Safety§

This trait is not object safe.

Implementors§