绘制抗锯齿圆的算法? [英] Algorithm for drawing an anti-aliased circle?

查看:763
本文介绍了绘制抗锯齿圆的算法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

绘制抗锯齿圆的一种好的算法是什么? (已填充,但未填充。)

What's a good algorithm for drawing anti-aliased circles? (Filled and not filled.)

推荐答案

(在线算法闻名的)Bresenham也有一个循环算法。

Bresenham (of the line algorithm fame) also had a circle algorithm.

Xiaolin Wu修改了行算法以进行抗锯齿,同样对圆算法做了同样的处理。

Xiaolin Wu adapted the line algorithm for anti-aliasing, and likewise did the same to the circle algorithm.

http://en.wikipedia.org/wiki/Xiaolin_Wu%27s_line_algorithm

您可以在此搜索中找到圆算法:

You can find the circle algorithm with this search:

http://www.google.com/search?q=Xiaolin%20Wu%20circle

-Adam

这篇关于绘制抗锯齿圆的算法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆