pub fn estimate_bbox_for_pin_stub(
left: f32,
right: f32,
side: PinSide,
line_y: f32,
) -> RectExpand description
Hit region for a pin/port stub (the red line): the stub segment, widened to
+/- GRID_SIZE / 3 vertically so it presents an easy click target.
left/right are the shape’s edge x-coordinates; line_y the stub’s y.