文件名称:DrawLine
- 所属分类:
- 对话框与窗口
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2014-12-08
- 文件大小:
- 392kb
- 下载次数:
- 0次
- 提 供 者:
- zhong******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
使用Bresenham算法生成直线.Bresenham算法的基本原理就是将光栅设备的各行各列象素中心连接起来构造一组虚拟网格线。按直线从起点到终点的顺序计算直线与各垂直方向网格线的交点,然后确定该列象素中与此交点最近的象素。-Using the Bresenham algorithm to generate a straight line.The basic principle of Bresenham algorithm is to each row of each column of pixels raster devices connect the central construct a set of virtual grid lines. Straight-line calculation of the intersection with the vertical straight line the starting grid to the end of the sequence, and then determine which column of pixels with this intersection nearest pixel.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
DrawLine\Debug\DrawLine.exe
........\.....\DrawLine.ilk
........\.....\DrawLine.obj
........\.....\DrawLine.pdb
........\.....\DrawLine.res
........\.....\DrawLineDoc.obj
........\.....\DrawLineView.obj
........\.....\MainFrm.obj
........\.....\P.obj
........\.....\P2.obj
........\.....\StdAfx.obj
........\.....\vc60.idb
........\.....\vc60.pdb
........\DrawLine.aps
........\DrawLine.clw
........\DrawLine.cpp
........\DrawLine.dsp
........\DrawLine.dsw
........\DrawLine.h
........\DrawLine.ncb
........\DrawLine.opt
........\DrawLine.plg
........\DrawLine.rc
........\DrawLineDoc.cpp
........\DrawLineDoc.h
........\DrawLineView.cpp
........\DrawLineView.h
........\MainFrm.cpp
........\MainFrm.h
........\P.cpp
........\P.h
........\P2.cpp
........\P2.h
........\ReadMe.txt
........\res\DrawLine.ico
........\...\DrawLine.rc2
........\...\DrawLineDoc.ico
........\...\Toolbar.bmp
........\resource.h
........\StdAfx.cpp
........\StdAfx.h
........\Debug
........\res
DrawLine