Function widgetry::tools::screenshot::screenshot_everything [−][src]
pub(crate) fn screenshot_everything<A: SharedAppState>(
state: &mut State<A>,
dir_path: &str,
prerender: &Prerender,
zoom: f64,
dims: ScreenDims,
leaflet_naming: bool
) -> Result<()>
Expand description
Take a screenshot of the entire canvas, tiling it based on the window’s width and height.