Add roundedrect function to add rounded rectangles to PDF

This function will add rounded rectangles to PDF