Welcome![Sign In][Sign Up]
Location:
Search - bresenham M

Search list

[GUI Developtuxingxianshi

Description: MFC下动态的显示图形的画法,主要用了 Bresenham算法来画出三角型和圆,程序中还用了Sleep()函数来实现延时。-MFC dynamic display pictures of paint, the main Bresenham algorithm to paint a triangular and round, procedures also spent Sleep () function to achieve latency.
Platform: | Size: 40960 | Author: 孙韩 | Hits:

[Graph programBresenham

Description: 用Bresenham算法画直线 1) 将像素网格表现出来,建立网格坐标系 2) 用橡皮筋的形式输入参数 3) 鼠标移动时,显示鼠标当前位置 4) 显示判别式的计算过程和下一点的选择策略 -Bresenham How to determine which pixel to choose: Pd or Pu – Choose Pd if segment passes below middle point M – Choose Pu if segment passes above M • How to express “segment passes above M”?
Platform: | Size: 1024 | Author: 许芳娟 | Hits:

CodeBus www.codebus.net