Draw Rounded Corner Rectangle or Draw Arc

Is there a method in OpenMV to draw a rectangle with rounded corners, or to draw an arc. I am working on a UI with touch buttons.

It was a todo before I got busy. No plan on adding now. The support for PNGs was for being able to do UI work. I need to add ARGB8888 support.