fn adjust_corner_for_box_shadow(
    corner: LayoutSize,
    spread_amount: f32
) -> LayoutSize