Line segment rasterization with pixel-perfect clipping.
Rust
1