fast algorithm for drawing filled circles?

前端 未结 10 1162
清歌不尽
清歌不尽 2020-12-02 07:28

I am using Bresenham\'s circle algorithm for fast circle drawing. However, I also want to (at the request of the user) draw a filled circle.

Is there a fast and effi

10条回答
  •  悲&欢浪女
    2020-12-02 08:03

    If you want a fast algorithm, consider drawing a polygon with N sides, the higher is N, the more precise will be the circle.

提交回复
热议问题