calculate outline rounded icon