efficient algorithm for drawing circle arcs?
Posted
by banister
on Stack Overflow
See other posts from Stack Overflow
or by banister
Published on 2010-06-15T10:51:50Z
Indexed on
2010/06/16
0:32 UTC
Read the original article
Hit count: 420
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. :)
© Stack Overflow or respective owner