drawArc with rounded corners

Hi there,

I'm trying to found information about arcs with rounded corners, with no luck :-(

Anybody knows how can I reach something like that (image) in my app? I'm using drawArc function (maybe is not the best?)

Thanks in advance!