#[no_mangle] pub extern "C" fn draw_line(x0: f64, y0: f64, x1: f64, y1: f64)
Uses Bresenham’s algorithm to draw a line.