Function n18ui::canvas::ink_extents_with_hex[][src]

pub fn ink_extents_with_hex(
    state: &State,
    assets: &mut Assets,
    hex_d: f64
) -> (f64, f64, f64, f64)
Expand description

Returns the ink bounding box (x0, y0, width, height) for the provided state, for the specified maximal hex diameter hex_d.