Side Scanline Bounding Box Calculation: 1ms
Drag on the canvas to draw a line and see the bounding box. Written to support this Stack Overflow question