fn compute_half_dash(side_width: f32, total_size: f32) -> (f32, u32)