I am using the mid-point circle algorithm (bresenham circle) to efficiently draw whole circles. Is there something similar to draw circle arcs? I would like to specify a start angle and end angle and have only that portion of the circle drawn.
Thanks in advance!
EDIT: I would like to draw filled circle arcs too, i.e pie-slices. :)
Calculate the start and end point of the arc and terminate when this point has been reached. See e.g. http://en.wikipedia.org/wiki/Midpoint_circle_algorithm