How to draw half circle using ofCircle?

Hi, I want to draw only part of a shape.

For example, I want to use ofCircle to draw full circle, and want to draw only part of it.

App::drawCircle() {
ofCircle(100, 100, 50);

App::draw() {
if (y < 50 ) {

I tried ofImage and ofDist to draw part of Circle shape, but Circle made with ofDist wasn’t smooth enough because I could not apply ofCircleResolution to it.

Any Solution?
The solution should also apply to other shapes such as ofRectRounded.

you can use ofPath to draw arc segments, for rect rounded you’ll need to do it manually drawgin the lines and arcs that you need using an ofPath too

That was the last thing I wanted to do but Thanks!