请帮我编码DDA LINE [英] Please help me code DDA LINE

查看:129
本文介绍了请帮我编码DDA LINE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要一个使用C语言的DDA线条绘制算法的代码.您能帮我吗?

解决方案

没有人,我的意思是没有人会为您做作业.这违背了您本应自己做的功课的目的,以便您可以学习.

顺便说一句,互联网上已经有很多关于此问题的示例代码(以防万一,如果您愿意为搜索它们而付出一些努力).


您至少应该尝试过使用Google.您会找到许多解决方案和准备好的代码来为您提供帮助,但您永远找不到100%符合您要求的解决方案.这是一个提供您所需的C代码的链接:
http://i. thiyagaraaj.com/tutorials/computer-graphics-programs-using-c-programming/dda-line-drawing-algorithm-using-c-programming [ 解决方案

Nobody, and I mean nobody, is going to do homework requests for you. That defeats the purpose of the homework you should be doing on your own so that you can learn.

Btw, there are already tons of example code for this problem on internet (just in case if you are willing to do some effort in searching for them).


You should have at least tried to use Google. You will find lots of solutions and prepared code that helps you, but you will never find a solution that matches your requirements 100%. Here is a link that provides C code that does what you need:
http://i.thiyagaraaj.com/tutorials/computer-graphics-programs-using-c-programming/dda-line-drawing-algorithm-using-c-programming[^]


这篇关于请帮我编码DDA LINE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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