Draws the rounded corners for the given view.
The view to draw the rounded corners for.
The canvas to draw on.