Tft draw ellipse etc

I know how to draw an ellipse on to my tft screen with:
tft.fillEllipse(x,y,width,height,colour);

but is there a way of drawing just half of the ellipse (similar looking to a first quarter moon)?

I know if it was a single colour ellipse on another colour background I could draw the ellipse first and then draw a filled rectangle with the background colour over the one half but this is not suitable as I want to have a background graphic and it destroys the graphic.

Yes, just use the draw pixel function, guided by the general equation for the ellipse.

It may be easiest to use polar coordinates. Ellipse - Wikipedia

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.