[][src]Trait tessellations::render::Render

pub trait Render {
    fn render_to_image(
        &self,
        figure: &TessellationFigure,
        m: &Transform
    ) -> Option<Box<dyn OutputImage>>;
fn render_plane_to_image(
        &self,
        plane: &TessellationPlane,
        figure: &TessellationFigure,
        m: &Transform
    ) -> Option<Box<dyn OutputImage>>; }

Required methods

fn render_to_image(
    &self,
    figure: &TessellationFigure,
    m: &Transform
) -> Option<Box<dyn OutputImage>>

Render a figure to a image

fn render_plane_to_image(
    &self,
    plane: &TessellationPlane,
    figure: &TessellationFigure,
    m: &Transform
) -> Option<Box<dyn OutputImage>>

Render a figure and tiling on a plane to a image

Loading content...

Implementors

impl Render for Backend[src]

Loading content...