CPP : Draw more beautiful border and draw it outside the rectangle