Skip to main content

plot

Function plot 

Source
pub fn plot(canvas: &mut Canvas, x: f64, y: f64, glyph: Glyph, ink: Ink)
Expand description

Plot one glyph at fractional cell coordinates, rounded to the nearest cell (CORE-R32).

Bounds are checked in f64 before casting, so NaN/∞/huge values are ignored rather than saturating into a valid-looking i32 edge cell.