列表 第页
是否有改性Bresenham算法,其中,从一个像素到下一个步骤是不允许是对角线,只是水平或垂直?或者有什么其他的算法,这是否? (PHP preferred)右:0 0 0 10 0 1 10 1 1 01 1 0 0错误:0 0 0 10 0 1 00 1 0 01 0 0 0解决方案 应该是一个微不...阅读全文
我想知道是否有人知道任何的算法得出具有特定厚度的线的基础上,布氏线算法或任何类似的。I was wondering if anyone knew of any algorithm to draw a line with specific thickness, based on Bresenham's line alg...阅读全文
我Java实现看起来是这样的:Based on Wikipedia's article on Bresenham's line algorithm I've implemented the simplified version described there, my Java implementation looks...阅读全文