Get the usable area of round display

Hello, how can I compute the usable area of a rounded display?

If I understand correctly the display on a rounded watch is a rectangle with circular cut(like on the image).

 Is there a way to calculate the offset from the corners so that I would not draw outside of the viewable(green) are? 

Thank you.